The L-BASIC compiler - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3) +---- Forum: Works in Progress (https://qb64phoenix.com/forum/forumdisplay.php?fid=9) +---- Thread: The L-BASIC compiler (/showthread.php?tid=1369) |
RE: The L-BASIC compiler - SpriggsySpriggs - 01-10-2023 (01-06-2023, 10:24 PM)cage Wrote: Why would even say something like that. You think that just because you use a closed source, one size fits all OS that you have the right to belittle someone who has taken the time to make a contribution to FreeBasic, just because he uses Linux! @cage I don't think KernelPanic was trying to be rude in his reply. English is not his first language. The wording of your post does come off as quite rude. RE: The L-BASIC compiler - Jack - 05-20-2024 @luke I followed the instructions in the readme but I get this message from the msys2 shell Quote:make: Leaving directory '/home/Admin/L-BASIC/tools'the tools directory contains the following executables: ffigen.tool.tool.exe, incmerge.tool.tool.exe, tokgen.tool.tool.exe and tsgen.tool.tool.exe RE: The L-BASIC compiler - luke - 05-21-2024 Hi Jack Unfortunately the code on the master branch is rather broken at the moment, and Windows support doubly so (I develop on Linux, and only check Windows compilations every so often). I simply wasn't expecting anyone to actually try build it after all this time of being quiet - but I'm flattered that you took the time to do so! You could probably get it to proceed if you renamed those .exes to get rid of the repeated ".tool", but even then you'll only be able to build the most trivial of programs as floating-point -> integer conversions are currently broken on Windows, likely among other things. I expect I will be making a followup post in the next few weeks once array support is complete and I am able to resolve issues between the two platforms. Thanks for your interest in a depressingly slow-moving project. RE: The L-BASIC compiler - Jack - 05-21-2024 thank you luke I am looking forward to your next release RE: The L-BASIC compiler - Jack - 05-21-2024 luke removing the extraneous .tool from the executables names in the tool directory allowed me to build L-Basic RE: The L-BASIC compiler - Jack - 05-21-2024 hello luke you said that L-Basic is broken, nonetheless I would like to report my findings the following works Code: (Select All)
but not this Code: (Select All)
Quote:Both operands to a binary operator are not of the same type!array in user defined functions are not supported and the printing of double is in fixed format however, I got the following to work Code: (Select All)
the exp function is not supported but you can use e^x instead RE: The L-BASIC compiler - luke - 05-22-2024 Thanks for the bug report. The multiplication issue was a half-hearted attempt to fix the overflow issues QB64 shows when multiplying large numbers (e.g. PRINT 100000000 * 100000000 gives 1874919424). For now I've "fixed" it to give the same wrong answer as QB64, but I think in the future lbasic should be checking for Overflow by default like QBasic did. |