View Code? Open in Web Editor
NEW
a short, simple, inelegant and unidiomatic language written in Golang
License: MIT License
macaque-lang's Introduction
macaque-lang's People
Contributors
Stargazers
macaque-lang's Issues
The fail
function - my custom approach to error handling - doesn't work. Worse, it fails silently.
$ ./macaque-lang test.maq
"Vikram"
1
panic: runtime error: index out of range
goroutine 1 [running]:
main.execute(0xc42003de70)
/home/vikram/Projects/golang/src/github.com/vikramdurai/macaque-lang/main.go:46 +0x245
main.lex(0x5, 0xc42009204a, 0x9)
/home/vikram/Projects/golang/src/github.com/vikramdurai/macaque-lang/main.go:138 +0x32b
main.main()
/home/vikram/Projects/golang/src/github.com/vikramdurai/macaque-lang/main.go:165 +0x102