forked from ground/ground
print, println, input, ground tutorial
This commit is contained in:
@@ -2338,8 +2338,11 @@ vector<Instruction> parser(vector<vector<string>> in) {
|
||||
newInst.args.push_back(newFnRef);
|
||||
}
|
||||
else if (i == "stdin") newInst.inst = Instructions::Stdin;
|
||||
else if (i == "input") newInst.inst = Instructions::Stdin;
|
||||
else if (i == "stdout") newInst.inst = Instructions::Stdout;
|
||||
else if (i == "print") newInst.inst = Instructions::Stdout;
|
||||
else if (i == "stdlnout") newInst.inst = Instructions::Stdlnout;
|
||||
else if (i == "println") newInst.inst = Instructions::Stdlnout;
|
||||
else if (i == "error") newInst.inst = Instructions::Error;
|
||||
else if (i == "try") newInst.inst = Instructions::Try;
|
||||
else if (i == "catch") newInst.inst = Instructions::Catch;
|
||||
|
||||
Reference in New Issue
Block a user