From 8fea53ab8fa095ff7909b5bfbb0c6e94f2206b52 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Tue, 12 Apr 2022 17:18:05 -0400 Subject: Update tnslc --- tnslc/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tnslc/README.md') 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 -- cgit v1.2.3