News for hackers. Stuff that matters.
Re:C++ Modules Might Be Dead-On-Arrival by ginko on Monday January 28, 2019 @08:39AM (#19017302)
You only need to parse the "module <module name>" and "import <module name>" statements. No need to parse all of C++ for that. You could probably even do that with a regex.
Re:C++ Modules Might Be Dead-On-Arrival by galangalalgol on Monday January 28, 2019 @10:17AM (#19018035)
It also has to do all the preprocessing to see which import statements get hit. I don't think templates could control at compile time which module to import, at least I hope not.