wolfgarnet
3b2178bf55
Added FunctionStatement
2016-02-19 13:14:42 +01:00
Christian Wolfgang
d65b096ff3
[ #148 ] Fixed style in lexer
2016-01-17 20:08:44 +01:00
wolfgarnet
54a2be367f
[ #148 ] Fixed style
2016-01-12 12:13:04 +01:00
wolfgarnet
9f65b62899
[ #148 ] Grouped statements
2016-01-12 11:14:02 +01:00
wolfgarnet
c356c94888
[ #148 ] Do not make context switch if not necessary
2016-01-12 11:02:09 +01:00
wolfgarnet
8cd2f8fd93
[ #148 ] Added test parser to set mode
2016-01-12 10:17:29 +01:00
wolfgarnet
3903251f9a
[ #148 ] Updated lexer unit tests
2016-01-12 10:16:25 +01:00
wolfgarnet
6d8bdc96fd
[ #148 ] Added mode to store comments
2016-01-12 10:15:49 +01:00
wolfgarnet
fa2636115f
Added parser benchmark
2016-01-11 14:07:31 +01:00
wolfgarnet
f304d96c25
[ #148 ] Including disabled tests
2016-01-11 09:22:15 +01:00
wolfgarnet
09ad467104
[ #148 ] Lower cased errors
2016-01-11 09:20:14 +01:00
wolfgarnet
36da11f822
[ #148 ] Removed temporary comment variables
2016-01-11 09:16:46 +01:00
wolfgarnet
fc505844b4
[ #148 ] Removed superfluous lines
2016-01-11 09:15:29 +01:00
wolfgarnet
6cd63e968f
[ #148 ] Added empty expressions instead of nil
...
Instead of having nils for empty array elements, empty expressions are used.
This will add support for comments for empty array elements.
2016-01-04 11:06:22 +01:00
wolfgarnet
af88758381
[ #148 ] Storing comments to a commentmap
2015-12-17 13:50:33 +01:00
Conrad Pankoff
89a9f14981
Merge pull request #139 from deoxxa/fix-bracket-parsing-with-new
...
fix parsing of statements like `new a["b"]`
2015-12-03 08:43:55 +11:00
Conrad Pankoff
81e59b239e
Merge pull request #129 from zupa-hu/patch-3
...
Fix missing filename in compile-time error
2015-12-01 15:14:13 +11:00
deoxxa
33ac8bd28a
fix parsing of statements like new a["b"]
2015-11-02 16:13:03 +11:00
zupa
8a2b09b14d
Fix missing filename in compile-time error
2015-06-26 18:46:52 +01:00
Dmitry Panov
1e5ee63535
Fixed stacktrace positions.
2015-04-01 21:03:24 +01:00
Robert Krimen
e6768252c2
Improve error reporting
...
* Delay entering global scope on code evaluation, not runtime creation
This fixes #66
2014-06-12 21:27:32 -07:00
Robert Krimen
470b8c3b73
terst
...
* Update to latest github.com/robertkrimen/terst
* Clean up testing
2014-04-25 22:48:25 -07:00
Robert Krimen
bf7b16f4a3
Add internal compilation step
...
* Streamline what we get from "otto/parser"
* Get rid of some "otto/parser" cruft
* FunctionExpression => FunctionLiteral
* The debugger statement (debugger) should do nothing (not panic)
* Fix aspects of function expression call evaluation
2014-04-19 14:05:51 -07:00
Robert Krimen
8aca2c886a
Disable script marshalling/unmarshalling for now
2014-04-15 18:34:24 -07:00
Robert Krimen
ddca88af9b
Add compilation (Script, vm.Compile, etc.)
2014-04-13 15:04:32 -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