2
0
Prechádzať zdrojové kódy

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

Göran Krampe 12 rokov pred
rodič
commit
e74b3868fd
5 zmenil súbory, kde vykonal 33 pridanie a 7 odobranie
  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

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 1 - 1
repl/REPL.js


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 28 - 3
repl/amber.js


Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov