浏览代码

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

Nicolas Petton 12 年之前
父节点
当前提交
ece0334618
共有 2 个文件被更改,包括 358 次插入188 次删除
  1. 357 187
      js/parser.js
  2. 1 1
      st/Makefile

文件差异内容过多而无法显示
+ 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

部分文件因为文件数量过多而无法显示