Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

yacc(1) [osx man page]

YACC(1) 						    BSD General Commands Manual 						   YACC(1)

NAME
yacc -- parser generator DESCRIPTION
On Darwin, yacc is a wrapper for bison(1), equivalent to bison -y. SEE ALSO
bison(1) Darwin May 8, 2005 Darwin

Check Out this Related Man Page

LEMON(1)						    BSD General Commands Manual 						  LEMON(1)

NAME
lemon -- The Lemon Parser Generator SYNOPSIS
lemon [-bcgmqsx] input DESCRIPTION
lemon is an LALR(1) parser generator for C or C++. It does the same job as bison and yacc. But lemon is not another bison or yacc clone. It uses a different grammar syntax which is designed to reduce the number of coding errors. lemon also uses a more sophisticated parsing engine that is faster than yacc and bison and which is both reentrant and thread-safe. Furthermore, lemon 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 con- trollers. lemon 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 lemon parser generator. AUTHOR
lemon has been written by D. Richard Hipp <drh@hwaci.com>. This manual page was written by Guus Sliepen <guus@debian.org> for the Debian GNU/Linux system. Debian GNU/Linux June 1, 2019 Debian GNU/Linux
Man Page

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Directoryaccess logging?

Is there any way in Unix-Solaris8 to get information about who´s been accessing my home directory at school? (3 Replies)
Discussion started by: parahman
3 Replies

2. Shell Programming and Scripting

How to match n number of newline character(\n) in lex and yacc

(0 Replies)
Discussion started by: vishwa787
0 Replies

3. Programming

How to match n number of newline character(\n) in lex and yacc

Hi , I need to develop a parser which should match something like 1. text a=5 " a=20"; 2. text a=..." a=20"; 3 text a=..." a=20 b=34 c=12 "; I have used this regular expression in my Lex file to generate the tokens: \".\s*.*\s.\" (8 Replies)
Discussion started by: vishwa787
8 Replies

4. Programming

actions before parsing rules in lex n yacc

Hi , We have developed a grammer for our domain language using lex n yacc. I want to know is there any pre defined lex-yacc function which gets call before executing any rule (or rules). Oue requirement is, before processing any rule ,we want to perform some specific actions ? is there... (0 Replies)
Discussion started by: supritjain
0 Replies

5. Programming

parsing fixed length field with yacc/bison

How to specify the token length in a yacc file? sample input format <field1,data type ans,fixed length 6> followed by <field2,data type ans,fixed length 3> Example i/p and o/p Sample Input: "ab* d2 9o" O/p : "Field1 Field2 " yacc/bison grammar: record :... (1 Reply)
Discussion started by: sungita
1 Replies

6. Programming

Problem with Yacc

Hi guys, I'm struggling with a simple but at the same time complicated problem related to yacc :wall: Maybe someone can help me with this :confused: I'm working on a big project and it's hard for me to show the problem exactly on my code, but I will give a model of it. Before I had this kind... (2 Replies)
Discussion started by: sisi
2 Replies

7. Programming

Yacc rogram

hello, actually i want to generate rgram in yacc able to do do several operations separated by ';' and after show all the results separated by ';' again. My code do just one operations and i couldn' t find solution to do several ones separated by ';'. I thought may be i can do a do... while but i... (0 Replies)
Discussion started by: zolafencer
0 Replies