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
Conrad Pankoff
1704aa9869
Merge pull request #119 from flowlo/patch-1
...
Fix README: s/windows/window/
2015-12-01 15:03:13 +11:00
deoxxa
33ac8bd28a
fix parsing of statements like new a["b"]
2015-11-02 16:13:03 +11:00
Dmitry Panov
432b4361a7
Fixed TypeError message when evaluating a.b["c"] where a.b is undefined.
2015-10-15 21:07:43 +01:00
zupa
0b15bb491a
Fix missing filename in compile-time error
2015-08-02 10:39:24 +02:00
Ernest Micklei
a05ab134d2
Merge remote-tracking branch 'upstream/master'
2015-08-02 10:30:24 +02:00
zupa
8a2b09b14d
Fix missing filename in compile-time error
2015-06-26 18:46:52 +01:00
Robert Krimen
47082f4308
Look for less than 0, not just -1
...
This fixes #116
2015-06-10 22:48:44 -07:00
Robert Krimen
7597815bd0
Fix toReflectValue(0) => float32
...
This fixes #123
2015-05-07 22:53:02 -07:00
Lorenz Leutgeb
aa1f243099
Fix README: s/windows/window/
2015-04-11 19:51:25 +02:00
Dmitry Panov
9d3cca217b
Fixed error position for "Cannot access member '%s' of %s"
2015-04-04 14:27:24 +01:00
Dmitry Panov
1e5ee63535
Fixed stacktrace positions.
2015-04-01 21:03:24 +01:00
Tim Cooper
d1b4d8ef0e
Fix Go map iteration when looping over non-string keys
2015-03-01 16:44:54 -08:00