diff options
-rw-r--r-- | tnslc/README.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tnslc/README.md b/tnslc/README.md index 937fdce..da461e2 100644 --- a/tnslc/README.md +++ b/tnslc/README.md @@ -5,11 +5,14 @@ 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. +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 tnslc_wrapped.tnsl`: Run the compiler on the sample "Hello World" program + ### Credits Copyright 2021-2022 Kyle Gunger @@ -24,4 +27,4 @@ Examples: THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE - EXPRESS OR IMPLIED
\ No newline at end of file + EXPRESS OR IMPLIED |