GBW3(1)

๐Ÿ“ฆ
version 3.22.2 ยท 3 versions
, in arch rolling, debian trixie, fedora 43, fedora 44, ubuntu questing, ubuntu resolute, ubuntu stonking

โœจ GBW3(1) โ€” like, the manual page for gbs3 โœจ

okay bestie, welcome to the glow-up of the <pink>gbs3</pink> page ๐Ÿ’– (the man page header literally just says GBW3(1) and we're not fighting it, we're just vibing with it).


๐ŸŒธ NAME ๐ŸŒธ

gbs3 โ€” the GAMBAS Scripter ๐Ÿ‘‘


๐ŸŽ€ SYNOPSIS ๐ŸŽ€

gbs3 [options] [--] [<script file> | -]
gbs3 --convert-project <source project directory> <destination script directory>

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

Gambas is a free development environment built on a Basic interpreter with object extensions โ€” think of it as a little mix of Java(tm) and Visual Basic(tm), fr fr. With Gambas you can:

  • 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, and so on, it's giving versatile ๐Ÿ’…

gbs3 is the interpreter that lets you compile and execute a Gambas script. It may also be used to convert a gambas project to a script.


๐Ÿ’œ OPTIONS ๐Ÿ’œ

  • -b, --buildonly โ€” process and compile the script but do not execute it, no cap ๐Ÿ™ˆ
  • -c, --nocache โ€” force the script compilation, like, do not check the cache ๐Ÿ”ฅ
  • -e โ€” execute the source code provided by the command line (separator is ':') ๐Ÿ’ซ
  • -f, --fast โ€” use just-in-time compiler TP; -g, --debug adds debugging information to application ๐Ÿ›
  • -h, --help โ€” display help and exit, iconic behavior ๐Ÿซถ
  • -l, --list โ€” display a list of available Components or Libraries: '-l component' or '-l library' ๐Ÿ“‹
  • -L, --license โ€” display license ๐Ÿ“œ
  • -S --strict โ€” fail if 'Public' or 'Sub' are defined without a 'main' function; otherwise create main() ๐Ÿ˜ค
  • -t, --trace โ€” turn on tracing option during execution ๐Ÿ”
  • -T, --terse โ€” only print a very terse error report on compile errors ๐Ÿค
  • -u, --use โ€” load component or libraries ('comp1,comp2,lib1...') ๐Ÿงฉ
  • -v, --verbose โ€” be verbose, she's chatty ๐Ÿ’ฌ
  • -V, --version โ€” display version ๐Ÿท๏ธ
  • -w, --warnings โ€” display warnings during compilation โš ๏ธ
  • --convert-project โ€” convert a simple project to a script ๐Ÿ”„

๐ŸŒˆ PROJECT CONVERSION ๐ŸŒˆ

gbs3 can convert a gambas project to an executable script file using the --convert-project option, periodt โœจ

The input project directory is used to create the script, and that script gets written to the output script directory ๐Ÿ“โžก๏ธ๐Ÿ“

The script is created and named the same as the originating project ๐ŸŽ€

gbs3 MyProjectDirectory DestinationScriptDirectory

๐Ÿ’… EXAMPLE ๐Ÿ’…

#!/usr/bin/env gbs3
for i as integer = 0 to 10
  print i;;
next

ate, no crumbs ๐Ÿ“


๐ŸŒธ AVAILABILITY ๐ŸŒธ

The latest version of Gambas can always be obtained from gambas.sourceforge.net, and documentation about the language lives at http://gambaswiki.org/wiki ๐Ÿ“š


๐Ÿ˜ญ REPORTING BUGS ๐Ÿ˜ญ

Report bugs to http://gambaswiki.org/bugtracker โ€” they will fix it bestie, just tell them ๐Ÿ›โžก๏ธ๐Ÿฆ‹


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. โš ๏ธ Like, zero warranty, not even a little one, fr fr.

and that's the whole page, bestie ๐Ÿซถ this one's from August 2024, straight out of the GBW3(1) corner of the manual โ€” mwah ๐Ÿ’‹