Skip to content

Refactor towards nanopass style chaining #27

@pliniker

Description

@pliniker

See discussion on rust-hosted-langs/runtimes-WG#11 regarding the nanopass concept.

In my opinion this is a very relevant idea for this book, given that half the purpose is to provide a baseline for others to build on (in addition, of course, to making it easier to implement LSP or analytics.)

  • How should the interpreter code be refactored to move toward the nanopass concept? Separate crates for parsing and compiling?
  • What should the interface look like between passes? What types?

Metadata

Metadata

Assignees

No one assigned

    Labels

    compilerArea: compilingdata structuresArea: internal data structureshardExperience and/or subject matter knowledge requiredparserArea: lexing and parsing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions