1 ! Copyright (C) 2008 Chris Double.
2 ! See http://factorcode.org/license.txt for BSD license.
4 USING: kernel tools.test peg.javascript peg.javascript.ast accessors ;
5 IN: peg.javascript.tests
7 \ parse-javascript must-infer
9 { T{ ast-begin f V{ T{ ast-number f 123 } } } } [
10 "123;" parse-javascript