aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc/make-tree.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mds-kbdc: make-tree: simplificationMattias Andrée2014-12-031-67/+61
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: simplification + remove debug codeMattias Andrée2014-12-031-35/+27
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: use absolute and relative pathsMattias Andrée2014-12-021-17/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: files with syntax errors are not emptyMattias Andrée2014-12-021-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: expand tabsMattias Andrée2014-12-021-2/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-12-021-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2014-12-021-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: more simplificationMattias Andrée2014-12-021-274/+307
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: small simplifications to make-treeMattias Andrée2014-12-021-54/+104
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: split out some code in make-treeMattias Andrée2014-12-021-53/+140
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: most of the structure validationMattias Andrée2014-12-011-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: process includesMattias Andrée2014-11-301-1/+28
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* 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>