Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.