Skip to content

tictac-lang/tictac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tictac

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.

Contributors

Who Role
Exeon's image
@actuallyexeon
Creator
Kat's image
@datkat21
Helped with the logo, docs, and readme

Syntax

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"}

Errors

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.

About

The TicTac Compiler and Evaluator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published