refactored and reworked functions in scarpet

This commit is contained in:
gnembon committed 2019-11-18 00:56:50 -04:00
1 parent 3feb7bffbb
commit 95b85928f9
17 files changed
+362 -220

No files matched your search

@@ -0,0 +1,13 @@
package carpet.script.exception;
import carpet.script.value.Value;
/* Exception thrown to terminate execution mid expression (aka return statement) */
public class ExitStatement extends RuntimeException
{
public Value retval;
public ExitStatement(Value value)
{
retval = value;
}
}