Information Technology - Computer Programming - Source Code - Homebrew - Open Source - Software - Hardware - 8 bit - 16 bit - 32 bit - 64 bit - x86 - x64 - DOS - Windows - Linux - Arduino - Embedded - Development - Retro - Vintage - Math - Science - History - Hobby - Beginners - Professionals - Experiment - Research - Study - Fun - Games

Pebble language and compiler

Discussion about any computer programming language.
Post Reply
Site Admin
Posts: 118
Joined: Wed Feb 22, 2023 6:51 am

Pebble language and compiler

Post by admin »

Pebble is a programming language, compiler, and IDE for x86 DOS.

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 50 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.
Post Reply