Skip to content
This repository was archived by the owner on Jul 21, 2024. It is now read-only.

Releases: futureg-lab/fg-script

v0.0.2-alpha

v0.0.2-alpha Pre-release
Pre-release

Choose a tag to compare

@michael-0acf4 michael-0acf4 released this 25 May 18:02
  • Updated unary ops behavior to standard
// before
repr_of x + "A"  ->  repr_of (x + "A")
// after
repr_of x + "A"  ->  repr_of (x) + "A"

fg-script

fg-script Pre-release
Pre-release

Choose a tag to compare

@michael-0acf4 michael-0acf4 released this 29 Jan 20:21
43a15cf

Features :

  • Syntax inspired from C/C++ and Rust
  • Basic binary operators : *, /, +, -, %, and, or, xor
  • Basic unary operators : repr_of, -, not
  • Functions
  • Fast recursion engine
  • Typed variables
  • tup types : a mix of dic, array and tuples which supports *, /, +, -, %, and, or, xor, not and -
  • Type inference with the keyword auto (like in C++)