fixes for Amber REPL
@@ -1,5 +1,5 @@
repl.js: REPL.st
- ../bin/amberc -m Repl REPL.st amber
+ ../bin/amberc -m Repl -l Compiler-Core,Compiler-Exceptions,Compiler-AST,Compiler-IR,Compiler-Inlining,Compiler-Semantic,parser REPL.st amber
run: repl.js
../bin/amber
@@ -31,7 +31,7 @@ eval: buffer
| result |
buffer isEmpty ifFalse: [
self try: [
- result := Compiler new loadExpression: buffer.
+ result := Compiler new evaluateExpression: buffer.
Transcript show: result]
catch: [:e |
e isSmalltalkError