Skip to content

feat(interpreter): add built-in vars on SymbolTable - #99

Merged
Alonely0 merged 1 commit into
uutils:mainfrom
Franklin-Qi:feature-task#95-Interpreter-built-in-variables
Jul 30, 2026
Merged

feat(interpreter): add built-in vars on SymbolTable#99
Alonely0 merged 1 commit into
uutils:mainfrom
Franklin-Qi:feature-task#95-Interpreter-built-in-variables

Conversation

@Franklin-Qi

Copy link
Copy Markdown
Collaborator

Store POSIX/gawk built-ins as SymbolTable fields (excluding ENVIRON/PROCINFO/SYMTAB/FUNCTAB), with docs and static defaults. Add set_argc_argv helper.

Closes: #95

Store POSIX/gawk built-ins as SymbolTable fields (excluding
ENVIRON/PROCINFO/SYMTAB/FUNCTAB), with docs and static defaults.
Add set_argc_argv helper.

Closes: uutils#95

@Alonely0 Alonely0 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I'll wire them up in the lowerer and the VM loop after I'm done with some improvements there. I'm trying to eliminate as many panics as possible (other than todo!()s) so we get a as close as possible to a fully panic-free VM.

@Alonely0
Alonely0 merged commit 1e0beb5 into uutils:main Jul 30, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

interpreter: built-in variables

2 participants