progress and some refactoring

This commit is contained in:
Joeri Exelmans 2025-03-31 15:35:02 +02:00
parent d236eca5e5
commit d8ca2f3999
25 changed files with 376 additions and 163 deletions

View file

@ -1,8 +1,11 @@
import { ModuleSymbol } from "./lib/symbol.js";
import { ModuleTypeConstructor } from "./lib/type_constructor.js";
import { ModuleBool } from "./primitives/bool.js";
import { ModuleByte } from "./primitives/byte.js";
import { ModuleChar } from "./primitives/char.js";
import { ModuleDouble } from "./primitives/double.js";
import { ModuleInt } from "./primitives/int.js";
import { ModuleUnit } from "./primitives/unit.js";
import { ModuleFunction } from "./structures/function.js";
import { ModuleList } from "./structures/list.js";
import { ModuleProduct } from "./structures/product.js";
@ -14,12 +17,16 @@ export const ModuleStd = {l:[
...ModuleType.l,
...ModuleTyped.l,
...ModuleTypeConstructor.l,
// Primitive types
...ModuleBool.l,
...ModuleByte.l,
...ModuleChar.l,
...ModuleDouble.l,
...ModuleInt.l,
...ModuleSymbol.l,
...ModuleUnit.l,
// Types that consist of other types
...ModuleFunction.l,