{
  "id": "ecl",
  "name": "Embeddable Common-Lisp",
  "homepage": "https://ecl.common-lisp.dev/",
  "description": "Embeddable Common Lisp is an implementation of the Common-Lisp language.",
  "executables": [
    "ecl"
  ],
  "dotfiles": {
    "paths": [
      "~/.ecl",
      "~/.eclrc"
    ],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "Run Lisp or compile",
    "description": "Run a Lisp script, load files or evaluate before the REPL, or compile a file to a native program. Linking, encodings and stack/heap sizing are not covered.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": false,
      "short_attached": false,
      "short_bundles": false
    },
    "source": [
      {
        "id": "manpage",
        "kind": "manual",
        "url": "https://manpages.debian.org/unstable/ecl/ecl.1.en.html",
        "revision": "2026-10-27",
        "evidence": "  -?, --help\n  -v, --version,\n  --norc\n  --load file\n  --shell file\n  --eval file\n  -o file\n  -q\n  --compile file\n  Evaluate the file before loading the .rc file and starting\n  --shell file\n  Executes the given file and exits, without providing a\n  --compile file\n  Translates file to C and invokes the local C compiler to produce a\n  -o file\n  Provide the output target file for compilation.\n  -q\n  Short for quiet -- produce less notes.\n"
      }
    ],
    "field": [
      {
        "id": "shell",
        "label": "Run script and exit",
        "type": "path",
        "option": [
          "--shell"
        ],
        "path": {
          "kind": "file",
          "role": "input",
          "must_exist": true
        },
        "sources": [
          "manpage"
        ]
      },
      {
        "id": "load",
        "label": "Load file first",
        "type": "path",
        "option": [
          "--load"
        ],
        "path": {
          "kind": "file",
          "role": "input",
          "must_exist": true
        },
        "sources": [
          "manpage"
        ]
      },
      {
        "id": "eval",
        "label": "Evaluate expression",
        "description": "The manual calls the value a file; ECL evaluates it before the REPL starts.",
        "type": "string",
        "option": [
          "--eval"
        ],
        "sources": [
          "manpage"
        ]
      },
      {
        "id": "norc",
        "label": "Skip configuration files",
        "type": "boolean",
        "option": [
          "--norc"
        ],
        "sources": [
          "manpage"
        ]
      },
      {
        "id": "compile",
        "label": "Compile file to native program",
        "type": "path",
        "option": [
          "--compile"
        ],
        "path": {
          "kind": "file",
          "role": "input",
          "must_exist": true
        },
        "sources": [
          "manpage"
        ]
      },
      {
        "id": "output",
        "label": "Compile output file",
        "type": "path",
        "option": [
          "-o"
        ],
        "path": {
          "kind": "file",
          "role": "output",
          "must_exist": false
        },
        "effect": "overwrite",
        "sources": [
          "manpage"
        ]
      },
      {
        "id": "quiet",
        "label": "Quiet compile",
        "type": "boolean",
        "option": [
          "-q"
        ],
        "sources": [
          "manpage"
        ]
      }
    ],
    "task": [
      {
        "id": "script",
        "label": "Run a script",
        "fields": [
          "shell",
          "norc"
        ],
        "required": [
          "shell"
        ]
      },
      {
        "id": "compile",
        "label": "Compile a file",
        "fields": [
          "compile",
          "output",
          "quiet"
        ],
        "required": [
          "compile"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "shell",
          "load",
          "eval",
          "compile",
          "output"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "norc",
          "quiet"
        ]
      }
    ]
  }
}
