|
@@ -1,6 +1,5 @@
|
|
package migl.lisp;
|
|
package migl.lisp;
|
|
|
|
|
|
-import java.math.BigInteger;
|
|
|
|
import java.util.LinkedList;
|
|
import java.util.LinkedList;
|
|
import java.util.Queue;
|
|
import java.util.Queue;
|
|
import java.util.regex.Matcher;
|
|
import java.util.regex.Matcher;
|
|
@@ -34,7 +33,7 @@ public class LispImpl implements Lisp {
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public Object evaluate(Object ex) throws LispError {
|
|
public Object evaluate(Object ex) throws LispError {
|
|
- return new BigInteger("3"); //ToDo juste pour passer le test ReplTest
|
|
|
|
|
|
+ return LispEval.evaluate(ex).value;
|
|
}
|
|
}
|
|
|
|
|
|
/* --- Verification --- */
|
|
/* --- Verification --- */
|