1
0
Selaa lähdekoodia

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

Göran Krampe 12 vuotta sitten
vanhempi
commit
e74b3868fd
5 muutettua tiedostoa jossa 33 lisäystä ja 7 poistoa
  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

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 1 - 1
repl/REPL.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 28 - 3
repl/amber.js


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä