aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* mds-kbdc: better macro namesMattias Andrée2014-11-101-9/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* memory leakMattias Andrée2014-11-102-1/+8
| | | | 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>
* mds-kbdc: handle end statementMattias Andrée2014-11-102-43/+75
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* working on tree parsingMattias Andrée2014-11-097-143/+521
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whitespaceMattias Andrée2014-11-091-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* support nested quotesMattias Andrée2014-11-091-11/+92
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add initialise and create for the tree structureMattias Andrée2014-11-092-1/+47
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: tree: m fixes + destroy and free functionsMattias Andrée2014-11-092-51/+277
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add tree structure I missedMattias Andrée2014-11-081-1/+78
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* docMattias Andrée2014-11-081-37/+364
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add todoMattias Andrée2014-11-081-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* definitions for the syntax treeMattias Andrée2014-11-081-0/+246
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-11-081-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* beginning on lexal parsingMattias Andrée2014-11-081-0/+74
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whoopsMattias Andrée2014-11-081-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + buf fix: wrong element size on mallocMattias Andrée2014-11-081-4/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>