mirror of
https://git.sfja.dk/Mikkel/slige.git
synced 2025-01-30 22:20:54 +00:00
new main
This commit is contained in:
parent
00298d6d83
commit
e8cfd059cc
22
compiler/main.ts
Normal file
22
compiler/main.ts
Normal file
@ -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 {
|
||||
}
|
Loading…
Reference in New Issue
Block a user