|
пре 4 година | |
---|---|---|
.. | ||
Makefile | пре 4 година | |
README.md | пре 4 година | |
basic.c | пре 4 година | |
basic.leg | пре 4 година | |
calc.c | пре 4 година | |
calc.leg | пре 4 година | |
compile.c | пре 4 година | |
f.bas | пре 4 година | |
leg-0.1.1 | пре 4 година | |
leg.1 | пре 4 година | |
leg.c | пре 4 година | |
leg.c.bak | пре 4 година | |
leg.c.orig | пре 4 година | |
leg.diff | пре 4 година | |
leg.leg | пре 4 година | |
test.bas | пре 4 година | |
tree.c | пре 4 година | |
tree.h | пре 4 година | |
un.c | пре 4 година | |
un.js | пре 4 година | |
username.leg | пре 4 година | |
version.h | пре 4 година |
This is the oldest and smallest version of leg.leg fixed to compile and run properly
To compile type: make
The generated code is in compile.c and is edited.
The test program is basic.leg running test.bas
And it looks like the generated C source can be transpiled to rust with existing tools.
Because the C source is not complicated it can be translated with python in javascript as in the un.js example.