Tristan B. Velloza Kildaire
b7b0bb452a
- Set `context` field to `private` - enforcing usage of `setContext(Context)`/`getContext()` CastedValueInstruction - Removed field `castToType`, we may as well use the inherited field `type` for that seeing as the type we shall be after the cast is the `castToType` - Ensured that the constructor copies over the parameter `castToType` to `this.type` - Ensured that `getCastToType()` now returns `this.type` TypeChecker - Switched to using `setContext(Context)` in cases where `instr.context = <context...>` was being used |
||
---|---|---|
rando | ||
source/tlang | ||
.gitignore | ||
README.md | ||
dub.json | ||
extern_test.sh | ||
tets.d | ||
texterned.c | ||
todo1.md |
README.md
tlang
Official Tristan Language project compiler
Documentation
Docs are available here.
Building
To build you will need dmd
and dub
installed. You can then run the following:
dub test --coverage
dub build
The first command is optional but you want to make sure the compiler is working so you may as well run all the unit tests - it won't take too long.
Usage
A list of all commands can be found by typing in the following:
./tlang