SYX file extension (.sy)
SYX source files use the .sy extension and are UTF-8 encoded. A multi-file project is declared with a syx.toml manifest at the project root.
Minimal layout
text
my-app/
syx.toml
src/
main.syExample syx.toml fields (see the Quick Guide for the full schema):
toml
name = "my-app"
version = "0.1.0"
main = "src/main.sy"Modules are pulled in with import. The toolchain binary is syx (syx-cli).
Association checklist
| Item | Value |
|---|---|
| Source extension | .sy |
| Manifest | syx.toml |
| Run | syx run file.sy |
| Language server | syx lsp |
Related
- Install SYX
- What is SYX?
- Quick Guide — CLI, projects, Native / Wasm