Commit Graph

17 Commits

Author SHA1 Message Date
Nathan Braswell
6a75832b59 Added trivial standard library and search paths. 2014-05-01 01:18:01 -04:00
Nathan Braswell
dbf1820428 Can import other files now. (in same directory, use filename without .krak file extention) Right now, still need to compile both files with kraken. 2013-12-31 23:43:49 -06:00
Nathan Braswell
98b899b8a9 Added rough but working scoping. 2013-12-27 13:05:07 -06:00
Nathan Braswell
15674fec2a Added Type class, bettered types a bit, made address of and dereference operators work. 2013-12-23 01:26:24 -06:00
Nathan Braswell
77f2b0a3e5 Lot's of work on a CGenerator, AST and language improvements 2013-11-01 02:52:18 -04:00
Nathan Braswell
b9ffe33d0b Made Symbol always stack, not heap, allocated. Finally fixed bugs with ASTTransformation. 2013-10-02 03:15:20 -04:00
Nathan Braswell
9887555dd5 Have almost got the RNGLR recognizer. Something is wrong with the GSS, I think when it's built. It seems to sometimes have parents as children, or something. 2013-07-31 23:51:05 -04:00
Nathan Braswell
3fba45591b Changed Parser to be a virtual base class, inherited by LALRParser 2013-07-30 01:42:51 -04:00
Nathan Braswell
6d7b38a03b More work towards RNGLR. First, NodeTree is now a template. Second, I've started writing the actual GLR parser and GSS and other things, but am still in the first write process. 2013-07-28 19:45:08 -04:00
Nathan Braswell
726ead0455 Pull out table to it's own Table class in prep for adding RNGLR algorithm. 2013-07-16 11:15:58 -04:00
Nathan Braswell
94a7739bd9 Added structure for Regular Expressions, saving work as a backup because of software upgrade. 2013-07-01 22:45:33 -04:00
Nathan Braswell
0c651a5d9e Added EOF symbol, making the getTable() saner for ACCEPT and lookahead support in ParseRule 2013-06-13 14:25:10 -04:00
Nathan Braswell
949dbc532a Fixed lots of bugs, added much more sane and efficient ParseAction table instead of recalculating every time. Fixed lots of bugs and inefficencies. Some temporary hacks in the table, mostly having to do with not having an EOF Symbol yet. 2013-06-04 19:50:16 -04:00
Nathan Braswell
315dc55409 Modifed set creation to use a State object. Set creation works 2013-05-26 22:12:47 -04:00
Nathan Braswell
e4f83cbb67 Added main loop of parser. 2013-05-23 01:35:54 -04:00
Nathan Braswell
d2698cf203 Implemented grammer loading 2013-05-20 19:34:15 -04:00
Nathan Braswell
46d59ac595 First work on Kraken! Basic node tree system re-written from WTS-Language, can output .gv files of the node tree. 2013-05-11 16:13:46 -04:00