added lexer and parser basics

This commit is contained in:
2026-03-24 13:42:16 +00:00
parent 833c6ec049
commit d55ec48707
21 changed files with 1057 additions and 581 deletions
@@ -25,6 +25,8 @@ public class FrontendPhasePipelineStage implements PipelineStage {
final var frontendPhaseContext = new FrontendPhaseContext(projectTable, fileTable, ctx.resolvedWorkspace.stack());
final var issues = BuildingIssueSink.empty();
ctx.irBackend = service.get().compile(frontendPhaseContext, logs, issues);
logs.using(log).debug("IR Backend: " + ctx.irBackend);
logs.using(log).debug("Frontend phase completed successfully!");
return issues;
}
}
@@ -46,7 +46,7 @@ public class LoadSourcesPipelineStage implements PipelineStage {
try {
Files.walkFileTree(sourceRootPath, sourceCrawler);
paths.sort(Path::compareTo); // do we really need this for deterministic builds?
paths.sort(Path::compareTo);
} catch (IOException e) {
issues.report(builder -> builder
.error(true)