Take a look at FreeBASIC . It is an open source compiler and is available for Windows, Linux, and DOS platforms. Its licenses are GPL and partially LGPL.
On the one hand, its syntax is similar to QBasic. For even better compatibility with legacy QBasic programs, it offers a QB compatibility mode that can be activated using the -lang qb command line -lang qb (see the compiler dialect page on the wiki ) or the preprocessor directive. So you can see him as an unofficial successor to QB.
On the other hand, it adds quite a few new features to the traditional BASIC world, for example,
- OOP (including inheritance),
- DirectX based 2D graphics
- OpenGL support,
- pointers
- network / internet programming using WinSock, etc.,
- bindings for many libraries, including curl, BASS, MySQL C-API, ...
There are several IDEs available for FreeBASIC. So you can choose the one you like best:
In addition, Geany , since the universal editor has built-in support for FreeBASIC. Its syntax highlighting is also suitable for QB source codes.
All IDEs and editors mentioned in this publication are open source software, or at least free.
source share