[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
Pete's QBASIC Site Discuss QBasic, Freebasic, QB64 and more 2023-03-26T13:58:27-05:00 http://petesqbsite.com/phpBB3/app.php/feed/topic/14892 2022-12-12T01:37:36-05:00 2022-12-12T01:37:36-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=39319#p39319 <![CDATA[Re: Pebble language and compiler with expression parser]]>
It's nice to be back.

Thank you.

Statistics: Posted by bongomeno — Mon Dec 12, 2022 1:37 am


]]>
2022-12-11T06:43:16-05:00 2022-12-11T06:43:16-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=39317#p39317 <![CDATA[Pebble language and compiler with expression parser]]>

We need more of this on this site!



A.R.B :)

Statistics: Posted by Anthony.R.Brown — Sun Dec 11, 2022 6:43 am


]]>
2022-12-11T02:57:10-05:00 2022-12-11T02:57:10-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=39315#p39315 <![CDATA[Re: Pebble language and compiler with expression parser]]> The operator precedence had issues and has been "fixed."
There's also now string support, although I am still working on string examples.

Statistics: Posted by bongomeno — Sun Dec 11, 2022 2:57 am


]]>
2022-11-27T13:41:00-05:00 2022-11-27T13:41:00-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=39313#p39313 <![CDATA[Re: Pebble language and compiler with expression parser]]> There's now support for arrays and more examples.

An example Pong game called Ball and Paddle is now included. Compile the source by running examples\ballandp.bat file. The game supports mouse and keyboard, has colors, sounds, and speed control. It all fits in .com file under 2kb when compiled. (1,673 bytes)

Image

Statistics: Posted by bongomeno — Sun Nov 27, 2022 1:41 pm


]]>
2022-11-20T02:26:31-05:00 2022-11-20T02:26:31-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=39306#p39306 <![CDATA[Re: Pebble language and compiler with expression parser]]>
Examples...

Code:

[nextlevel]=[nextlevel]+10+([nextlevel]/3)
or

Code:

sub exitbuttoncursor 76,0echo "[X]"if ([mouseb]=1)&([_MOUSEX]>=76)&([_MOUSEX]<=79)&([mousey]=0) thenkillendifret
Note that _MOUSEX should be displaying as mouse x (minus the space), but the forum is having an issue. It changes the text.

Statistics: Posted by bongomeno — Sun Nov 20, 2022 2:26 am


]]>
2023-03-26T13:58:27-05:00 2022-11-12T01:56:48-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=39305#p39305 <![CDATA[Pebble language and compiler with expression parser]]>
The compiler is written is QBasic and produces Flat Assembler code. Fasm is included along with a wysiwyg IDE written in QBasic. The IDE produces and executes compilation batch files. The compiler may be ran without the IDE.

When a program is compiled, the result is a .com file. The .com files start at less than 100 bytes. Inline asm is supported to allow support for unimplemented features.

The IDE allows you to compile and run by pressing F4. Files must be loaded or saved to compile and run from the IDE. Several example programs are included with the .peb extension. The included examples come with compilation batch files, so the IDE is not required.

Nested if/endif statements are supported. Echoing text doesn't require defining the text. The language currently only supports integer variables. Expressions with parentheses are supported. Inline asm and include files are supported.

More info and download: http://lucidapogee.com/forum/viewtopic.php?t=34

Statistics: Posted by bongomeno — Sat Nov 12, 2022 1:56 am


]]>