https://github.com/codersguild/yacc-lex-parser
YACC & LEX based simple calculator application. Runs on C++. Context Free Grammar used in parser and Finite State Automaton as Regular Expression in flex used.
https://github.com/codersguild/yacc-lex-parser
Last synced: 4 months ago
JSON representation
YACC & LEX based simple calculator application. Runs on C++. Context Free Grammar used in parser and Finite State Automaton as Regular Expression in flex used.
- Host: GitHub
- URL: https://github.com/codersguild/yacc-lex-parser
- Owner: codersguild
- License: mit
- Created: 2018-08-24T08:43:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-07T14:12:23.000Z (almost 6 years ago)
- Last Synced: 2024-12-28T01:29:25.182Z (12 months ago)
- Language: Yacc
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### YACC & LEX.
[](https://travis-ci.org/SpawnTree/Yacc-Lex-Parser)
```YACC``` & ```LEX``` based simple calculator application. Runs on C++. ```Context Free Grammar``` used in parser and ```Finite State Automaton``` as ```Regular Expression``` used.
Learn ```Compiler Design``` by coding.
## Install & Run.
Linux : (Make sure ```cmake``` is installed),
```bash
$ sudo cmake makefile
$ sudo ./simple_cfg
```
Windows : (Make sure ```nmake``` is on ```env``` path and ```cmake``` is installed),
```bash
> nmake
> cls && simple_cfg.exe
```