/thor-rust

A port of the Thor programming language (https://github.com/limitlesspc/thor) written in Rust which compiles to binary using LLVM

Primary LanguageRustMIT LicenseMIT

The Thor compiled programming language

Types

  • int32
  • float64
  • complex
  • bool
  • string
  • char8
  • array
  • list
  • vector
  • struct

Operators

  • + add
  • - subtract
  • * multiply
  • / divide
  • % remainder/modulo
  • ^ exponentiation
  • ! factorial
  • ⌊⌋ floor
  • ⌈⌉ ceiling
  • == equals
  • != not equals
  • < less than
  • <= less than or equal to
  • > greater than
  • >= greater than or equal to
  • not
  • and
  • or
  • is
  • is not
  • in
  • not in
  • .. range
  • << left shift
  • >> right shift
  • ~ bitwise not
  • & bitwise and
  • | bitwise or