Official Tristan Language project compiler https://deavmi.assigned.network/projects/tlang
Go to file
Tristan B. Velloza Kildaire ae5be967aa Parser
- Implemented `findOfType(TypeInfo_Class statementType, Container from)` which given a type of `Statement` to look for and a `Container` of which to search with in. This method will recursively search down the given container and look for any statements which are a kind-of (`isBaseOf`) the requested type. it will return an array of `Statement` (`Statement[]`) of the matches.
- Implemented `existsWithin(TypeInfo_Class statementType, Container from)` given a type of `Statement` to look for and a `Container` of which to search with in. This method will recursively search down the given container and look for any statements which are a kind-of (`isBaseOf`) the requested type. It will return `true` if any matches are found.
- We now will recursively explore the `Function`'s body statements in search of a `ReturnStmt`
2023-07-16 19:18:44 +02:00
.github/workflows 🐞️ Functions: Expressionless return and enforcing requirement (#7) 2023-07-11 21:43:21 +02:00
branding Array support (#1) 2023-04-20 11:21:50 +02:00
rando Fuck this is complicated (2/2) 2021-06-06 22:46:06 +02:00
source/tlang Parser 2023-07-16 19:18:44 +02:00
.gitignore 🐞️ Functions: Expressionless return and enforcing requirement (#7) 2023-07-11 21:43:21 +02:00
README.md Update README.md 2023-03-26 14:13:56 +02:00
dub.json DUB configuration 2023-02-05 12:27:14 +02:00
extern_test.sh Check 2023-01-28 18:12:49 +02:00
macro_ast_replacemenet.png 🧠 Feature: Meta-programming engine (#10) 2023-05-29 17:02:28 +02:00
macro_ast_replacemenet.xcf 🧠 Feature: Meta-programming engine (#10) 2023-05-29 17:02:28 +02:00
macro_ast_replacement_sizeof_example.png 🧠 Feature: Meta-programming engine (#10) 2023-05-29 17:02:28 +02:00
macro_ast_replacement_sizeof_example.xcf 🧠 Feature: Meta-programming engine (#10) 2023-05-29 17:02:28 +02:00
malloc_test.sh Pointer support (#2) 2023-04-17 16:50:11 +02:00
tets.d Added testing files 2021-11-02 15:14:03 +02:00
texterned.c - Added `texterned.c` for later extern testing 2023-01-19 17:52:46 +02:00
todo1.md I wonder if that worked 2021-06-07 14:27:36 +02:00
wip.txt Array support (#1) 2023-04-20 11:21:50 +02:00

README.md

tlang

D

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