Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
sonolus-go
command
sonolus-go is the Go implementation of the sonolus engine compiler.
|
sonolus-go is the Go implementation of the sonolus engine compiler. |
|
internal
|
|
|
compiler/build
Package build packages compiled engine data into the on-disk Sonolus file layout: each datum is gzip-compressed, mirroring sonolus.py's package_data / PackagedEngine.write.
|
Package build packages compiled engine data into the on-disk Sonolus file layout: each datum is gzip-compressed, mirroring sonolus.py's package_data / PackagedEngine.write. |
|
compiler/engine
Package engine is the top-level integration layer: it compiles a Go-authored engine description end-to-end into Sonolus EngineData.
|
Package engine is the top-level integration layer: it compiles a Go-authored engine description end-to-end into Sonolus EngineData. |
|
compiler/frontend
Package frontend is the frontend compilation stage.
|
Package frontend is the frontend compilation stage. |
|
compiler/ir
Package ir is the compiler's mid-level intermediate representation: a statement-level CFG of BasicBlocks holding IR nodes.
|
Package ir is the compiler's mid-level intermediate representation: a statement-level CFG of BasicBlocks holding IR nodes. |
|
compiler/ir/optimize
Package optimize holds CFG optimization passes, ported from sonolus.py's sonolus/backend/optimize.
|
Package optimize holds CFG optimization passes, ported from sonolus.py's sonolus/backend/optimize. |
|
compiler/level
Package level compiles and packages Sonolus levels (charts).
|
Package level compiles and packages Sonolus levels (charts). |
|
compiler/modecompile
Package modecompile contains shared compilation helpers used by the play, watch, and preview mode packages.
|
Package modecompile contains shared compilation helpers used by the play, watch, and preview mode packages. |
|
compiler/pack
Package pack provides the adapter layer between sonolus-go's compiler output and sonolus-pack-go's source tree input.
|
Package pack provides the adapter layer between sonolus-go's compiler output and sonolus-pack-go's source tree input. |
|
compiler/play
Package play compiles and assembles Play-mode engine data.
|
Package play compiles and assembles Play-mode engine data. |
|
compiler/preview
Package preview compiles and assembles Preview-mode engine data.
|
Package preview compiles and assembles Preview-mode engine data. |
|
compiler/snode
Package snode defines the final SNode representation — the output layer of the compiler pipeline.
|
Package snode defines the final SNode representation — the output layer of the compiler pipeline. |
|
compiler/tutorial
Package tutorial compiles and assembles Tutorial-mode engine data.
|
Package tutorial compiles and assembles Tutorial-mode engine data. |
|
compiler/watch
Package watch compiles and assembles Watch-mode engine data.
|
Package watch compiles and assembles Watch-mode engine data. |
|
Package sonolus provides the type declarations and runtime function stubs for Sonolus engine DSL.
|
Package sonolus provides the type declarations and runtime function stubs for Sonolus engine DSL. |
Click to show internal directories.
Click to hide internal directories.