Open lzw-723 opened 2 years ago
I did see your X11 Label
, you don't need that (it's not required), just plain terminal. You can do: CLI, TUI, DOS, GUI, SDL, cairo, OpenGL, etc.
I just tested it in my desktop (Arch Linux), with CLI:
$ fbc hello.bas
$ ./hello
Hello from FreeBASIC!,
Press any key to continue...
Arch Linux Package showing no GUI dependencies:
Dependencies (7)
ncurses
freebasic (make)
gpm (make)
libffi (make)
libxpm (make)
libxrandr (make)
mesa (make)
I think this should be added, because it's updated (Last release: Dec 25, 2023). And not abandoned like QB64 (Last release: Nov 7, 2021, another BASIC programming language, that was added one year ago). Fun thing, that I can't find qb64 inside Termux using: pkg search qb64
Not that I care too much, just was searching for coding options in Termux Packages
, because there is proot-distro
to have a lot more packages to play with.
Fun thing, that I can't find qb64 inside Termux using:
pkg search qb64
QB64 is in the X11 repo, I don't why its in the X11 repo, it doesn't look like it needs a graphical environment to run, just has the capability to do so.
Either way it should show up in search after enabling the X11 repo using pkg i x11-repo
.
I can give compiling FreeBASIC a shot after I get back from the grocery store, doesn't look too complicated. No guarantees though.
Package description
FreeBASIC is a free/open source (GPL), BASIC compiler for Microsoft Windows, DOS and Linux.
Home page URL
https://www.freebasic.net/index.html
Source code URL
https://github.com/freebasic/fbc
Packaging policy acknowledgement
Additional information
FreeBASIC is a self-hosting compiler which makes use of the GNU binutils programming tools as backends and can produce console, graphical/GUI executables, dynamic and static libraries. FreeBASIC fully supports the use of C libraries and has partial C++ library support. This lets programmers use and create libraries for C and many other languages. It supports a C style preprocessor, capable of multiline macros, conditional compiling and file inclusion.