From f3a773c750181f8f3d52fd672587814275a04bd7 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Mon, 25 Mar 2024 22:39:06 -0400 Subject: Remove old parser files --- tnslc/README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'tnslc/README.md') 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 -- cgit v1.2.3