diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-03-25 22:39:06 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-03-25 22:39:06 -0400 |
commit | f3a773c750181f8f3d52fd672587814275a04bd7 (patch) | |
tree | 8c37ae892960f0988aa6006661beef4ff8b8e8e5 /tnslc/README.md | |
parent | 0bc05b40d541483d16445b98ea0841d1912a8198 (diff) |
Remove old parser files
Diffstat (limited to 'tnslc/README.md')
-rw-r--r-- | tnslc/README.md | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tnslc/README.md b/tnslc/README.md index e30130b..422214b 100644 --- a/tnslc/README.md +++ b/tnslc/README.md @@ -4,14 +4,12 @@ The reference compiler for the TNSL programming language. The compiler is writt ## Usage: -Place the interpreter `tint` in the parent folder and execute `run.sh` with the argument being the flags for the compiler. +Place the bootstrap compiler `ctc` in the folder and execute `run.sh` The compiler outputs x86 NASM compatible assembly. Examples: -- `./run.sh dummy.tnsl` - Run the compiler on the dummy file -- `./run.sh "dummy.tnsl ../libtnsl/libtnsl.tnsl"` - Run the compiler on the dummy file but also link libtnsl - -- `.\run.ps1 hello.tnsl`: Run the compiler on the sample "Hello World" program +- `./ctc dummy.tnsl dummy.asm` - Run the bootstrap compiler on the dummy file, output to dummy.asm +- `./run.sh` - Build the compiler ## License |