Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: scar-lang/scar

v0.0.1-alpha.2

27 Aug 17:30

Choose a tag to compare

Changelog:

  • created working LSP
  • full cross-platform support across windows, mac and linux
  • added signal management for proper runtime error reporting
  • improved compile-time error reporting
  • add bounds checking by default for array-type access
  • fixed pipe delimiting issue in put and print
  • fixed function hoisting issue
  • added support for varargs
  • reduced debug noise
  • deprecated list[T] in favor of collections::<T>ArrayList due to safer abstraction
  • deprecated map[T: T] in favor of collections::<T><T>Map due to safer abstraction
  • added support for nonref types
  • amended struct access to use : and class instance access to use ->> operator
  • added chacha20 stream cipher and aes-128 to stdlib crypto module
  • added hash and runtime modules to stdlib
  • added namespace alias to reduce verbosity in user code
  • added pass keyword for empty blocks
  • added u8 and i8 to prevent having to shell out to C types
  • improved argument and method signature validation at all call sites
  • added support for inline instantiation returns: e.g. return new SomeType().
  • added local import for importing C headers
  • fixed cat! and fmt! related segfaults with buffer overflow issues
  • added nested struct support
  • fixed intermediate postprocessing issues

v0.0.1-alpha.1

17 Aug 16:25

Choose a tag to compare

Release notes

  • Initial release
  • Since intial MVP:
    • Added regex, json and net libraries to the standard library, these wrap pcre, jansson and libcurl/native-socket APIs respectively
    • Added support for structs rather than just classes
    • Added type inference for class/struct instantiation