summaryrefslogtreecommitdiff
path: root/tnslc/README.md
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-03-25 22:39:06 -0400
committerKyle Gunger <kgunger12@gmail.com>2024-03-25 22:39:06 -0400
commitf3a773c750181f8f3d52fd672587814275a04bd7 (patch)
tree8c37ae892960f0988aa6006661beef4ff8b8e8e5 /tnslc/README.md
parent0bc05b40d541483d16445b98ea0841d1912a8198 (diff)
Remove old parser files
Diffstat (limited to 'tnslc/README.md')
-rw-r--r--tnslc/README.md8
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