Commit Graph

19 Commits

Author SHA1 Message Date
kr.angelov
aed7cc429a libpgf: simplify the loading of PgfCncCat 2012-02-17 14:26:08 +00:00
kr.angelov
4f8ad8c23f libpgf: added printer.c 2012-02-17 14:11:29 +00:00
kr.angelov
6f0795d8a3 libpgf: switch to using callbacks and lazy prediction in the parser. this reduce the parsing time from 11 sec down to 3 sec. 2012-01-26 12:32:26 +00:00
kr.angelov
a2414bc625 libpgf: use a temporal pool for allocating the arrays in the continuation map of the parser 2012-01-26 09:03:08 +00:00
kr.angelov
8256750599 libpgf: fix a warning in reader.c 2012-01-26 08:58:23 +00:00
kr.angelov
ecb5e9f23a libpgf: fix in string.h 2012-01-26 08:58:03 +00:00
kr.angelov
58de345f99 libpgf: few fixes to make the loading of grammars with def rules possible 2012-01-24 14:47:11 +00:00
kr.angelov
acc4f352af libpgf: extra_ccat is now redundant and was removed 2012-01-23 19:47:08 +00:00
kr.angelov
4f289698f0 libpgf: forgot to add utils/pgf-print.c 2012-01-23 16:34:02 +00:00
kr.angelov
1af48d34ec pgf-translate: add \n at the end of two error messages 2012-01-23 15:51:37 +00:00
kr.angelov
5ccd75c8b9 libpgf: debugging framework for the parser 2012-01-23 15:49:29 +00:00
kr.angelov
fcd2c2905e libpgf: the concrete categories were allocated from the temporary pool 2012-01-23 13:43:17 +00:00
kr.angelov
4e4881dba5 libpgf: printing of literals and flags 2012-01-23 10:17:20 +00:00
kr.angelov
7fcaa81858 libpgf: move the lindefs field from PgfCncCat to PgfCCat. display the list in the grammar printout 2012-01-23 09:46:45 +00:00
kr.angelov
28bce1cdc0 added an API for printing the PGF to human readable format 2012-01-21 10:27:55 +00:00
kr.angelov
d164ddfbe1 fix the crash in the reader when there aren't any productions per category. 2012-01-21 10:25:43 +00:00
kr.angelov
2eee382a62 initial import of the C runtime 2012-01-20 13:41:10 +00:00
krasimir
c760c52223 grammar loader and unloader in C. Abstract Syntax only! 2010-06-16 15:14:34 +00:00
krasimir
f85232947e reorganize the directories under src, and rescue the JavaScript interpreter from deprecated 2009-12-13 18:50:29 +00:00