Skip to content

Latest commit

 

History

History

api

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

API Documentation

Generated documentation for the project.

Auto-generated from doc comments by luma -docs. Do not edit by hand.

Modules

  • main — Entry point of the Luma compiler driver.
  • ast_expr — Expression AST node constructors.
  • ast_module — Constructors for the preprocessor AST nodes: @module, @use, @os, and
  • ast_type — Constructors for the type AST nodes: basic, pointer, array, function, and
  • ast_stmt — Constructors for the statement AST nodes: the program root, declarations
  • ast — Core AST definitions: the AstNode base struct, the NodeType,
  • ast_print — Pretty-printer for the AST: renders any *AST::AstNode as an indented,
  • constants — Compiler-wide constants and shared configuration types.
  • error — Compiler error reporting.
  • lexer_tokens — Token types, token and error structures, and the keyword and operator
  • lexer — Scans raw source text into a stream of tokens: whitespace and comments
  • parser_file — Entry point for parsing a whole source file: reads and lexes the file,
  • parser_type — Parses type syntax - primitive, pointer, array, resolution and function
  • parser — Core parser state and helpers: the Parser struct over the token stream,
  • parser_expr — Parses Luma expressions into AST nodes (a Pratt / precedence-climbing parser).
  • parse_stmt — Parses Luma statements into AST nodes.
  • tc_core — Core shared data types for the type checker.
  • tc_type — Type-related helpers for the type checker.
  • tc_scope — Scope management for the type checker.
  • tc_generics — Monomorphization for fn<T>/struct<T>/enum<T> (see docs/docs.md's
  • tc_expr — Typechecking of Luma expressions.
  • tc_error — Error reporting for the Luma typechecker.
  • tc — Driver for the Luma typechecker.
  • tc_stmt — Statement typechecking and declaration registration.
  • cg_core — Core code-generation support shared by the C backend.
  • cg_type — C type emission for the codegen backend.
  • cg_expr — Expression codegen for the C backend.
  • cg_stmt — Statement codegen for the C backend.
  • codegen — Top-level codegen driver for the C backend.
  • auto_docs — Automatic API documentation generator.
  • commands — Command-line argument parsing and driver text for the luma tool.
  • lsp_transport — JSON-RPC-over-stdio transport for the Luma language server.
  • lsp_document — Document tracking + single-file analysis for the Luma language server.
  • lsp_dispatch — JSON-RPC method dispatch for the Luma language server.
  • lsp_main — Entry point for the self-hosted Luma language server.