https://github.com/sachuverma/flexyacc-programs
https://github.com/sachuverma/flexyacc-programs
flex lex yacc
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sachuverma/flexyacc-programs
- Owner: sachuverma
- Created: 2020-10-10T13:15:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-03T07:28:57.000Z (about 5 years ago)
- Last Synced: 2024-12-31T10:33:01.832Z (about 1 year ago)
- Topics: flex, lex, yacc
- Language: C
- Homepage:
- Size: 34.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flex & Yacc Programs
### How to setup
> - download [flex](./setups/flex-2.5.4a-1.exe) & [bison](./setups/bison-2.4.1-setup.exe) setups from [GnuWin Packages](http://gnuwin32.sourceforge.net/packages.html)
> - install both at `C:/GnuWin32`
> - then goto `This PC > Properties > Advanced System Settings > Environment Variables > Path Variabes `, add the path `C:\GnuWin32\bin`
### How to run
- `Flex Programs`
> - flex **filename.l**
> - gcc **lex.yy.c**
> - **a.exe**
- `Flex & Yacc Programs`
> - flex **filename.l**
> - bison -dy **filename.y**
> - gcc **lex.yy.c** *y.tab.c*
> - **a.exe**