sigildocs

Reference

Complete reference documentation for Sigil.

Language Reference

Detailed coverage of Sigil language constructs (see Standard Library):

  • Syntax - Expressions, literals, quoting, comments
  • Special Forms - Definitions, bindings, conditionals, iteration
  • Modules - Library definition, imports, exports
  • Macros - syntax-rules, syntax-case, hygiene
  • Records - define-struct, define-record-type
  • Exceptions - guard, raise, exception types

Style Guide

Conventions for writing idiomatic Sigil code (see Standard Library):

  • Naming - Predicates, mutators, conversions, constants
  • Formatting - Indentation, parentheses, line length
  • Idioms - Common patterns and best practices
  • Documentation - Docstring format and conventions

Tools

CLI Reference

Complete documentation for the sigil command-line tool.

Package File

The package.sgl file format for defining package metadata, dependencies, and build configuration.

Quick Links

TopicSection
Running programsCLI: Running Files
REPL usageCLI: REPL
Special formsSpecial Forms
Module definitionModules
Defining structsRecords
Error handlingExceptions
Project setupPackage File