Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
trb
command
|
|
|
internal
|
|
|
ast
Package ast defines the lossless syntax tree.
|
Package ast defines the lossless syntax tree. |
|
checker
Package checker resolves names, infers local declaration types, validates assignments/returns, and records a type for every portable expression.
|
Package checker resolves names, infers local declaration types, validates assignments/returns, and records a type for every portable expression. |
|
codegen/naming
Package naming contains target-independent helpers for encoding TypeRB source names that are not valid identifiers in every backend.
|
Package naming contains target-independent helpers for encoding TypeRB source names that are not valid identifiers in every backend. |
|
compiler
Package compiler owns the public compilation pipeline.
|
Package compiler owns the public compilation pipeline. |
|
declaration
Package declaration defines compiler-owned type information supplied by runtime-library providers.
|
Package declaration defines compiler-owned type information supplied by runtime-library providers. |
|
formatter
Package formatter implements a deterministic, comment-preserving TypeRB printer.
|
Package formatter implements a deterministic, comment-preserving TypeRB printer. |
|
ir
Package ir defines the resolved, target-independent representation consumed by every backend.
|
Package ir defines the resolved, target-independent representation consumed by every backend. |
|
languageservice
Package languageservice provides editor-independent analysis used by the REPL and future browser and language-server adapters.
|
Package languageservice provides editor-independent analysis used by the REPL and future browser and language-server adapters. |
|
lexer
Package lexer provides the lossless lexical layer used by both the compiler and formatter.
|
Package lexer provides the lossless lexical layer used by both the compiler and formatter. |
|
lower
Package lower converts checked syntax AST into the normalized IR.
|
Package lower converts checked syntax AST into the normalized IR. |
|
packages
Package packages generates target package-manager manifests from trbconfig.jsonc.
|
Package packages generates target package-manager manifests from trbconfig.jsonc. |
|
parser
Package parser implements TypeRB's handwritten recursive-descent and Pratt parsers.
|
Package parser implements TypeRB's handwritten recursive-descent and Pratt parsers. |
|
playground
Package playground serves the local TypeRB playground and guided tour.
|
Package playground serves the local TypeRB playground and guided tour. |
|
project
Package project owns trbconfig.jsonc discovery, validation, and persistence.
|
Package project owns trbconfig.jsonc discovery, validation, and persistence. |
|
repl
Package repl implements TypeRB's project-aware interactive evaluator.
|
Package repl implements TypeRB's project-aware interactive evaluator. |
|
resolver
Package resolver turns syntax imports into project or compiler-known package identities before type checking.
|
Package resolver turns syntax imports into project or compiler-known package identities before type checking. |
|
stdlib
Package stdlib describes compiler-known portable and platform packages.
|
Package stdlib describes compiler-known portable and platform packages. |
|
typeprovider
Package typeprovider loads compiler-owned declaration graphs for explicitly imported platform packages.
|
Package typeprovider loads compiler-owned declaration graphs for explicitly imported platform packages. |
|
typeprovider/rails
Package rails supplies TypeRB declarations for Rails and derives ActiveRecord model types from db/schema.rb.
|
Package rails supplies TypeRB declarations for Rails and derives ActiveRecord model types from db/schema.rb. |
|
typeprovider/rails/schema
Package schema defines the normalized AST for the subset of Rails schema DSL that contributes model types.
|
Package schema defines the normalized AST for the subset of Rails schema DSL that contributes model types. |
|
types
Package types contains target-independent semantic types.
|
Package types contains target-independent semantic types. |
|
selfhost
|
|
Click to show internal directories.
Click to hide internal directories.