Parcourir la source

Merge branch 'ast-interpreter' of github.com:NicolasPetton/amber into ast-interpreter

Nicolas Petton il y a 12 ans
Parent
commit
ece0334618
2 fichiers modifiés avec 358 ajouts et 188 suppressions
  1. 357 187
      js/parser.js
  2. 1 1
      st/Makefile

Fichier diff supprimé car celui-ci est trop grand
+ 357 - 187
js/parser.js


+ 1 - 1
st/Makefile

@@ -30,7 +30,7 @@ boot.js init.js:
 # $@ is the target
 # $< is the prerequisite
 parser.js: ../js/parser.pegjs
-	pegjs -e smalltalk.parser $< $@
+	pegjs --track-line-and-column --cache -e smalltalk.parser $< $@
 
 # Then we compile Kernel-*.st files depending on having boot.js, init.js and parser.js
 # $< means the first dependency - in other words Kernel-*.st

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