World Library  
Flag as Inappropriate
Email this Article


SmallBASIC Screenshot
Stable release 0.11.17 (Windows/Linux/Android)[1] / March 22, 2015 (2015-03-22)[1]
Implementation language BASIC
License GPL 2
Filename extensions .bas

SmallBASIC is a BASIC programming language dialect with interpreters released as free software under the GNU General Public License version 2.


  • Description 1
  • Intended application 2
  • Platforms 3
  • Reception 4
  • See also 5
  • References 6
  • External links 7


The dialect is described by the authors as a second generation BASIC, and has a lot in common with QBasic. It is a structured BASIC, and contains the most advanced math functions and operators found on graphing calculators such as matrices and Gauss-Jordan method.

Intended application

The "Small" prefix in the name smallBASIC reflects the project's original intention of being used with the Palm, a small hand-held device. SmallBASIC was designed for portability, and is written in C with separate modules containing any code that is unique to a particular platform.[2][3]

SmallBASIC is intended to support the same sorts of applications supported by GW-BASIC and QBASIC on the IBM PC, with support for drawing Graphic Primitives to the screen, creating sounds, String Manipulation, and displaying text in various fonts. SmallBASIC also adds functions such as "File Save", "Save As", "Close File", and "Open File" to the Palm, a device with no native filesystem. SmallBASIC is also intended as a tool for mathematics, with built-in functions for Unit conversion, Algebra, Matrix math, Trigonometry, Statistics, and for two and three dimensional Equation Graphing.[2][3]

Other programming languages for Palm OS that are written in SmallBASIC include Exclamation and Brainfuck.[4]


SmallBASIC was designed to run on minimal hardware. One of the primary platforms supported is Palm OS,[5] where memory, CPU cycles, and screen space are limited. The SmallBASIC graphics engine can use ASCII graphics (similar to ASCII art) and therefore run many programs on pure text devices. SmallBASIC runs even on Palm OS wristwatches made by Fossil, Inc.

It is available for all POSIX-Compliant operating systems (including Linux, BSD, and UNIX),[6] DOS/DJGPP,[7] Win32,[8] FLTK,[9] VTOS,[9] Franklin eBookMan,[10] Cygwin/MingW,[11] Helio/VT-OS,[12] Android,[13] the Nokia N770 Internet Tablet.,[14] and on any system that supports SDL, FLTK, SVGALib, Linux framebuffer, or Windows GUI.


  • Tech Republic calls it "an excellent tool to begin programming with."[15]
  • ASCII-World says "SmallBASIC is an excellent tool for mathematics"[2]
  • David Mertz, Ph.D. and Andrew Blais, Ph.D. of Gnosis Software say "SmallBASIC has one of the better development interfaces [we have] reviewed. "[3]

See also


  1. ^ a b "Browse Files for SmallBASIC".  
  2. ^ a b c "About SmallBASIC". ASCII-World. 22 February 1999. Retrieved 19 January 2011. 
  3. ^ a b c PalmOS Hosted Programming Languages: Using the Palm as a Development Environment
  4. ^ "Esoteric Language Mailing List". Retrieved 19 January 2011. 
  5. ^ Editing text on PalmOS using SmallBASIC.
  6. ^ " Repository - Unix". Retrieved 2011-01-22. 
  7. ^ " Repository - DOS-DJGPP". Retrieved 2011-01-22. 
  8. ^ " Repository - WIN32". Retrieved 2011-01-22. 
  9. ^ a b Gordon McComb (2002). Robot builder's sourcebook. McGraw-Hill Professional.  
  10. ^ " Repository - EBM". Retrieved 2011-01-22. 
  11. ^ "Sigwin/MinG". Retrieved 2011-01-22. 
  12. ^ " Repository - Helio". Retrieved 2011-01-22. 
  13. ^ " Repository - Android". Retrieved 2011-01-22. 
  14. ^ "SmallBASIC - N770 at". Retrieved 2011-01-22. 
  15. ^ McPherson, James (4 June 2001). "Development in the palm of your hand, part 2". Archived from the original on 4 September 2012. Retrieved 19 January 2011. 

External links

  • SmallBASIC on
  • SmallBASIC Home Page at SourceForge
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.