SMALLTALK(1)

πŸ“¦
version 3.2.5 Β· 2 versions
, in ubuntu jammy

πŸ’– SMALLTALK(1) πŸ’–

okay bestie, welcome to the User Commands section, this is the manual page for Smalltalk β€” the GNU Smalltalk virtual machine 🫢✨


🌸 NAME 🌸

Smalltalk β€” the GNU Smalltalk virtual machine. that's it, that's the whole vibe, it's a VM and it's iconic πŸ’…


✨ DESCRIPTION ✨

so here's how you use GNU Smalltalk, no cap:

gst [ flag ... ] [ file ... ]
gst [ flag ... ] { -f | --file } file [ args ... ]

lowkey important: short flags can show up either as -xyz or as -x -y -z β€” both slay equally πŸ’…. and if an option is mandatory for a long option, bestie it's also mandatory for a short one, periodt. no skipping.

the currently defined set of flags is, and I'm obsessed with every single one:

  • -a, --smalltalk-args β€” pass the remaining arguments to Smalltalk, hand 'em over πŸ’Œ
  • -c, --core-dump β€” dump core on fatal signal. yes it's exactly as dramatic as it sounds 😭
  • -D, --declaration-trace β€” trace compilation of all loaded files, watch it cook πŸ”₯
  • -E, --execution-trace β€” trace execution of all loaded files, main character energy fr
  • -g, --no-gc-message β€” do not print garbage collection messages. quiet luxury ✨
  • -H, --help β€” print this message and exit, the classic escape hatch πŸƒβ€β™€οΈ
  • -i, --rebuild-image β€” ignore the image file; rebuild it from scratch. fresh start era πŸ¦‹
  • --maybe-rebuild-image β€” rebuild the image file from scratch if any kernel file is newer. "maybe" is so real of it πŸ™ˆ
  • -I, --image FILE β€” instead of gst.im, use FILE as the image file, and ignore the kernel files' timestamps. not me ghosting those timestamps πŸ’€
  • -K, --kernel-file FILE β€” make FILE's path relative to the image path
  • -q, --quiet, --silent β€” do not print execution information. shhh, she's in her quiet era 🀫
  • -r, --regression-test β€” run in regression test mode, i.e. make printed messages constant. consistency is the vibe 🌈
  • -S, --snapshot β€” save a snapshot just before exiting. scrapbook moment πŸŽ€
  • -v, --version β€” print the Smalltalk version number and exit, quick lil flex πŸ‘‘
  • -V, --verbose β€” show names of loaded files and execution stats. she's telling you EVERYTHING πŸ—£οΈ
  • --emacs-mode β€” execute as a process (from within Emacs)
  • --kernel-directory DIR β€” look for kernel files in directory DIR
  • --no-user-files β€” don't read user customization files. unbothered, unpersonalized πŸ’œ
  • - β€” read input from standard input explicitly. a single dash, a whole mood ⭐

okay so the flow: files are loaded one after the other. after the last one is loaded, Smalltalk will exit. and if no files are specified, Smalltalk reads from the terminal, with prompts β€” like a lil convo between you and the VM 🫢

and in the second form, the file after -f is the last loaded file; any parameter after that file is passed to the Smalltalk program. iykyk πŸ’…


🧚 AUTHOR 🧚

written by Steve Byrne (sbb@gnu.org) and Paolo Bonzini (bonzini@gnu.org) β€” kings, honestly πŸ‘‘

GNU Smalltalk comes with NO WARRANTY, to the extent permitted by law. and bestie I need you to hear this part loud: you may redistribute copies of GNU Smalltalk under the terms of the GNU General Public License. for more information, see the file named COPYING. that's the whole legal tea β˜•

also, for the record:

  • Using default kernel path: /usr/share/gnu-smalltalk/kernel
  • Using default image path: /usr/lib/gnu-smalltalk

😭 REPORTING BUGS 😭

report bugs to <help-smalltalk@gnu.org> β€” they wanna hear it fr fr.

GNU Smalltalk home page: <http://smalltalk.gnu.org/>. general help using GNU software: <http://www.gnu.org/gethelp/>.

Copyright 2009 Free Software Foundation, Inc.


🌈 SEE ALSO 🌈

the full documentation for Smalltalk is maintained as a Texinfo manual. if the info and the Smalltalk programs are properly installed at your site, this command:

info gst

should give you access to the complete manual. go get that lore πŸ“–βœ¨


that's the whole page bestie, go forth and gst responsibly 🫢

signing off with love: this was Smalltalk version 3.2.5, from September 2021 πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from