Home / shbasic
Name Modified Size InfoDownloads / Week
Parent folder
shbasic-0.70-1-x86_64.hpkg 2026-06-14 105.1 kB
readme.md 2026-06-14 1.1 kB
Totals: 2 Items   106.2 kB 0

shbasic

Description: Convert BASIC to Pascal

shBasic (formerly bas2pas) is a new programming language based on BASIC and the power and portability of Object Pascal using source-to-source compiling.

shBasic can translate or translate and compiling source code using its own dialect on .bas files to standard FreePascal .pas files.

All functions, procedures, variables, constants and classes from Object Pascal are still usable in pure mode or wrapped, ; (semicolon) is not needed

Characteristics:

  • Compiles with FreeBASIC
  • Free software under Utach OSS License
  • Uses a new BASIC dialect based on FreeBASIC
  • The most used elements and conditions of QBASIC can be translated
  • Ability to add Object Pascal code lines
  • Does not have the ability to include headers in Basic.
  • Includes examples

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

Requires: FreePascal
Original Source:: https://sourceforge.net/projects/basic-to-pascal/
License: Utach OSS (Modified GPL2)

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