LScc is the L# compiler for Windows and Linux.
The L# Classic Compiler (LSCC) project was originally started by Julian Lavis--Fabbri in 2022.
The full documentation is in the wiki linked to the project: https://github.com/LightSharpLang/LScc/wiki/
Linux:
python make.py install latest
Windows:
python wmake.py install latest
Linux:
python make.py install
Windows:
python wmake.py install
Linux:
python make.py install vX.X-...
Windows:
python wmake.py install vX.X-...
- condition not working with functions
- Warning changing type of variable from any to int!
"using precompiled library"
with "stdlang.pclslib"
"using extern constant printf"
extern printf
def start(i):
"comment"
"defining variable b"
b = 0
"or"
int b = 0
"pointer to b"
ptr ptr_b = 0
ptr_b <- b
"set one to the b"
1 -> ptr_b
"defining condition named condi_i"
$condi_i = b == 1
"using multiline-synax condition condi_i"
$condi_i
i + 2
i - 1
$
"inline syntax"
$condi_i$ i + 1
i = 8
return(i)
end
The project, past and future releases and code, is under the CreativeCommons License: