Skip to content

Releases: LightSharpLang/LScc

v1.2-pre-stable

08 Oct 13:03
7fdbe6b

Choose a tag to compare

in this release, the stack has been secured, the difference between stack enter and stack leave is fixed and the functions can be called and returned successfully.

Structures also have been added:
struct mystruct { int a int b int c }

in functions:
mystruct m1 = 0;

access:
m1.a
set:
m1.a = 20

structs are padded by default.
packed structs are not avaliable yet.

v1.2-alpha

16 Jan 17:25
23f5c26

Choose a tag to compare

v1.2-alpha Pre-release
Pre-release

this version introduces the concept of semi - interpreted functions:

  • new operator for conditions: is ex: $checkInt = a is int is an interpreted operator : compiled only if the condition is true
  • new L# childs : def child foo(any a) the type of the caller and the arguments are transmitted to the child's parameters
  • new L# molds : def mold foo(...) the type of the arguments are transmitted to the mold's parameters

v1.2 beta

21 Dec 11:03
917acde

Choose a tag to compare

v1.2 beta Pre-release
Pre-release

This vertion introduces the concept of childs:

precompiled:
any child foo(any caller, any parameters, ...)

L#:

any a
a.foo(parameters, ...) // a passed automatically as the first argument

cdecl

i also finished the full cdecl compatibility and added it as an official supported calling convention

v1.1-stable

05 Dec 13:22
48d61d5

Choose a tag to compare

In this version, I:

  • Released the "else" statement for conditions.
  • Added signed/unsigned comparison functionality.
  • Finalized conditions (stable).
  • Enhanced stack security (increased to 16 bits).
  • Added the __cdelc calling convention

v1.1-beta

03 Dec 19:20
9bb5d8d

Choose a tag to compare

v1.1-beta Pre-release
Pre-release

in this version i added fixed types

int i = 0
fix(i)
i = 0.5  <= Error

signed / unsigned

int i = 0
unsign(i)

fix(i)
sign(i) <= Error

an attribute seeker

is(UNSIGNED, var)
is(SIGNED, var)

v1.0 stable

28 Nov 10:03
6bd61cb

Choose a tag to compare

In this version, i :

made the include token to include other .ls or .lsh files
i fixed the last found issue with the compiler

v1.0-pre-stable

23 Nov 20:13
8ff7666

Choose a tag to compare

v1.0-pre-stable Pre-release
Pre-release

In this version, i :

  • cleaned a little bit the code by fusing the argument class and the constant class
  • i fixed the issue with the demo file
  • and finally added real types to variables and operators as well as type conversion.

alpha 1.0

21 Nov 18:06
c3c205d

Choose a tag to compare

alpha 1.0 Pre-release
Pre-release

This version is more stable than it's predecessor. with 3 major fixes:

  • - operators (fixed)

  • extern (fixed)

  • return() with variable or function (fixed)

and 2 major improvements:

  • pointers with operators -> and <-
  • multiline conditions

Beta 1.0

18 Nov 16:41
9b27af4

Choose a tag to compare

Beta 1.0 Pre-release
Pre-release

This version is an early access of the L# compiler, not all features have been done and the result can be sometimes surprisingly wrong.
Please know that this release isn't stable.