Slimelite BBS

aqb-0.8.2.lha

Back to basic

A BASIC Compiler+IDE for Amiga Computers

Size
435K (445,196 bytes)
Added
2026-11-20 02:42
Downloads
2
Long Description
== AQB: A BASIC Compiler and IDE for Amiga Computers === Project Scope An experiment in alternate history: what AmigaBASIC could have looked like, had it been developed further tailored to the Amiga OS. What AQB is not: AQB does not try to be a clone of any particular BASIC dialect - neither QuickBASIC, FreeBASIC or VisualBASIC nor any particular Amiga specific BASIC implementation like AmigaBASIC, ACE, HiSoft, GFA, Blitz or AMOS. While it strives to be as compatible as possible with the Microsoft BASIC family of languages (and certainly has many QuickBASIC traits) the primary focus is on the creation of a modern, clean, Amiga OS-compliant, future-proof BASIC that is tailored towards modern Amiga application development. To be more specific, FreeBASIC is the source of many core AQB language constructs (in many respects AQB can be considered a subset of FreeBASIC) with inspiration for Amiga specific commands mainly from AmigaBASIC, ACE and HiSoft. Main target is Amiga OS compliant application development. Improvements over AmigaBASIC include: * Advanced type system (including UDTs and Pointers, see below) * Support for non-static functions and subs (enables recursion) * Module support (similar to UNITs in TurboPascal, with full type safety and dependencies) * Modern syntax inspired by FreeBASIC and VisualBASIC * True native 68k compiler * Integrated IDE besides compiler command line interface with * syntax highlighting * auto-indent * folding support * source level debugging === Requirements * 3 MB RAM * OS 2.0 (V36) or newer === Installation Right now no installation is required. Just download a release LHA archive (https://github.com/gooofy/aqb/releases) and unpack it wherever you like, but keep the directory structure intact. === Latest Changes (0.8.2): Improvements: * runtime: WAVE, WAVE FREE, SOUND, SOUND WAIT, SOUND STOP, SOUND START commands added * runtime: WAVE() function added * runtime: IFF8SVX LOAD WAVE, IFF8SVX READ WAVE commands added * runtime: BITMAP MASK statement added * runtime: CLEAR statement added * runtime: MID$, UCASE$, LCASE$, INSTR, LEFT$, RIGHT$ functions added * runtime: ABS function added * runtime: EOF() function added * runtime: CLS, LOCATE, SLEEP FOR, PRINT, PRINT#, INPUT, LINE INPUT moved from _aqb to _brt * runtime: INPUT#, LINE INPUT#, WRITE, WRITE# statements added * runtime: DATE$, POINT functions added * compiler: support pure interface modules that have no code Bug Fixes: * ide: EZRequest on source write fails instead of a plain exit() * ide: ENDIF auto-indentation fixed * examples: tetris code cleanup, use custom fonts * compiler: fix float handling in DATA statements * compiler: fix coord/coord2 error handling * compiler: do not abort on type system inconsistencies (e.g. unresolved forwarded types) * compiler: check and resolve all forward ptrs * compiler: fix err msg position for constant declaration expression * compiler: fix string type coercion (fixes #17, thanks to Tom Wilson for reporting this one) * compiler: fix negative numeric literal handling in DATA statements * compiler: fix string handling in DATA statements (fixes #18, thanks to Tom Wilson for reporting this one) * compiler: fix ENDIF SLE stack underflow * runtime: fix INT() behavior (matches ACE now), add CLNG() to online help * runtime: fix LINE INPUT * use EXIT_FAILURE for fatal error conditions (fixes issue #13 by polluks) * add "$VER" version string === Type System ==== Basic types: * Byte, UByte (8 bits) * Integer, UInteger (16 bits) * Long, ULong (32 bits) * Single (32 Bit FFP floats) ==== Advanced types * Static (C-like, fast) and dynamic (runtime bounds checking) arrays * UDTs (structs) * OOP (FreeBASIC like) * Pointers (C-like, including function/sub pointers) * Strings (0-terminated pointers to UByte, C-compatible) === Module System and Runtime AQB tries to keep the set of commands that are built into the compiler to a minimum and relies on its quite powerful module system