Expose mose of the compiler functions/classes as an API

This commit is contained in:
Sam Vervaeck 2023-04-14 19:59:29 +02:00
parent 26f50c5b50
commit e50f45992c
Signed by: samvv
SSH key fingerprint: SHA256:dIg0ywU1OP+ZYifrYxy8c5esO72cIKB+4/9wkZj1VaY

View file

@ -25,3 +25,12 @@ export function parseSourceFile(file: TextFile, diagnostics: Diagnostics): Sourc
return sourceFile; return sourceFile;
} }
export * from "./util"
export * from "./diagnostics"
export * from "./scanner"
export * from "./parser"
export * from "./cst"
export * from "./analysis"
export * from "./checker"
export * from "./program"