|
84734 packages online
|
|
|
|
dev/gg/lemon-morphos.lha |
|
No screenshot available
|
|
The Lemon program is an LALR(1) parser generator. It takes a context free
grammar and converts it into a subroutine that will parse a file using that
grammar.
Lemon is similar to the much more famous programs "YACC" and "BISON". But
lemon is not compatible with either yacc or bison. There are several
important differences:
* Lemon using a different grammar syntax which is less prone to programming
errors.
* The parser generated by Lemon is both re-entrant and thread-safe.
* Lemon includes the concept of a non-terminal destructor, which makes it much
easier to write a parser that does not leak memory.
The complete source code to the lemon parser generator is contained in two files.
The file lemon.c is the parser generator program itself. A separate file lempar.c
is the template for the parser subroutine that lemon generates. Documentation on
lemon is also available.
Both the source code to lemon itself and the code that lemon generates are in
the public domain.
http://www.hwaci.com/sw/lemon/
|
Contents of dev/gg/lemon-morphos.lha
PERMSSN UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 4524 4648 97.3% -lh5- 100c Dec 17 02:00 lemon.info
[generic] 33376 81784 40.8% -lh5- 4699 Dec 17 01:52 lemon/lemon
[generic] 647 1229 52.6% -lh5- 09a7 Dec 17 01:57 lemon/lemon-morphos.readme
[generic] 5801 5900 98.3% -lh5- 32c6 Dec 17 02:00 lemon/lemon-morphos.readme.info
[generic] 37309 142638 26.2% -lh5- 4708 Dec 17 01:48 lemon/lemon.c
[generic] 11252 33449 33.6% -lh5- eec3 Dec 17 01:48 lemon/lemon.html
[generic] 5801 5900 98.3% -lh5- 32c6 Dec 17 02:01 lemon/lemon.html.info
[generic] 7847 26655 29.4% -lh5- 3c7b Dec 17 01:48 lemon/lempar.c
[generic] 382 715 53.4% -lh5- 7725 Dec 17 01:51 lemon/makefile
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 9 files 106939 302918 35.3% Dec 16 21:16
|
|
|
|
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminetaminet net> |