A programming language interpreter written in Go
- Go 99.8%
- LLVM 0.2%
| .vscode | Implement arrays | |
| ast | Implement arrays | |
| cmd/nklg | Implement arrays | |
| evaluator | Implement arrays | |
| lexer | Correctly print EOF error while lexing strings | |
| llvm-tests | llvm-test: update to latest version of llir/llvm ( #7 ) | |
| parser | Implement arrays | |
| semantics | Implement arrays | |
| .gitignore | Update | |
| example.nk | Implement arrays | |
| go.mod | Implement eval function | |
| go.sum | Implement eval function | |
| grammar.ebnf | Update grammar | |
| LICENSE.md | Add LICENSE | |
| README.md | Add installation instructions | |
nklang
A parser and interpreter for a selfmade programming language.
But why?
Why not, it's fun.
Installation
go get github.com/niklaskorz/nklang/cmd/nklg
Then, the interpreter can be used as nklg some_file.nk to run code from a file or nklg without any arguments to run the repl.