|
@@ -39,7 +39,7 @@ public interface Lisp {
|
|
* @throws LispError
|
|
* @throws LispError
|
|
* if the expression is malformed or cannot be evaluated.
|
|
* if the expression is malformed or cannot be evaluated.
|
|
*/
|
|
*/
|
|
- default Object eval(String expr) throws LispError {
|
|
|
|
|
|
+ default Object evaluateExpr(String expr) throws LispError {
|
|
return evaluate(parse(expr));
|
|
return evaluate(parse(expr));
|
|
}
|
|
}
|
|
}
|
|
}
|