◐ Shell
clean mode source ↗

Move a few bits from compiler to earlier stages to simplify the compiler

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Closed

Assignees

iritkatriel

@iritkatriel

Description

There are validations in compile.c that can move to earlier stages (AST validation or symtable construction).

And the compiler is modifying the symbol table (setting ste_coroutine), which it really shouldn't be doing.

This will simplify the compiler, which is one of the largest code components of the interpreter.

Linked PRs

Metadata

Metadata

Assignees

Labels

No labels

No labels

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions