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
| Topic | Section |
|---|---|
| Running programs | CLI: Running Files |
| REPL usage | CLI: REPL |
| Special forms | Special Forms |
| Module definition | Modules |
| Defining structs | Records |
| Error handling | Exceptions |
| Project setup | Package File |