mirror of https://github.com/tbklang/tlang.git
Official Tristan Language project compiler
https://deavmi.assigned.network/projects/tlang
Tristan B. Velloza Kildaire
821b950993
- Only check that a `ReturnStmt` is present in a function definition when `wantsBody` is true ELSE we'd expect it for `efunc` `extern`'d statements - Fixed a unit test which had a missing `return <expr>` - Added a unit test which tests for a function definition with a body with a non-void return type that it DOES fail - Removed two now-completed TODOs and FIXMEs Test cases - Fixed test case in `typecheck/simple_function_call.t` to now include the required `return <expr>` statements |
||
---|---|---|
.github/workflows | ||
branding | ||
rando | ||
source/tlang | ||
.gitignore | ||
README.md | ||
dub.json | ||
extern_test.sh | ||
macro_ast_replacemenet.png | ||
macro_ast_replacemenet.xcf | ||
macro_ast_replacement_sizeof_example.png | ||
macro_ast_replacement_sizeof_example.xcf | ||
malloc_test.sh | ||
tets.d | ||
texterned.c | ||
todo1.md | ||
wip.txt |
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