Poster of Linux kernelThe best gift for a Linux geek
LEMON

LEMON

Section: User Commands (1)
Local index Up

BSD mandoc
Debian GNU/Linux  

NAME

lemon - The Lemon Parser Generator  

SYNOPSIS

[-bcgmqsx ] input  

DESCRIPTION

is an LALR(1) parser generator for C or C++. It does the same job as bison and yacc. But is not another bison or yacc clone. It uses a different grammar syntax which is designed to reduce the number of coding errors. also uses a more sophisticated parsing engine that is faster than yacc and bison and which is both reentrant and thread-safe. Furthermore, implements features that can be used to eliminate resource leaks, making is suitable for use in long-running programs such as graphical user interfaces or embedded controllers.

will read the grammer from input and write out a parser for that grammar in the C language.  

OPTIONS

-b
Print only the basis in report.
-c
Don't compress the action table.
-g
Print grammar without actions.
-m
Output a makeheaders compatible file.
-q
(Quiet) Don't print the report file.
-s
Print parser stats to standard output.
-x
Print the version number.

 

FILES

/usr/share/lemon/lempar.c
Driver template for the parser generator.

 

AUTHOR

has been written by An D. Richard Hipp Aq drh@hwaci.com .

This manual page was written by An Guus Sliepen Aq guus@debian.org for the Debian GNU/Linux system.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
FILES
AUTHOR

This document was created by man2html, using the manual pages.
Time: 21:14:32 GMT, April 16, 2011