Home / bas
Name Modified Size InfoDownloads / Week
Parent folder
basku-0.1-1-any.hpkg 2026-06-09 167.9 kB
basku-0.1-2-any.hpkg 2026-06-09 166.7 kB
readme.md 2026-06-09 1.7 kB
bas_pw-2.5-2-x86_64.hpkg 2026-06-09 1.4 MB
bas_mh-2.7-1-x86_64.hpkg 2026-06-09 675.2 kB
bas_2.4-4_gcc2.hpkg 2026-06-09 543.9 kB
bas_mh-2.6-2-x86_64.hpkg 2026-06-09 680.3 kB
Totals: 7 Items   3.6 MB 0

bas

Description: An interpreter for the classic dialect of the programming language BASIC

It is pretty compatible to typical BASIC interpreters of the 1980s, unlike some other UNIX BASIC interpreters, that implement a different syntax, breaking compatibility to existing programs. Bas offers many ANSI BASIC statements for structured programming, such as procedures, local variables and various loop types. Further there are matrix operations, automatic LIST indentation and many statements and functions found in specific classic dialects. Line numbers are not required.

This site contains two variants of bas:

  • bas_mh is Michael Haardt's original version of the language
  • bas_pw is Paul Wratt's adaptation, with improvements to the colour handling and new CHAIN and MERGE commands.

These two packages conflict with one another: Use either one or the other.

basku is a set of routines by me to make bas a more useful language in the Haiku context. In a normal install, the routines will be installed to /boot/system/lib/basku, with documentation in /boot/system/documentation/packages/basku.

Adapted and packaged for Haiku by Michel Clasquin-Johnson. Tested on Haiku R1/beta5 x86_64.

bas

Original Source:

http://www.moria.de/~michael/bas/
https://github.com/paulwratt/bas-2.5-pw

License:

bas_mh: Custom license
bas_pw: MIT
basku: WTFPL

HaikuReadme

Source: readme.md, updated 2026-06-09