Skip to content

TarekkMA/tah-lang

Repository files navigation

لغة الـ ط

Tah is a language that can be compiled/evaluated in the browser. Tah is mainly built so I can undersatnd how compilers are built.

Check out the live web app at: https://tarekkma.github.io/tah-lang/

Types

  • Number var a as number;
  • String var a as string;
  • Boolean var a as boolean;

Literals

  • Number: any number decimal or integer
  • String: any text contained in " or int '
  • Boolean: true or false

TODO

  • function types
    • built in (print/rnd)
    • function declaration
    • function call
  • compile to webassembly