38 lines
No EOL
1.2 KiB
JavaScript
38 lines
No EOL
1.2 KiB
JavaScript
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 { ModuleSymbols } from "./primitives/types.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";
|
|
import { ModuleSum } from "./structures/sum.js";
|
|
import { ModuleType } from "./type.js";
|
|
import { ModuleTyped } from "./typed.js";
|
|
|
|
export const ModuleStd = {l:[
|
|
...ModuleType.l,
|
|
...ModuleTyped.l,
|
|
|
|
...ModuleTypeConstructor.l,
|
|
...ModuleSymbols.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,
|
|
...ModuleList.l,
|
|
...ModuleProduct.l,
|
|
...ModuleSum.l,
|
|
]}; |