id = "gambit-scheme"
name = "Gambit Scheme"
homepage = "https://gambitscheme.org/"
description = "A complete, portable, efficient and reliable implementation of the Scheme programming language"
executables = ["gsi", "gsc"]
[dotfiles]
paths = ["~/.gambini", "~/.gambini.scm", "~/.gambini.six"]
secret = []
[commands]
format = 1
label = "Run Scheme (gsi)"
description = "Load Scheme files or evaluate expressions with the Gambit interpreter gsi. The gsc compiler and runtime options are not covered."
quality = "ai-draft"
parser = { end_of_options = "--", interleave = "permute", long_equals = false, short_attached = false, short_bundles = false }
[[commands.source]]
id = "man"
kind = "manual"
url = "https://manpages.debian.org/testing/gambc/gsi.1.en.html"
revision = "debian testing 2026-10"
evidence = """
gsi [ -:arg,... ] [ -f ] [ -v ] [[-] [ -e ] [ file ]]...
-e Evaluate an expression.
-f Skip initialization file.
-v Show version of program.
"""
[[commands.field]]
id = "expr"
label = "Evaluate expression"
type = "string"
option = ["-e"]
effect = "exec"
sources = ["man"]
[[commands.field]]
id = "files"
label = "Files to load"
description = "Leave empty (with no expression) for the interactive REPL."
type = "path"
position = 0
multiple = true
min = 0
path = { kind = "file", role = "input", must_exist = true }
sources = ["man"]
[[commands.field]]
id = "skip_init"
label = "Skip initialization file"
type = "boolean"
option = ["-f"]
sources = ["man"]
[[commands.task]]
id = "load"
label = "Load files"
fields = ["files", "skip_init"]
required = ["files"]
[[commands.group]]
id = "basic"
label = "Basic"
fields = ["files", "expr", "skip_init"]