learning-compilers
learning-compilers
expression → equality ;
equality → comparison ( ( "!=" | "==" ) comparison )* ;
comparison → term ( ( ">" | ">=" | "<" | "<=" ) term )* ;
term → factor ( ( "-" | "+" ) factor )* ;
factor → unary ( ( "/" | "*" ) unary )* ;
unary → ( "!" | "-" ) unary
| primary ;
primary → NUMBER | STRING | "true" | "false" | "nil"
| "(" expression ")" ;
Installation
TODO: Write installation instructions here
Usage
TODO: Write usage instructions here
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/your-github-user/learning-compilers/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Augustinas - creator and maintainer
Repository
learning-compilers
Owner
Statistic
- 1
- 0
- 0
- 0
- 0
- about 3 years ago
- August 10, 2021
License
MIT License
Links
Synced at
Wed, 06 Nov 2024 21:56:37 GMT
Languages