https://github.com/mmqnym/arithmetic-parser
A simple arithmetic parser using bison & flex
https://github.com/mmqnym/arithmetic-parser
bison-flex
Last synced: over 1 year ago
JSON representation
A simple arithmetic parser using bison & flex
- Host: GitHub
- URL: https://github.com/mmqnym/arithmetic-parser
- Owner: mmqnym
- License: mit
- Created: 2022-12-29T20:00:36.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-29T20:34:53.000Z (over 3 years ago)
- Last Synced: 2025-03-08T21:41:14.379Z (over 1 year ago)
- Topics: bison-flex
- Language: C
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Set up
```sh
sudo apt update
sudo apt install flex
sudo apt install bison
```
If your dev environment doesn't have gcc, you will need to install it as well.
# Excute
```sh
bison -d parser.y
flex parser.l
gcc lex.yy.c parser.tab.c
./a.out
```
# LICENSE
[MIT](./LICENSE.md)