aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* some code simplificiationsMattias Andrée2014-11-237-216/+93
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whitespaceMattias Andrée2014-11-231-1/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* Starting on some reworkMattias Andrée2014-11-228-73/+381
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m work on smplificationMattias Andrée2014-11-213-22/+106
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whitespaceMattias Andrée2014-11-191-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* missed a few macrosMattias Andrée2014-11-191-0/+23
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* preparation for tree simplificationMattias Andrée2014-11-194-46/+279
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2014-11-192-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-11-181-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: support alternations and dots in macro_callsMattias Andrée2014-11-171-35/+28
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whitespaceMattias Andrée2014-11-171-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* remove dubug lineMattias Andrée2014-11-171-1/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* missed if statementMattias Andrée2014-11-171-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix macro call regressionMattias Andrée2014-11-172-1/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whitespaceMattias Andrée2014-11-171-60/+60
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* docMattias Andrée2014-11-171-0/+14
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* macro stuffMattias Andrée2014-11-171-207/+150
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* macrosationMattias Andrée2014-11-171-42/+32
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whoops with escapesMattias Andrée2014-11-171-3/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-11-171-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whitespaceMattias Andrée2014-11-171-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: treeise macro callsMattias Andrée2014-11-172-39/+114
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-11-171-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: fix treeisation of map statementsMattias Andrée2014-11-171-6/+24
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: fix treeisation of let-statementsMattias Andrée2014-11-171-24/+42
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: fix treeisation of if-statementsMattias Andrée2014-11-171-8/+23
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* small fixes and a bunch of testsMattias Andrée2014-11-174-21/+41
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-11-162-1/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* print parsed tree, of course there are some errors...Mattias Andrée2014-11-164-6/+322
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: fix stack bug when parsing mapping statementsMattias Andrée2014-11-161-1/+25
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: working on transing mapping statements into treesMattias Andrée2014-11-161-3/+135
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: do not mark runaway } as invalid, but rather runawayMattias Andrée2014-11-161-0/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: annotate tree with source code locations and report where unpopped scopes were pushedMattias Andrée2014-11-162-15/+31
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-11-161-2/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: fix array elements: allow functionsMattias Andrée2014-11-161-9/+15
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: fix let without arrayMattias Andrée2014-11-161-0/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: support arraysMattias Andrée2014-11-161-7/+55
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* check that the parsing stack is empty when the end of a file has been reachedMattias Andrée2014-11-132-6/+23
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* parse let statement, however not arrays yetMattias Andrée2014-11-131-3/+31
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-11-131-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add todoMattias Andrée2014-11-111-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: have + memory leak on destruction of haveMattias Andrée2014-11-112-2/+73
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* CHARS_END => ENDMattias Andrée2014-11-111-7/+7
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-11-111-2/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: forMattias Andrée2014-11-111-4/+58
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: if, else if and elseMattias Andrée2014-11-111-3/+48
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* docMattias Andrée2014-11-101-2/+89
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whitespaceMattias Andrée2014-11-101-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: more parsing into a treeMattias Andrée2014-11-103-25/+100
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: more work on the treeificationMattias Andrée2014-11-101-29/+172
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>