From e8cfd059cc543b3488c98a7efd8f6bbc1540d090 Mon Sep 17 00:00:00 2001 From: SimonFJ20 Date: Wed, 22 Jan 2025 14:09:27 +0100 Subject: [PATCH] new main --- compiler/main.ts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 compiler/main.ts diff --git a/compiler/main.ts b/compiler/main.ts new file mode 100644 index 0000000..c87de99 --- /dev/null +++ b/compiler/main.ts @@ -0,0 +1,22 @@ +type Pack = { + rootMod: Mod; +}; + +type Mod = null; + +interface PackEmitter { + emit(pack: Pack): void; +} + +class PackCompiler { + public constructor( + private entryFilePath: string, + private emitter: PackEmitter, + ) {} + + public compile() { + } +} + +class ModResolver { +}