aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc/make-tree.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mds-kbdc: add support for empty filesMattias Andrée2014-11-301-0/+8
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: check that there is something after the :Mattias Andrée2014-11-291-2/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add a minor todoMattias Andrée2014-11-281-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add a todoMattias Andrée2014-11-281-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + macro call alternation eliminationMattias Andrée2014-11-281-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* some code simplificiationsMattias Andrée2014-11-231-73/+25
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* Starting on some reworkMattias Andrée2014-11-221-20/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2014-11-191-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>
* fix macro call regressionMattias Andrée2014-11-171-1/+5
| | | | 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-171-38/+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-171-17/+33
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-11-161-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* print parsed tree, of course there are some errors...Mattias Andrée2014-11-161-5/+59
| | | | 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-161-13/+21
| | | | 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-131-2/+14
| | | | 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>
* 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-111-1/+72
| | | | 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>
* mds-kbdc: more parsing into a treeMattias Andrée2014-11-101-24/+85
| | | | 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>
* mds-kbdc: better macro namesMattias Andrée2014-11-101-9/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: add support for return, continue and breakMattias Andrée2014-11-101-34/+53
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: add support for assumptionMattias Andrée2014-11-101-1/+18
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: small fixes to end, add support for information, and create tree strakMattias Andrée2014-11-101-5/+30
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>