Skip to content

YiChenChai/CFG-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Context Free Grammar Engine

This tool is a C++ library that can create a recursive-descent parser based on CFG syntax. It was made for fun after reading the book Object-Oriented Programming in C++ by Robert Lafore and subsequently getting exposed to compiler concepts in the Dragon book.

Disclaimer: This was written as a practice and should not be used in any serious applications.

Getting Started

g++ CFG.cpp yourfile.cpp -o yourbinary

Prerequisites

No additional dependencies other that what C++ has to offer. A tool to render graphviz is needed to show the parse tree.

Authors

  • Chai Yi Chen - Author

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

About

Primitive context free grammar engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages