2
0
Pārlūkot izejas kodu

Fixes for REPL, included in top Makefile, fixed clean and make run etc.

Göran Krampe 12 gadi atpakaļ
vecāks
revīzija
e74b3868fd
5 mainītis faili ar 33 papildinājumiem un 7 dzēšanām
  1. 2 1
      Makefile
  2. 0 0
      bin/amber
  3. 2 2
      repl/Makefile
  4. 1 1
      repl/REPL.js
  5. 28 3
      repl/amber.js

+ 2 - 1
Makefile

@@ -1,10 +1,11 @@
 # Makefile for sub directories
 AMBER = st
 SERVER = server
+REPL = repl
 EXAMPLES = examples
 
 # REST is all except AMBER
-REST = $(SERVER) $(EXAMPLES)
+REST = $(SERVER) $(EXAMPLES) $(REPL)
 
 # And these are all
 DIRS = $(AMBER) $(REST)

+ 0 - 0
bin/amber


+ 2 - 2
repl/Makefile

@@ -2,7 +2,7 @@ repl.js: REPL.st
 	../bin/amberc -m Repl -l Compiler,parser REPL.st amber
 
 run: repl.js
-	./amber
+	../bin/amber
 
 clean:
-	rm -f amber.js
+	rm -f amber.js REPL.js

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 1 - 1
repl/REPL.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 28 - 3
repl/amber.js


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels