Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tychota/jlox
Ze perfect language
https://github.com/tychota/jlox
Last synced: 22 days ago
JSON representation
Ze perfect language
- Host: GitHub
- URL: https://github.com/tychota/jlox
- Owner: tychota
- Created: 2018-07-14T19:48:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-14T19:53:30.000Z (over 6 years ago)
- Last Synced: 2024-11-06T02:23:47.757Z (2 months ago)
- Language: Kotlin
- Size: 3.93 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JLOX
All credits goes to [Robert (? Bob ?) Nystrom](https://twitter.com/munificentbob).
He made a wonderful tutorial to crate your own language here: http://craftinginterpreters.com/
It is gold content, super clearly explained.## Specialties
I wrote it in kotlin instead of java to learn a bit of kotlin.
Kotlin prove to be super efficient since `match` was perfect to spare some char in endless if else statements.
Non nullability by default seems great but I guess I didn't know enough to use it during the parser: I had to
force it to be non null because nothing indicate kotlin that all remaining parsee option can't be null.My next Language is going to be written in rust.