dparser
dparser copied to clipboard
A Scannerless GLR parser/parser generater.
For very long parsing blocks, the speed of dparser is long; See: https://github.com/nlmixrdevelopment/RxODE/issues/61#issuecomment-456632859 The slowest function is here: https://github.com/jplevyak/dparser/blob/98ae9ccd251c36c61a5ff2651e5c7ee1d0057ed3/parse.c#L854-L897 Which uses `qsort` https://github.com/jplevyak/dparser/blob/98ae9ccd251c36c61a5ff2651e5c7ee1d0057ed3/parse.c#L864 In theory `C++`'s `std::sort` is [250% to...
I ran the tests with `MAKE=make ./parser_tests` and got this: ``` 17c17 < :161: syntax error after 'RightButton) ) { --- > :161: syntax error after 'LeftButton || button ==...
* Get rid of a large list of includes in file d.h, and add only the needed H files in each C file. * Remove unused functions and defines. *...
I just tried installing dparser 1.31 under Python 3.7.6 and Swig 3.0.8 and ran into this error when running `make test` in the `python` directory: ``` running test tests/test2.py Traceback...
Hi! The current tarball contains two extraneous entries, which are in addition wrong. ``` $ wget https://freefr.dl.sourceforge.net/dparser/d-1.30-src.tar.gz --2019-01-08 06:45:03-- https://freefr.dl.sourceforge.net/dparser/d-1.30-src.tar.gz Résolution de freefr.dl.sourceforge.net (freefr.dl.sourceforge.net)… 88.191.250.136, 2a01:e0d:1:8:58bf:fa88::1 Connexion à freefr.dl.sourceforge.net (freefr.dl.sourceforge.net)|88.191.250.136|:443…...
how can i obtain a tokens matched string as it is difficult to do so, for example ``` { #include typedef struct My_Sym { int value; } My_Sym; #define D_UserSym...
will there every be support for stdin and piece input (eg via input from external lexer) via `dparse()` , eg ``` "int" "a" ";" NULL "int a;" ```
Could you post or provide detailed instructions on how to build DParser in Visual Studio?
Hi, and thanks for an *unbelieveably* nifty bit of tooling. I've got a Visual Studio project file that builds dparser as a standalone Windows .exe file, along with a .lib...
I've been trying to track down why I keep having issues with code building and passing sometimes, and then failing completely **when I haven't modified the code.** I finally added...