How nuistmrchest/oblivia_release works
Oblivia is an interpreted scripting language with file execution and an interactive REPL. The main workflow accepts source, tokenizes it, builds and executes statements, evaluates expressions, and operates on typed runtime values and scoped variables. Statement implementations cover control flow, input/output, functions, references, and includes; the REPL also exposes variable and scope commands. Relationships below follow the sampled source index and README; unsampled statement details are grouped by their existing implementation directory.
Main entry points: variable.cpp Scoped variables · expression.cpp Expression evaluator · interpreter.cpp File interpreter · repl.cpp Interactive REPL
Components 17
Entry modes
- Program entry
main.cpp - File interpreter
implement/interpreter.cpp - Interactive REPL
implement/repl.cpp
Language processing
- Tokenizer
Tokenize/implement/tokenize.cpp - Token checker
Tokenize/implement/checker.cpp - Expression evaluator
Expression/implement/expression.cpp
Execution runtime
- Statement execution
Statement/implement - Execution status
Situation/implement/situation.cpp
Runtime values
- Scoped variables
TypeSystem/implement/variable.cpp - Arrays
TypeSystem/implement/array.cpp - Objects
TypeSystem/implement/object.cpp - Numbers
TypeSystem/implement/number.cpp - Strings
TypeSystem/implement/string.cpp - References
TypeSystem/implement/reference.cpp - Operators
TypeSystem/implement/operator.cpp - Functions
TypeSystem/implement/function.cpp
Other components
- Script user
Connections 24
- Script user → Program entry: starts
README.md - Program entry → File interpreter: runs files
main.cpp - Program entry → Interactive REPL: starts REPL
main.cpp - File interpreter → Tokenizer: tokenizes source
implement/interpreter.cpp - File interpreter → Statement execution: executes statements
implement/interpreter.cpp - File interpreter → Expression evaluator: evaluates expressions
implement/interpreter.cpp - Interactive REPL → Tokenizer: tokenizes input
implement/repl.cpp - Interactive REPL → Statement execution: executes statements
implement/repl.cpp - Interactive REPL → Expression evaluator: evaluates expressions
implement/repl.cpp - Tokenizer → Token checker: checks tokens
Tokenize/implement/tokenize.cpp - Tokenizer → Expression evaluator: recognizes expressions
Tokenize/implement/tokenize.cpp - Statement execution → Expression evaluator: evaluates conditions
Statement/implement/if.cpp - Statement execution → Scoped variables: updates bindings
TypeSystem/implement/variable.cpp - Expression evaluator → Scoped variables: resolves values
Expression/implement/expression.cpp - Expression evaluator → Operators: applies operators
- Scoped variables → Arrays: stores values
TypeSystem/implement/variable.cpp - Scoped variables → Objects: stores values
TypeSystem/implement/variable.cpp - Scoped variables → Numbers: stores values
TypeSystem/implement/variable.cpp - Scoped variables → Strings: stores values
TypeSystem/implement/variable.cpp - Scoped variables → References: stores values
TypeSystem/implement/variable.cpp - Scoped variables → Functions: stores values
TypeSystem/implement/variable.cpp - Arrays → Scoped variables: contains elements
TypeSystem/implement/array.cpp - Objects → Scoped variables: contains attributes
TypeSystem/implement/object.cpp - References → Scoped variables: references bindings
TypeSystem/implement/reference.cpp