TicTac is a language written in Rust meant to be fast and simple.
It has two modes, compiler and evaluator. The compiler one compiles to assembly that gets built by the assembler (GNU Assmebler) and the evalutor runs on runtime. For both of them, they go through Lexer and Generalize so output will be similar, if not the same.
Who | Role |
---|---|
@actuallyexeon |
Creator |
@datkat21 |
Helped with the logo, docs, and readme |
Function definition:
(function_name) -> {function_arguments}|{
// your code
}
(ex.):
(main) -> {}:int|{
=msg <- "Hello, World";
(eprint) -> {=msg};
}
Function running: (function_name) -> {function arguments}
(eg.): (eprint) -> {"Hello"}
We have an error table showing all the current possible errors at the time of writing:
Error | Meaning |
---|---|
NoSemicolon |
Has no semicolon. |
UnknownChar |
Found a character that the lexer doesn't know. |
EndBracesAdvance |
Either placed and unmatcher brace, corrupted memory or error in my dumb code. |