1
0
Kaynağa Gözat

Merge pull request #289 from mkroehnert/repl

fixes for Amber REPL
Nicolas Petton 12 yıl önce
ebeveyn
işleme
2846b082e2
4 değiştirilmiş dosya ile 311 ekleme ve 56 silme
  1. 1 1
      repl/Makefile
  2. 12 9
      repl/REPL.js
  3. 1 1
      repl/REPL.st
  4. 297 45
      repl/amber.js

+ 1 - 1
repl/Makefile

@@ -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

Dosya farkı çok büyük olduğundan ihmal edildi
+ 12 - 9
repl/REPL.js


+ 1 - 1
repl/REPL.st

@@ -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

Dosya farkı çok büyük olduğundan ihmal edildi
+ 297 - 45
repl/amber.js


Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor