Releases: LightSharpLang/LScc
v1.2-pre-stable
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
this version introduces the concept of semi - interpreted functions:
- new operator for conditions:
isex:$checkInt = a is intis 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
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
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
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
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
In this version, i :
- cleaned a little bit the code by fusing the
argumentclass and theconstantclass - 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
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
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.