Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mpardalos/raza
A toy programming language used as a learning project. Implemented in Scala.
https://github.com/mpardalos/raza
lexer parser programming-language scala
Last synced: 1 day ago
JSON representation
A toy programming language used as a learning project. Implemented in Scala.
- Host: GitHub
- URL: https://github.com/mpardalos/raza
- Owner: mpardalos
- License: mit
- Created: 2018-01-14T15:02:35.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-02T13:58:31.000Z (almost 7 years ago)
- Last Synced: 2024-12-19T05:09:07.423Z (8 days ago)
- Topics: lexer, parser, programming-language, scala
- Language: Scala
- Homepage:
- Size: 1.17 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Raza
A toy programming language used as a learning project. Implemented in Scala.## Name
The name of the spaceship from the *inexplicably* cancelled SyFy show Dark Matter.## Status
Lexer and parser are done, and it's reasonably easy to add new constructs. Both are
handwritten, and parsing uses simple recursive descent. The interpreter structure is all in
place and can interpret almost all basic constructs.### TODO
* Variables
* Arithmetic
* Strings
* Functions
* If statements and expressions
* Assignment (maybe)
* Some built-ins (string manipulation, ...)### TODO
* Loops
* Math builtins## Future plans
I would most likely want to implement either some Object-Oriented features (class- or
prototype-based) or a static type system. Planning far ahead isn't really gonna happen with
this project though as I'm mostly working on whatever feels interesting at the moment.