blob: 4897dad1766894d3c5e647ccc98d71d78af863ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# tnsl-parse
The tokenizer for the [TNSL Language](https://github.com/CircleShift/tnsl-lang). Written in Go for the moment.
The goal is to get this part written, and then write a backend for any arch (x86, arm, risc-v, etc.).
After that, work can begin on the real parser/compiler which will be written in native TNSL
## interpreter
This project was originally supposed to form a go based compiler for the language, but in the interest of time, it seems more efficient to build an interpreter instead so we can work on the TNSL based compiler sooner.
To build the parser:
./gobuild.sh parse
To build the interpreter:
./gobuild.sh exec
Binaries will be dumped in the "build" folder.
## Status:
Parser: sorta works sometimes (subtext: AST generater is at least a little broken, but works for at least some use cases)
Interpreter: broken
With some of the code I've written, I'm kinda supprised that this even compiles.
|