https://github.com/niklaskorz/nklang
A programming language interpreter written in Go
https://github.com/niklaskorz/nklang
formal-languages golang interpreter lexer parser semantics
Last synced: 9 months ago
JSON representation
A programming language interpreter written in Go
- Host: GitHub
- URL: https://github.com/niklaskorz/nklang
- Owner: niklaskorz
- License: mit
- Created: 2018-04-27T17:32:31.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-05-12T14:50:55.000Z (over 6 years ago)
- Last Synced: 2024-04-14T02:54:38.074Z (almost 2 years ago)
- Topics: formal-languages, golang, interpreter, lexer, parser, semantics
- Language: Go
- Homepage:
- Size: 69.3 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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.