2 Commits

Author SHA1 Message Date
d92f39538b
feat(semantic): implement tree-based string representation for SymbolTable
Signed-off-by: erick-alcachofa <erick@artichoke.dev>

- Add comprehensive toString() implementation for all symbol types.
- Support recursive tree rendering for debugging symbol hierarchies.
- Implement OverloadSet-based visitation for Symbol variants.
2025-12-30 23:19:05 -06:00
f235a72671
feat(semantic): introduce SymbolTable and core semantic data structures
Signed-off-by: erick-alcachofa <erick@artichoke.dev>

- Define core symbol types: Function, Struct, Enum, and Variable.
- Implement recursive TypeSymbol structure with qualifier support.
- Add TemplatedSymbol and TemplateParam for upcoming generic support.
- Implement scoped SymbolTable with parent/inner hierarchy.
2025-12-30 23:16:11 -06:00