SpyglassMC / Spyglass

Development tools for vanilla Minecraft: Java Edition data pack developers.
https://spyglassmc.com
MIT License
303 stars 31 forks source link

Explore potentially splitting parsing and binding #967

Open SPGoding opened 2 years ago

SPGoding commented 2 years ago

The parser is responsible for both producing the AST and inserting symbols into the symbol table at the moment. By separating the parsing and binding process, we can eliminate side effects of parsers and run parsers for different files concurrently using web workers (on browser) / worker threads (on Node.js).

Potential libraries we could use:

misode commented 2 months ago

@SPGoding Has this issue not been completed already? Or would you want to actually do the concurrent parsing?