Ra is a simple interpreted programming language, built in Go. It features its own lexer, parser, and evaluator, and is designed for learning and experimenting with language development (not for production use).
let hello = fn(name) {
puts("Hello, " + name + "!");
}
hello("World");
- Go 1.20+ installed
Clone the repository:
git clone https://github.com/MikhailWahib/Ra.git
cd Ra
Start the REPL:
go run ra.go
go run ra.go examples/<example-name>.ra
go build -o bin/ra
To run all tests:
go test ./...
To run a single test:
go test ./<package-dir-name>