add interactive prompt
This commit is contained in:
parent
ce192b49f2
commit
94efde3e65
22 changed files with 599 additions and 138 deletions
|
|
@ -12,8 +12,11 @@ const Int_to_Bool = fnType({in: Int, out: Bool});
|
|||
export const Int_to_Int_to_Int = fnType({in: Int, out: Int_to_Int});
|
||||
export const Int_to_Int_to_Bool = fnType({in: Int, out: Int_to_Bool});
|
||||
|
||||
const serialize = x => x.toString();
|
||||
const deserialize = str => BigInt(str);
|
||||
|
||||
export const ModuleInt = [
|
||||
|
||||
export const ModuleInt = {l:[
|
||||
{i: Int , t: Type },
|
||||
|
||||
{i: Int_to_Int_to_Int , t: Function },
|
||||
|
|
@ -24,4 +27,4 @@ export const ModuleInt = [
|
|||
{i: addInt , t: Int_to_Int_to_Int },
|
||||
{i: mulInt , t: Int_to_Int_to_Int },
|
||||
{i: eqInt , t: Int_to_Int_to_Bool },
|
||||
];
|
||||
]};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue