Documentation ¶
Index ¶
- Constants
- func JSONDump(v any) string
- func ParseEntityRef(ref string) src.EntityRef
- func Pointer[T any](v T) *T
- func SaveFilesToDir(dst string, files map[string][]byte) error
- type Analyzer
- type Backend
- type Builder
- type Compiler
- type Desugarer
- type Error
- type IRGenerator
- type Parser
- type RawBuild
- type RawModule
- type RawPackage
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func ParseEntityRef ¶ added in v0.5.0
ParseEntityRef assumes string-ref has form of <pkg_name>.<entity_name≥ or just <entity_name>.
Types ¶
type Compiler ¶
type Compiler struct {
// contains filtered or unexported fields
}
type Error ¶
type IRGenerator ¶
type RawModule ¶
type RawModule struct { Manifest src.ModuleManifest // Manifest must be parsed by builder before passing into compiler Packages map[string]RawPackage // Packages themselves on the other hand can be parsed by compiler }
type RawPackage ¶
Directories ¶
Path | Synopsis |
---|---|
Package analyzer implements source code static semantic analysis.
|
Package analyzer implements source code static semantic analysis. |
backend
|
|
Package irgen implements IR generation from source code.
|
Package irgen implements IR generation from source code. |
Package parser implements source code parsing.
|
Package parser implements source code parsing. |
Click to show internal directories.
Click to hide internal directories.