summaryrefslogtreecommitdiff
path: root/tnslc
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2023-05-14 01:07:08 -0400
committerKyle Gunger <kgunger12@gmail.com>2023-05-14 01:07:08 -0400
commited25b8e9740307c5de2d3e14b1ff6f85391b7953 (patch)
treec0362ad58fa64c27268345ef7a26b586bb3a22ca /tnslc
parente2d170eb9da0cc785897f80d8657c59205434448 (diff)
parentbda3c4f607a30b9d8b388c22be635c27078c8a0d (diff)
Merge branch 'origin' of github.com:CircleShift/tnsl-lang into origin
Diffstat (limited to 'tnslc')
-rw-r--r--tnslc/README.md5
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