You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tristan B. V. Kildaire
- Added new type `VariableParameter` for function parameters Parser - Generate instances of `VariableParameter` instead of just `Variable` (direct) for function parameters - Set the Container of the VariableParameter(s) of a function definition to that of the Function (definition) TypeCheck - Updated type to `VariableParameter` (just to be more specific and clear) Dependency - Added branch to pool VariableParameter but NOT add them as dnode's (that would cause code gen to emit declarations for parameters - which is something we do not want). Set as visited, pool for lookup and set Context. DGen - Added variable parameter symbol mapping to `generateSignature()` for function signatures Variables (special DNode type) - Added note, do we need these? Test cases - Updated test case `simple_function_decls.t` to test parameter variable usage (assignment and expression usage)
|6 months ago|
|rando||2 years ago|
|source/tlang||6 months ago|
|.gitignore||6 months ago|
|README.md||6 months ago|
|dub.json||9 months ago|
|tets.d||2 years ago|
|todo1.md||2 years ago|
Official Tristan Language project compiler
Docs are available here.
To build you will need
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.
A list of all commands can be found by typing in the following: