소스 검색

Merge pull request #289 from mkroehnert/repl

fixes for Amber REPL
Nicolas Petton 12 년 전
부모
커밋
2846b082e2
4개의 변경된 파일311개의 추가작업 그리고 56개의 파일을 삭제
  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

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 297 - 45
repl/amber.js


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.