https://github.com/megaing/simple-language-example
A simple showcase on how to create a simple math language in python with lark
https://github.com/megaing/simple-language-example
Last synced: 10 months ago
JSON representation
A simple showcase on how to create a simple math language in python with lark
- Host: GitHub
- URL: https://github.com/megaing/simple-language-example
- Owner: MegaIng
- Created: 2019-01-11T13:28:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-25T06:35:44.000Z (almost 7 years ago)
- Last Synced: 2025-04-11T19:13:49.791Z (about 1 year ago)
- Language: Python
- Size: 9.77 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# simple-language-example
A simple showcase on how to create a simple math language in python with lark
Divided in 4 Steps:
1. Basic parsing, first grammar definition
2. AST-generation and AST-executor
3. Advanced Features: builtin-function calls and builtin-constant lookup
4. Advanced Features: function and variable definitions