You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
307 B

type VariablesTableType = {
[name: string]: {
memoryLocation: number;
memorySize: number;
memoryType: "string" | "int" | "bool";
};
};
type VariablesThingType = {
getVariableMemoryOffset: (varSize: number) => number;
freeVariable: (variableName: string) => void;
};