Tristan B. Velloza Kildaire
113386ebe2
- Implemented new instruction `CastedValueInstruction` - Added import for `Type` DGen - Implemented primitive type casting code generation in `transform()` - Added import for `Type` and `Primitive` Parser - Implemented `parseCast()` which is called by `parseExpression()` Check - Added new symbol type `SymbolType.CAST` Expressions - Implemented new expression type `CastedExpression` Typechecker - Implemented processing of `CastedExpression` in the expression section, along with correct type/instruction pushes and pops Dependency - Implemented dependency generation of `CastedExpression` in `expressionPass()` Test cases - Added test file `simple_cast.t` |
||
---|---|---|
rando | ||
source/tlang | ||
.gitignore | ||
README.md | ||
dub.json | ||
tets.d | ||
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