SdlBasic is a multiplatform interpreter for BASIC, using the SDL libraries.[1] Its interpreter core is based on wxBasic.[2] 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.[3] This implementation helped inspire the RCBasic development environment released under the zlib license,[4] with an attempt also made at producing an AllegroBASIC for the similar Allegro library.[5] Gambas also provides a built-in SDL component allowing use of BASIC with the library.[6]

History

edit

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.[7] 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

edit

On May 22, 2008, SDLBasic was ported to the Sony PlayStation Portable.[8] It allows you to play games and use applications coded in SDLBasic. Recently[vague] someone[vague] on the qj forums released an update version 0.7 which included video output on the slim.

Licence

edit

SdlBasic is open source and is freely available under the terms of the GNU General Public Licence.

Code example

edit
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

edit
  1. ^ "Making simple games in sdlBasic". No Time To Play. 2017-09-14. Retrieved 2024-02-25.
  2. ^ Silva, Paulo. "Some ideas for wxBasic". nitrofurano. Retrieved 2024-02-25.
  3. ^ "PSP Apps with sdlBasic". Fun Tech Projects. 2017-03-10. Retrieved 2024-02-25.
  4. ^ Cunningham, Rodney. "RCBasic". GitHub. Retrieved 2024-02-26. Special Thanks to the sdlBasic community and the retrogamecoding and BP community.
  5. ^ "AllegroBASIC Homepage". AllegroBASIC. Archived from the original on 2018-11-15. Retrieved 2023-10-07.
  6. ^ "gb.sdl2". Gambas Wiki. Retrieved 2026-01-18.
  7. ^ Shaw, Stephen. "Stephen's sdlBasic programs". Retrieved 2024-02-25.
  8. ^ "sdlBasic v0.5 for the PSP". Archived from the original on 2008-05-25. Retrieved 2008-05-24.
edit

📚 Artikel Terkait di Wikipedia

Linux

form from QB64, PureBasic, Yabasic, GLBasic, Basic4GL, XBasic, wxBasic, SdlBasic, and Basic-256, and in object oriented through Gambas, FreeBASIC, B4X,

BASIC

computers entitled Black Annex was released on Steam. Blitz Basic, Dark Basic, SdlBasic, Super Game System Basic, PlayBASIC, CoolBasic, AllegroBASIC, ethosBASIC

Generational list of programming languages

PureBasic REALbasic (Xojo) TI-BASIC True BASIC Turbo Basic PowerBASIC wxBasic SdlBasic RCBasic XBasic YaBasic MS-DOS Batch files Winbatch CLIST IBM Control Language

WxBasic

Linux and macOS using the GTK+ library. wxBasic is also the basis for the SdlBasic project. The following program implements a text viewer: ' from https://wxbasic

GLBasic

add(vec2) Version 8 can encrypt and decrypt strings using 128-bit Blowfish. SdlBasic, an interpreted BASIC for GP2X Basic4GL Fenix Project, an interpreted language

List of BASIC dialects

"Structured" BASIC, came with Kaypro CP/M systems SAM BASIC (SAM Coupé) sdlBasic Free, multiplatform, based on core of wxBasic, but uses the SDL library

Basic4GL

Basic4GL that wraps more closely to the SDL library (not to be confused with SDLBasic). A successor to Basic4GL was also being developed dubbed "Basic4Games"