Parcourir la source

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

Göran Krampe il y a 12 ans
Parent
commit
e74b3868fd
5 fichiers modifiés avec 33 ajouts et 7 suppressions
  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

Fichier diff supprimé car celui-ci est trop grand
+ 1 - 1
repl/REPL.js


Fichier diff supprimé car celui-ci est trop grand
+ 28 - 3
repl/amber.js


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff