X Tutup
The Wayback Machine - https://web.archive.org/web/20200927143953/https://github.com/coditva/Yaccing
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Learning Yacc/Bison

Stop yacking, start yaccing!

This is an example parser for BibTeX, made for the Compilers Construction course at BITS Goa. An accompanying blog post can be found here

What is what

parse.y         : define the grammar
lex.l           : token definitions
types.h         : datatypes for the parser
util.c/util.h   : utility functions
y.tab.c/y.tab.h : yacc generated grammar parser
lex.yy.c        : lex generated token parser

How to

$ make
$ ./bibtex_parser < testcases.txt
$ # or
$ make test

Author

Utkarsh Maheshwari

About

Stop yacking, start yaccing with parser generators!

Topics

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.
X Tutup