Skip to content
This repository has been archived by the owner on Nov 18, 2023. It is now read-only.

Consistent NodeID to leverage incremental compilation #41

Open
ryo33 opened this issue Nov 14, 2022 · 0 comments
Open

Consistent NodeID to leverage incremental compilation #41

ryo33 opened this issue Nov 14, 2022 · 0 comments
Labels
🔰 good first issue Good for newcomers 🙇 help wanted Extra attention is needed Workspace

Comments

@ryo33
Copy link
Member

ryo33 commented Nov 14, 2022

Background

  • deskc does incremental compilation for Desk-lang code.
  • dworkspace emits ASTs with inconsistent NodeId in most cases.

Problem

In most cases, full compilation occurs because NodeIds are changed.

Solution

  • Use moka for persistent generated NodeIds.
@ryo33 ryo33 added 🙇 help wanted Extra attention is needed 🔰 good first issue Good for newcomers Workspace labels Nov 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🔰 good first issue Good for newcomers 🙇 help wanted Extra attention is needed Workspace
Projects
None yet
Development

No branches or pull requests

1 participant