summaryrefslogtreecommitdiff
path: root/tnslc/README.md
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2022-04-12 17:18:05 -0400
committerKyle Gunger <kgunger12@gmail.com>2022-04-12 17:18:05 -0400
commit8fea53ab8fa095ff7909b5bfbb0c6e94f2206b52 (patch)
tree3a06f26b7a9fd5edfcb9c84b8f66bc1455f7357e /tnslc/README.md
parentd0213b4202ac12d7e92f7125e87c31d9ecb637dd (diff)
Update tnslc
Diffstat (limited to 'tnslc/README.md')
-rw-r--r--tnslc/README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/tnslc/README.md b/tnslc/README.md
index d09edc9..fa19eb6 100644
--- a/tnslc/README.md
+++ b/tnslc/README.md
@@ -2,6 +2,14 @@
The reference compiler for the TNSL programming language. The compiler is written in TNSL.
+## Usage:
+
+Place the interpreter `tint` in the parent folder and execute `run.sh` with the argument being the flags for the compiler.
+
+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
+
### Credits
Copyright 2021 Kyle Gunger