GBX3(1)

๐Ÿ’… GBX3 โ€” the GAMBAS Interpreter, bestie edition ๐Ÿ’…

okay so you opened the GBX3(1) manual page and it's giving "cryptic Unix scroll" but honestly? it's just your girl gbx3 and she is SO ready to run your Gambas projects. this is section 1 of the manual, and yes we're doing the whole thing, no skips, no cap. ๐ŸŽ€


โœจ NAME โœจ

gbx3 โ€” the GAMBAS Interpreter. that's it, that's the name, she's iconic, periodt. ๐Ÿ‘‘


๐ŸŒธ SYNOPSIS ๐ŸŒธ

gbx3 [options] [<project directory>] [-- <arguments>]
gbx3 -e <expression>

two whole vibes: run a project (with optional args after the --, iykyk), or just yeet a single expression with -e. choose your fighter. ๐Ÿฆ‹


๐Ÿ’– DESCRIPTION ๐Ÿ’–

Gambas is a free development environment built on a Basic interpreter with object extensions โ€” think a lil' mashup of Java(tm) and Visual Basic(tm). and like. the way that you can do SO much with it:

  • quickly design your program GUI with Qt or GTK+ ๐ŸŽจ
  • access database systems like MySQL, PostgreSQL, SQlite or ODBC databases
  • pilot applications with DBus
  • translate your program into many languages ๐ŸŒˆ
  • create GStreamer, OpenGL or SDL applications
  • and so on... literally the list does not end bestie

gbx3 is the interpreter itself โ€” the one that lets you execute a Gambas project, or evaluate a Gambas expression (that's the -e option, we love her). ๐Ÿ”ฅ


โญ OPTIONS โญ

  • -a <path> โ€” override application path. yes you can just. move the app path. slay.
  • -e โ€” evaluate an expression. one-shot mode, no project needed, iconic behaviour ๐Ÿ’…
  • -g โ€” enter debugging mode ๐Ÿ›
  • -h, --help โ€” display help and exit. the classic "wait what does this do again" button ๐Ÿซถ
  • -H, --httpd โ€” run through an embedded http server ๐ŸŒ
  • -j โ€” disable just-in-time compiler. (we're going old school, no JIT for you)
  • -k โ€” do not unload shared libraries
  • -L, --license โ€” display license ๐Ÿ“œ
  • -p <path> โ€” activate profiling and debugging mode
  • -r <path> โ€” redirect standard error output
  • -s <class> โ€” override startup class
  • -t, --trace โ€” dump the position of each executed line of code. yes EVERY line. she's thorough. ๐Ÿ”
  • -T โ€” list all test modules ๐Ÿงช
  • -T <tests> โ€” run the specified test modules
  • -V, --version โ€” display version

๐Ÿงš ENVIRONMENT VARIABLES ๐Ÿงš

these are the lil' settings you whisper into the environment before gbx3 wakes up. so many. all of them valid. ๐Ÿ“

  • GB_DB_DEBUG โ€” set to "1" to enable database component debugging.
  • GB_GUI โ€” define the GUI component that will be loaded by the gb.gui* component family.
  • GB_GUI_DARK_THEME โ€” set to "1" to force dark theme behaviour. (main character energy, always) ๐ŸŒ™
  • GB_GUI_PLATFORM โ€” define the graphic platform used by the GUI components. it can be "x11" or "wayland".
  • GB_HTTPD_DEBUG โ€” set to "1" to enable embedded web server debugging mode.
  • GB_HTTPD_HOST โ€” define the host name used by the embedded web server.
  • GB_HTTPD_PORT โ€” define the port used by the embedded web server.
  • GB_HTTPD_TIMEOUT โ€” define the request timeout of the embedded web server.
  • GB_JIT_CACHE โ€” set to "0" to use the old compilation process that does not use any caching.
  • GB_JIT_CC โ€” define the compiler used by the just-in-time component. "gcc" or "clang" are supported at the moment.
  • GB_JIT_CFLAGS โ€” define the compilation flags used for generating just-in-time code.
  • GB_JIT_DEBUG โ€” set to "1" to enable just-in-time compiler debugging.
  • GB_JIT_ENABLED โ€” set to "0" to disable the just-in-time compiler.
  • GB_JIT_FORCE โ€” set to "1" to ignore the cache and force a new compilation of just-in-time code.
  • GB_JIT_TRACE โ€” set to "1" to display each line executed by the just-in-time compiled code.
  • GB_MEDIA_DEBUG โ€” set to "1" to enable gb.media component debugging.
  • GB_NO_JIT โ€” set to "1" to disable the just-in-time compiler.
  • GB_REVERSE โ€” set to "1" to reverse language direction.
  • GB_STOCK_DEBUG โ€” set to "1" to enable icon theme debugging.
  • GB_WEB_GUI_DEBUG โ€” set to "1" to enable gb.web.gui component debugging.
ok bestie real talk: those "1" / "0" values go in as strings, not as vibes. the quotes are the whole point. ๐Ÿ™ˆ

๐ŸŒˆ AVAILABILITY ๐ŸŒˆ

the Gambas website is at: https://gambaswiki.org/website/

the Gambas source code is available at: https://gitlab.com/gambas/gambas/

the documentation about the language is at: https://gambaswiki.org/wiki


๐Ÿ’€ REPORTING BUGS ๐Ÿ’€

found a bug? report it, queen: http://gambaswiki.org/bugtracker โ€” they want to know, fr fr.


Copyrightยฉ Benoรฎt Minisini <benoit.minisini@gambas-basic.org>;

this is free software; see the source for copying conditions. there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

โš ๏ธ and that NO-warranty thing is not a joke, bestie โ€” it's in all caps in the original for a reason. know what you're running. ๐Ÿ’œ

and that's the whole page, you're officially fluent in gbx3 ๐Ÿซถโœจ this was the GBX3(1) page, sourced and versioned from August 2024 โ€” and honestly? the manual name GBX3(1) lives in your heart now. go run something iconic. ๐Ÿ’…๐ŸŒธ

๐Ÿ“ฆ where this page comes from