How hideinpine/dron-lang works
Dronc is a small Rust language front end. A user runs the CLI with a source-file path; the CLI reads text, converts it to characters, tokenizes lexical constructs, and dispatches the resulting tokens to the parser. The parser currently recognizes function declarations and validates their names, reporting results to the console. The public checker provides a separate character-level inspection API. The README is empty, so this map is based on the sampled runtime source; execution and code generation are not evidenced.
Components 12
Input Handling
- CLI Entry
dronc/src/main.rs
Lexical Analysis
- Tokenizer
dronc/src/lexer.rs - Lexical Rules
dronc/src/lexer.rs - Token Model
dronc/src/lexer.rs - Lexical Checker
dronc/src/lexer.rs
Parsing
- Parser Core
dronc/src/parser.rs - Keyword Matcher
dronc/src/parser.rs - Name Errors
dronc/src/parser/functione.rs
Other components
- User
- Library Caller
- Source File
- Console
Connections 15
- User → CLI Entry: runs
- CLI Entry → Source File: reads
- CLI Entry → Tokenizer: passes characters
- Tokenizer → Lexical Rules: classifies with
- Tokenizer → Token Model: creates tokens
- Tokenizer → Parser Core: dispatches tokens
- Parser Core → Token Model: reads tokens
- Parser Core → Keyword Matcher: matches functions
- Keyword Matcher → Name Errors: reports invalid names
- Tokenizer → Console: prints tokens
- Parser Core → Console: prints results
- Name Errors → Console: prints errors
- Library Caller → Lexical Checker: checks characters
- Lexical Checker → Lexical Rules: classifies with
- Lexical Checker → Console: prints findings