Skip to main content

Crate windjammer

Crate windjammer 

Source

Modules§

analyzer
auto_clone
auto_fix
cli
codegen
Multi-target code generation
compiler_database
Compiler Database using Salsa for Incremental Compilation
component_analyzer
config
ejector
Ejector - Convert Windjammer projects to standalone Rust projects
error
Windjammer Compiler Error Types
error_catalog
error_codes
error_mapper
error_statistics
error_tui
errors
fuzzy_matcher
inference
interpreter
Windjammerscript: Tree-Walking Interpreter
lexer
linter
Windjammer Linter - Compile predictably, warn helpfully
module_system
optimizer
Windjammer Optimization Phases
parser
Windjammer Parser
parser_impl
parser_recovery
Parser Error Recovery
plugin
source_map
source_map_cache
stdlib_scanner
Scans Rust source files to extract function signatures for the SignatureRegistry This allows the compiler to know the ownership requirements of stdlib functions
syntax_highlighter
test_utils
Test Utilities for Arena-Allocated AST Construction

Macros§

test_expr
Helper macro to create test expressions more ergonomically
test_pattern
Helper macro to create test patterns more ergonomically
test_stmt
Helper macro to create test statements more ergonomically

Enums§

CompilationTarget

Functions§

build_project
generate_mod_file
Generate mod.rs file with pub mod declarations and re-exports
generate_nested_module_structure
Generate nested module structure using the new Windjammer module system This replaces the old flat generate_mod_file with proper nested support
get_relative_output_path
Calculate output path that preserves directory structure
run_main_cli
Main CLI entry point (called from bin/wj.rs after plugin discovery)
run_tests
Run tests (discovers and runs all test functions)
strip_main_functions
Strip main() functions from generated Rust files (library mode)