aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server/slavery.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-11-17mds-kbdc: treeise macro callsMattias Andrée3-39/+141
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-17mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-17mds-kbdc: fix treeisation of map statementsMattias Andrée2-6/+136
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-17mds-kbdc: fix treeisation of let-statementsMattias Andrée4-24/+109
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-17mds-kbdc: fix treeisation of if-statementsMattias Andrée6-8/+179
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-17small fixes and a bunch of testsMattias Andrée20-21/+328
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-16mMattias Andrée2-1/+3
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-16print parsed tree, of course there are some errors...Mattias Andrée4-6/+322
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-16mds-kbdc: fix stack bug when parsing mapping statementsMattias Andrée1-1/+25
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-16mds-kbdc: working on transing mapping statements into treesMattias Andrée1-3/+135
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-16mds-kbdc: do not mark runaway } as invalid, but rather runawayMattias Andrée1-0/+4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-16mds-kbdc: annotate tree with source code locations and report where unpopped scopes were pushedMattias Andrée2-15/+31
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-16mMattias Andrée1-2/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-16mds-kbdc: fix array elements: allow functionsMattias Andrée1-9/+15
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-16mds-kbdc: fix let without arrayMattias Andrée1-0/+3
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-16mds-kbdc: support arraysMattias Andrée1-7/+55
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-13check that the parsing stack is empty when the end of a file has been reachedMattias Andrée2-6/+23
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-13parse let statement, however not arrays yetMattias Andrée1-3/+31
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-13mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-11add todoMattias Andrée1-0/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-11mds-kbdc: have + memory leak on destruction of haveMattias Andrée2-2/+73
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-11CHARS_END => ENDMattias Andrée1-7/+7
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-11mMattias Andrée1-2/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-11mds-kbdc: forMattias Andrée1-4/+58
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-11mds-kbdc: if, else if and elseMattias Andrée1-3/+48
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-10docMattias Andrée1-2/+89
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-10whitespaceMattias Andrée1-0/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-10mds-kbdc: more parsing into a treeMattias Andrée3-25/+100
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-10mds-kbdc: more work on the treeificationMattias Andrée1-29/+172
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-10mds-kbdc: better macro namesMattias Andrée1-9/+9
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-10memory leakMattias Andrée2-1/+8
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-10mds-kbdc: add support for return, continue and breakMattias Andrée1-34/+53
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-10mds-kbdc: add support for assumptionMattias Andrée1-1/+18
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-10mds-kbdc: small fixes to end, add support for information, and create tree strakMattias Andrée1-5/+30
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-10mds-kbdc: handle end statementMattias Andrée2-43/+75
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-09working on tree parsingMattias Andrée8-144/+523
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-09whitespaceMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-09support nested quotesMattias Andrée1-11/+92
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-09add initialise and create for the tree structureMattias Andrée2-1/+47
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-09mds-kbdc: tree: m fixes + destroy and free functionsMattias Andrée2-51/+277
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-08add tree structure I missedMattias Andrée1-1/+78
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-08docMattias Andrée1-37/+364
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-08add todoMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-08definitions for the syntax treeMattias Andrée2-1/+247
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-08mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-08beginning on lexal parsingMattias Andrée1-0/+74
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-08whoopsMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-08m + buf fix: wrong element size on mallocMattias Andrée1-4/+5
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-08mMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-08fix typosMattias Andrée1-7/+7
Signed-off-by: Mattias Andrée <maandree@operamail.com>