https://github.com/maskray/hython
A little language with Python-like grammer
https://github.com/maskray/hython
Last synced: 12 months ago
JSON representation
A little language with Python-like grammer
- Host: GitHub
- URL: https://github.com/maskray/hython
- Owner: MaskRay
- Created: 2012-05-01T15:43:51.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-05-02T15:16:59.000Z (almost 14 years ago)
- Last Synced: 2025-01-29T02:27:16.653Z (about 1 year ago)
- Language: Haskell
- Size: 113 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hython
A little language with Python-like grammer.
The design borrows quite a lot from language-python and berp.
Forgive me as this is the first time I employ alex and happy, and the principles of compiler design
is still intelligible to me.
## Hackage Dependencies
ghc, alex, happy, cmdargs, data-lens, data-lens-template
## Supporting Features
### Data types
These are a list of available data types:
1. None
2. Integer
3. Bool
4. Function
### Flow control statements
1. if .. elif .. else
2. while .. else
3. break continue
### Others
1. one-line lambda
2. def
Check out `tests/` to find out all features.