Skip to content

tanndlin/TanScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

291 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TanScript

A custom programming language created with Test Driven Development.

Features

  • Variable Declarations: Supports let keyword for variable declarations.
  • Control Structures: Includes if, else, while, and for loops.
  • Functions: Allows function definitions with def keyword and supports lambda expressions.
  • Arithmetic Operations: Supports addition, subtraction, multiplication, division, and modulus.
  • Boolean Operations: Includes logical operators like && (AND), || (OR), and ! (NOT).
  • Comparison Operators: Supports <, <=, >, >=, ==, and !=.
  • Bitwise Operations: Includes &, |, ^, and ~.
  • Increment/Decrement: Supports ++ and -- operators.
  • Shorthand Assignments: Includes +=, -=, *=, /=, and %=.
  • String Handling: Supports string literals enclosed in double quotes.
  • Lists and Arrays: Allows list declarations with square brackets [].
  • Objects: Supports object creation with curly braces {} and attribute access using ..
  • Return Statements: Includes return keyword for returning values from functions.
  • Nested Expressions: Supports parentheses () for grouping expressions.

About

Custom Programming Language compiled to AMD64

Resources

Stars

Watchers

Forks

Contributors