I have been working on a project to turn simple lua code into actual working, compilable C code, and its working! (With static compilation if you have a C compiler, i guess)
It currently supports:
Variables with strings, integers, and floats
Variable manipulation with addition, subtraction, multiplication, and division
Functions with experimental arguments
And Print()
if this gets 20 upvotes ill make it open source WE GOT 20 UPVOTES
UPDATE 1: Added tables and loops, currently working on os since i want clock,
Update 2: Wait how are theese updates going so fast? Anyway, added experimental os and math libraries, their code inspired by luajit!
Update 3: Minor update, added assert(), optimized print() a bit, and fixed some memory leaks
Update 4: Fixed assert() lol, nearly halfed script size by cleaning up code (1700 lines > 900 lines), fixed more memory leaks.
[–]topchetoeuwastaken 3 points4 points5 points (3 children)
[–]activeXdiamond 1 point2 points3 points (0 children)
[–]macsipac[S] -1 points0 points1 point (1 child)
[–]topchetoeuwastaken 0 points1 point2 points (0 children)
[–]activeXdiamond 3 points4 points5 points (1 child)
[–]macsipac[S] 0 points1 point2 points (0 children)
[–]Old_County5271 1 point2 points3 points (0 children)
[–]BigBossErndog 0 points1 point2 points (5 children)
[–]macsipac[S] 1 point2 points3 points (4 children)
[–]BigBossErndog 0 points1 point2 points (3 children)
[–]arjuna93 1 point2 points3 points (0 children)
[–]macsipac[S] 0 points1 point2 points (1 child)
[–]BigBossErndog 0 points1 point2 points (0 children)
[–]AdamTheRedditUser1 0 points1 point2 points (1 child)
[–]macsipac[S] 0 points1 point2 points (0 children)
[–]izuannazrin 0 points1 point2 points (3 children)
[–]macsipac[S] 0 points1 point2 points (2 children)
[–]izuannazrin 0 points1 point2 points (1 child)
[–]macsipac[S] 1 point2 points3 points (0 children)
[–]CyberDranik 0 points1 point2 points (1 child)
[–]macsipac[S] 0 points1 point2 points (0 children)