An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

### YACC & LEX.

[![Build Status](https://travis-ci.org/SpawnTree/Yacc-Lex-Parser.svg?branch=master)](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
```