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 RaStart the REPL:
go run ra.gogo run ra.go examples/<example-name>.rago build -o bin/raTo run all tests:
go test ./...To run a single test:
go test ./<package-dir-name>