[gambit-list] Gambit at 30 PDFs

Marc Feeley feeley at iro.umontreal.ca
Tue Oct 15 14:22:19 EDT 2019


The Gambit at 30 workshop was a blast!  For those who couldn’t make it, you can find PDFs for some of the presentations on github at https://github.com/gambit/gambit-at-30 .

The repository also contains the compressed image of mimosa for running Gambit on bare metal.  You can copy the image to a real IDE HDD and use it to boot a real PC, or use the QEMU emulator like this:

    % gunzip -c mimosa.img.gz > mimosa.img
    % qemu-system-i386 -m 1G -hda mimosa.img

Once booted, here are some interesting things to type
at the Gambit REPL:

    > (current-directory)
    > (directory-files)
    > (load "fact.scm")
    > (load "fib.scm")             ;; run it interpreted
    > (compile-and-load "fib.scm") ;; run it compiled to x86
    > (load "x86-asm.scm")         ;; x86 assembler example
    > (load "x86-os.scm")          ;; read RTC with in/out instructions
    > (edit "fib.scm")             ;; save/exit with ESC key

The state of the filesystem is preserved in mimosa.img.  This includes
the REPL history and any files generated or edited with `(edit ...)`.

Have fun!

Marc





More information about the Gambit-list mailing list