Skip to content

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

Closed

Description

@iritkatriel

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

Activity

  1. self-assigned this
    on Jul 2, 2024
  2. changed the title [-]Move input validation from compiler to earlier stages[/-] [+]Move import validation from compiler to earlier stages[/+] on Jul 2, 2024
  3. added a commit that references this issue on Jul 2, 2024
  4. changed the title [-]Move import validation from compiler to earlier stages[/-] [+]Move a few bits from compiler to earlier stages to simplify the compiler[/+] on Jul 2, 2024
  5. added a commit that references this issue on Jul 2, 2024
  6. added a commit that references this issue on Jul 3, 2024
  7. added 5 commits that reference this issue on Jul 3, 2024
  8. added 3 commits that reference this issue on Jul 11, 2024
  9. added 3 commits that reference this issue on Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions