summaryrefslogtreecommitdiff
path: root/tnslc/README.md
diff options
context:
space:
mode:
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