Robert Krimen
470b8c3b73
terst
...
* Update to latest github.com/robertkrimen/terst
* Clean up testing
2014-04-25 22:48:25 -07:00
Robert Krimen
f04cfab02d
Add ability to parse []byte, *bytes.Buffer, io.Reader
2014-04-11 18:07:57 -07:00
Robert Krimen
ad8a97c028
New parser
...
* Faster, more straightforward, etc.
* More advanced object literals (get ..., set ...)
* More tests using JavaScript from the wild (http://cdnjs.com/ )
2014-04-10 20:42:25 -07:00
Robert Krimen
89a849c136
Fix: "[object Object]" (Should be a SyntaxError)
2014-01-20 10:29:41 -08:00
Robert Krimen
c6e033bf6c
Fix Array initialization (in the case of [,...], etc.)
2013-06-02 16:41:34 -07:00
Robert Krimen
cfd5635e46
Fix iterator evaluation to return the proper result if a break happens
2013-04-27 22:03:12 +02:00
Robert Krimen
9184233705
Bundle terst dependency (github.com/robertkrimen/terst)
2013-04-15 10:20:34 -07:00
Robert Krimen
d0132833fb
SyntaxError => ReferenceError
2013-03-06 11:58:39 -08:00
Robert Krimen
bada1b6b24
Fix passing the wrong value to calculateBinaryOperation
...
Was passing left instead of leftValue
2013-03-05 18:10:14 -08:00
Robert Krimen
e4583ba25f
Add future keywords checking
2013-02-17 22:39:43 -08:00
Robert Krimen
20d2e8bba6
gofmt
...
Ugh.
2013-01-25 09:59:42 -08:00
Robert Krimen
75ea5e32a4
Accept adjacent commas in array literals
2012-11-06 10:47:47 -08:00
Robert Krimen
2390419e97
Add backreferencing "test" :(
2012-10-20 13:57:13 -07:00
Robert Krimen
cd4f36ce98
Fix not skipping /* & // after encountering them
2012-10-20 13:45:58 -07:00
Robert Krimen
1728c036d4
Partial rewrite of lexer
...
- Better identifier scanning
- Less repetition in decoding the stream (cached in readIn)
- Method privitization
2012-10-19 12:24:53 -07:00
Robert Krimen
6e533b9e67
Require identifier for declared functions
2012-10-16 10:27:20 -07:00
Robert Krimen
89e26f042e
Allow empty test/update in for statements
...
Fix #1
2012-10-14 10:42:06 -07:00
Robert Krimen
7dfbf6ab13
Better regular expression syntax checking
...
And a limitation elaboration
2012-10-12 18:55:41 -07:00
Robert Krimen
0681483ac6
Fix <return> => <throw>
2012-10-07 18:43:56 -07:00
Robert Krimen
4a8c7ffc00
Initial commit
2012-10-05 18:47:53 -07:00