wolfgarnet
1003ce01cb
DotExpression identifier as pointer
2016-02-19 13:15:14 +01:00
wolfgarnet
3b2178bf55
Added FunctionStatement
2016-02-19 13:14:42 +01:00
Conrad Pankoff
53221230c2
Merge pull request #149 from wolfgarnet/commentmap
...
Storing comments in a commentmap
2016-02-19 09:43:13 +11:00
Conrad Pankoff
9c8301a8b3
Merge pull request #163 from deoxxa/external-random-source
...
add support for an external Math.random() provider
2016-02-18 22:10:03 +11:00
deoxxa
fd1eddd0f9
add support for an external Math.random() provider
2016-02-18 22:08:25 +11:00
Steven Hartland
c21072f61b
Merge pull request #157 from kazhuravlev/patch-1
...
Fix example
2016-01-29 12:10:11 +00:00
kazhuravlev
2bebd7b731
Fix example
2016-01-29 14:15:00 +03: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
17dd6bba73
[ #148 ] Removed display comment map
2016-01-06 09:25:44 +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
b9d17aea26
[ #148 ] Added empty expression
2016-01-04 11:06:04 +01:00
wolfgarnet
af88758381
[ #148 ] Storing comments to a commentmap
2015-12-17 13:50:33 +01:00
deoxxa
089191042f
more tests for Context method
2015-12-06 12:04:12 +11:00
Conrad Pankoff
f28ccbfeea
Merge pull request #147 from darkliquid/issue-145
...
Add Context method to aid debugging
2015-12-06 12:03:00 +11:00
Andrew Montgomery-Hurrell
45c7a8df39
Add Context method to aid debugging
...
This change introduces a Context method to otto that allows developers to get
information about the current execution context. The method returns a Context
struct that contains information such as the filename, line and column of the
current execution, the current value of this, the stacktrace and the available
symbols at the current context.
2015-12-05 18:03:36 +00:00
Conrad Pankoff
cf4c2644df
Merge pull request #146 from deoxxa/add-repl
...
add simple repl
2015-12-05 22:47:07 +11:00
deoxxa
21565ef2e0
add simple REPL
2015-12-05 22:45:57 +11:00
Conrad Pankoff
4a7676e51c
Merge pull request #142 from deoxxa/add-debugger-hook
...
add a way to trigger something with `debugger`
2015-12-05 21:14:00 +11:00
Conrad Pankoff
f18a7b9ae3
Merge pull request #143 from deoxxa/add-external-eval-function
...
add Eval() to execute code in the current vm scope
2015-12-05 21:08:07 +11:00
deoxxa
dea2645a65
comment the crazy test case for Eval
2015-12-05 21:03:55 +11:00
deoxxa
44a4b3115d
support and test Eval() without an existing scope
2015-12-05 20:24:12 +11:00
deoxxa
5a0a713da1
add tests for debugger functionality
2015-12-05 19:27:06 +11:00
deoxxa
7f15b1724e
add a way to trigger something with debugger
2015-12-05 19:25:33 +11:00
deoxxa
9afbdc1417
add test for Eval function
2015-12-05 19:17:57 +11:00
deoxxa
72211f7dbb
add Eval() to execute code in the current vm scope
2015-12-05 19:05:21 +11:00
Steven Hartland
8aa4915210
Merge pull request #92 from BiggerNoise/master
...
Test map[string]interface{} using Set & Call behave the same
2015-12-04 15:52:16 +00: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
b5ae8b65d7
Merge pull request #134 from deoxxa/fix-getter-setter-clone
...
fix cloning getter/setter props
2015-12-03 08:43:25 +11:00
deoxxa
411cc9afd3
add test for for cloning an object with a get/set property
2015-12-02 07:12:53 +11:00
deoxxa
63e8fc71de
fix cloning getter/setter props
2015-12-02 07:12:53 +11:00
Steven Hartland
7ad419ed2b
Merge pull request #86 from sdgoij/issue86
...
Fix panic: in.value.(Value) != true
2015-12-01 13:20:00 +00:00
Steven Hartland
af6c304c5a
Merge pull request #107 from multiplay/call-params
...
Improve method call parameter processing
2015-12-01 13:14:24 +00:00
Steven Hartland
526e6b2be2
Merge pull request #106 from multiplay/float-precision
...
Prevent loss of float precision
2015-12-01 13:13:51 +00:00
Steven Hartland
e378501ad1
Merge pull request #108 from multiplay/array-types
...
Export arrays to common type if possible
2015-12-01 13:13:00 +00:00
Steven Hartland
9c2f751789
Merge pull request #102 from multiplay/arg-processing
...
Fix argument processing for call
2015-12-01 13:11:44 +00:00
Steven Hartland
76d7cb8c49
Merge pull request #111 from dmitris/gofmt
...
minor spacing changes for gofmt compliance
2015-12-01 13:08:41 +00:00
Conrad Pankoff
a0b60d71e6
Merge pull request #112 from emicklei/master
...
Issue #81 add CallerLocation to FunctionCall
2015-12-01 15:18:58 +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
Conrad Pankoff
fcd7dbbdfc
Merge pull request #115 from dop251/fix_stacktrace
...
Fixed stacktrace positions.
2015-12-01 15:11:42 +11:00