SdlBasic
   HOME

TheInfoList



OR:

SdlBasic is a multiplatform interpreter for
BASIC Basic or BASIC may refer to: Science and technology * BASIC, a computer programming language * Basic (chemistry), having the properties of a base * Basic access authentication, in HTTP Entertainment * Basic (film), ''Basic'' (film), a 2003 film ...
, using the SDL libraries. Its interpreter core is based on wxBasic. The interpreter can be very useful for people who are familiar with ANSI-BASIC interpreters and are curious or needing SDL library features on their coding development. Using the IDE it is possible to create an executable. This implementation helped inspire the RCBasic development environment released under the
zlib license The zlib license is a permissive software license which defines the terms under which the zlib software library can be distributed. It is also used by many other open-source packages. The libpng library uses a similar license, libpng license, s ...
, with an attempt also made at producing an AllegroBASIC for the similar
Allegro Allegro may refer to: Common meanings * Allegro (music), a tempo marking that indicates to playing quickly and brightly (from Italian meaning ''cheerful'') * Allegro (ballet), brisk and lively movement Artistic works * L'Allegro (1645), a poem b ...
library.


History

SdlBasic development started at December 2002, when its author, Vroby (Roberto Viola), got an idea on using SDL libraries on wxBasic core, instead of wxWidgets libraries. There were major releases in 2004, 2005, 2007 and 2012. Prior to 2005 any text editor was used to write program code. In 2005 an IDE was added. In 2012 the package was split into the IDE and the interpreter, although the IDE could be used to run code. Main download site is SourceForge. The support site (online documentation and forum) has moved and has changed maintainer. Now to be found at the link added below, on altervista.org. The original author still contributes to the forum.


PSP Port

On May 22, 2008, SDLBasic was ported to the Sony
PlayStation Portable The PlayStation Portable (PSP) is a handheld game console developed and marketed by Sony Interactive Entertainment, Sony Computer Entertainment. It was first released in Japan on December 12, 2004, in North America on March 24, 2005, and in PA ...
. It allows you to play games and use applications coded in SDLBasic. Recently someone on the qj forums released an update version 0.7 which included video output on the slim.


Licence

SdlBasic is
open source Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use and view the source code, design documents, or content of the product. The open source model is a decentrali ...
and is freely available under the terms of the
GNU General Public Licence The GNU General Public Licenses (GNU GPL or simply GPL) are a series of widely used free software licenses, or copyleft, ''copyleft'' licenses, that guarantee end users the freedom to run, study, share, or modify the software. The GPL was th ...
.


Code example

Function swap( a, b ) tmp = a a = b b = tmp End Function v1=10 v2=20 print v1, v2 swap( v1, v2 ) print v1, v2


References


External links

* *
Online html documentation
{{Integrated development environments BASIC interpreters Software that uses wxWidgets Video game IDE Free integrated development environments Linux integrated development environments Video game development software