summaryrefslogtreecommitdiff
path: root/tnslc/README.md
blob: 422214bf84de9bbcf525b829dca959af5a6e8bc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# tnslc

The reference compiler for the TNSL programming language.  The compiler is written in TNSL.

## Usage:

Place the bootstrap compiler `ctc` in the folder and execute `run.sh`
The compiler outputs x86 NASM compatible assembly.

Examples:
- `./ctc dummy.tnsl dummy.asm` - Run the bootstrap compiler on the dummy file, output to dummy.asm
- `./run.sh` - Build the compiler

## License

	This Source Code Form is subject to the terms of the Mozilla Public
	License, v. 2.0. If a copy of the MPL was not distributed with this
	file, You can obtain one at http://mozilla.org/MPL/2.0/.