Neha Patil (Editor)

WxBasic

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Developer(s)
  
David Cuny

Operating system
  
Cross-platform

Initial release
  
2002; 15 years ago (2002)

Stable release
  
2.8.12.37 / June 29, 2014; 2 years ago (2014-06-29)

License
  
GNU Lesser General Public License

Website
  
wxbasic.sourceforge.net

wxBasic is a free software / open-source software, cross-platform BASIC interpreter. As it is based on syntax of the BASIC language, it is designed to be simple to learn and understand, and allow novice programmers to write applications for graphical environments like Windows and Linux with minimal effort. As of September, 2004, the software is in a beta state, but it is effective enough for use in hobby programming. wxBasic is a bytecode based language, like Perl or Java. It is licensed under the LGPL, so proprietary software's source code can be linked against it.

It can create stand-alone executables by binding together source code with the interpreter. In contrast with executables created by similar commercial programs like Visual Basic, executables produced by wxBasic do not require any external DLL file, resource file, or installer to run. The executable is distributed alone and can be run immediately by end-users. As with programs written in any interpreted language, wxBasic programs may also be run straight from the source code on any platform, if wxBasic is present.

wxBasic is written primarily in C, with some C++ linking it to the wxWidgets library. wxWidgets supplies the cross-platform features. It runs on Microsoft Windows using native controls, and on Linux and macOS using the GTK+ library.

Example

The following program implements a text viewer:

References

WxBasic Wikipedia