![]() |
New beta release 1.2.7r2021 - Printable Version +- Forum (https://www.boriel.com/forum) +-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11) +---- Forum: Bug Reports (https://www.boriel.com/forum/forumdisplay.php?fid=15) +---- Thread: New beta release 1.2.7r2021 (/showthread.php?tid=295) |
New beta release 1.2.7r2021 - boriel - 02-01-2011 Okay, a new beta release with a *critical* fix and two interesting optimizations :!:
Please, test needed :!: The compiler has undergone *deep changes* with this update. You can download (as always) from <!-- m --><a class="postlink" href="http://www.boriel.com/files/zxb">http://www.boriel.com/files/zxb</a><!-- m --> Re: New beta release 1.2.7r2021 - apenao - 02-01-2011 Great ! I'm going to try my ongoing projets with this version this night, I'll tell you if it doesn't work ![]() Thanks ! Re: New beta release 1.2.7r2021 - LCD - 02-01-2011 Me too. Currently a bit busy, but will test it with some of my code. if it will fail, I will cry ![]() Re: New beta release 1.2.7r2021 - apenao - 02-01-2011 First problem ![]() Compiling this: Code: DIM bufferx (0 to 4,0 to 5) as ubyte => {{10,0,0,0,0,0},_ Returns this: > Executing: C:\Program Files (x86)\ConTEXT\ConExec.exe -i "C:\Program Files (x86)\Boriel Tm\ZX Basic Compiler\zxb.exe" -T -B -O 3 -S 24000 -a PRUEBA~1.bas Generating LALR tables PRUEBA~1.bas:1 Error: illegal preprocessor character '{' > Execution finished. I hope it's not a big thing. Re: New beta release 1.2.7r2021 - apenao - 02-01-2011 I have just noticed that 2 new files have appeared in the directory where the .bas file is: parser.out zxbasmpptab.py Maybe it's related to the problem I had. Re: New beta release 1.2.7r2021 - boriel - 02-01-2011 apenao Wrote:I have just noticed that 2 new files have appeared in the directory where the .bas file is:Nope, they are *rubbish*. I did include them by accident. The bug is due to the new preprocessor which do not accept "unknown" characters. This is an easy fix. Fixing... Re: New beta release 1.2.7r2021 - boriel - 02-01-2011 Ok, please. Redownload new version 1.2.7-r2024 :roll: <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Archive#Latest_Development_Version">http://www.boriel.com/wiki/en/index.php ... nt_Version</a><!-- m --> Re: New beta release 1.2.7r2021 - LCD - 02-02-2011 But this test program (and a second one which I sent by PM) still suffer from this problem: Code: FUNCTION scrAddress(x as uByte, y as uByte) as Uinteger Re: New beta release 1.2.7r2021 - apenao - 02-02-2011 boriel Wrote:Ok, please. Redownload new version 1.2.7-r2024 :roll: It compiles without problems my new project (that doesn't use inline assembler, just basic), but when I try to compile my other game (the one with the walking hat) I get this: Quote:> Executing: C:\Program Files (x86)\ConTEXT\ConExec.exe -i "C:\Program Files (x86)\Boriel Tm\ZX Basic Compiler\zxb.exe" -T -B -O 3 -S 24000 -a GEB742~1.bas Re: New beta release 1.2.7r2021 - boriel - 02-02-2011 Okay, please download 1.2.7r2028, just uploaded: <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Archive#Latest_Development_Version">http://www.boriel.com/wiki/en/index.php ... nt_Version</a><!-- m --> Hope this time it works! :roll: It's all related to the zxbpp module, not the compiler itself. Re: New beta release 1.2.7r2021 - boriel - 02-02-2011 apenao Wrote:Your *new* project? Please, don't tell me you abandoned the Gentleman project:!:boriel Wrote:Ok, please. Redownload new version 1.2.7-r2024 :roll: ![]() ![]() Quote:Generating LALR tablesNote: This message should not appear. It means it is recalculating compiling tables, takes time, and writes the parser.out trash temp file. *Fixed* :wink: (I precalculate compiler tables and remove trash files when packaging the .msi installer file) Re: New beta release 1.2.7r2021 - apenao - 02-02-2011 boriel Wrote:Your *new* project? Please, don't tell me you abandoned the Gentleman project:!: No, I just put it on the side while finishing a game for the radastan's basic games compo. I didn't make it on time, but it's going quite well so I decided to go on with it for a while. But I will go back with HTBACG, in fact some of the last features you included in the compiler (such as faster draw routine, bitwise logical operators) seems to be taylor-made for this game alone .) Re: New beta release 1.2.7r2021 - boriel - 02-02-2011 apenao Wrote:Thx! 8)boriel Wrote:Your *new* project? Please, don't tell me you abandoned the Gentleman project:!: Please, test the latest versión (r2028) just uploaded! Re: New beta release 1.2.7r2021 - apenao - 02-02-2011 I just compiled it again (the Gentleman game) with the 2028 version and I get this: Code: > Executing: C:\Program Files (x86)\ConTEXT\ConExec.exe -i "C:\Program Files (x86)\Boriel Tm\ZX Basic Compiler\zxb.exe" -T -B -O 3 -S 24000 -a GE2240~1.bas The input.bas... line refers to an #include <sinclair.bas> sentence The other stuff is related to my sprite routine (sprite2). It's the same I sent you a while ago, but if you need it again, tell me. Re: New beta release 1.2.7r2021 - boriel - 02-02-2011 Okay. This is another preprocessor issue. Can you send me your code by mail on in a priv. msg? I can't reproduce it. |