edubart / nelua-lang

Minimal, efficient, statically-typed and meta-programmable systems programming language heavily inspired by Lua, which compiles to C and native code.
https://nelua.io
MIT License
1.99k stars 64 forks source link

Can't compile fibonacci example #262

Closed fenix272 closed 3 months ago

fenix272 commented 3 months ago

I'm on windows 7 so i cannot use msys2. I downloaded the latest branch and in a command prompt, while in the directory 'nelua-lang-master', i typed 'mingw32-make' and after a while a file called 'nelua-lua.exe' was created. I typed in the same command prompt "nelua-lua.exe -h" and it gave me a list of options, then i typed 'nelua-lua.exe -v' and it printed 'Lua 5.4.6 Copyright (C) 1994-2023 Lua.org, PUC-Rio'. Is this the nlua compiler or it's the lua interpreter? I tried to run the fibonacci example and it gave me an error: " fibonacci.nelua:4: ')' expected near ':'". Maybe it's the Lua interpreter, that's why it doesn't recognize the colon. If so, how can i create the actual nelua compiler without using that annoying msys2 , which like i said above doesn't support anymore windows 7?