diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2011-11-18 12:34:39 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2011-11-18 12:34:39 +0000 |
commit | aa9c4fdb375372ad7a92517eb000a7cc1ee21f5e (patch) | |
tree | 7c9bfc67d0ecb3463359df2ae985639c830aa0e6 /devel | |
parent | f04dfd8bde4774c2d11e904eddbdd23f48a40418 (diff) |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/lemon/pkg-descr | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/devel/lemon/pkg-descr b/devel/lemon/pkg-descr index 4025df838fec..e37d1b2d5845 100644 --- a/devel/lemon/pkg-descr +++ b/devel/lemon/pkg-descr @@ -1,21 +1,19 @@ -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. +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 is similar to much more famous programs Yacc and Bison. But lemon is +not compatible with either of them; there are several important differences: - . Lemon using a different grammar syntax which is less prone to - programming errors. + - Lemon using a different grammar syntax which is less prone to + programming errors - . Lemon generates a parser that is faster than Yacc or Bison - parsers (according to the author). + - Lemon generates a parser that is faster than Yacc or Bison parsers + (according to the author) - . The parser generated by Lemon is both re-entrant and thread-safe. + - 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. + - Lemon includes the concept of a non-terminal destructor, which makes + it much easier to write a parser that does not leak memory WWW: http://www.hwaci.com/sw/lemon/ |