Guillaume Ballet
7b68975a00
console, internal/jsre: use github.com/dop251/goja ( #20470 )
...
This replaces the JavaScript interpreter used by the console with goja,
which is actively maintained and a lot faster than otto. Clef still uses otto
and eth/tracers still uses duktape, so we are currently dependent on three
different JS interpreters. We're looking to replace the remaining uses of otto
soon though.
2020-01-27 11:50:48 +01:00
Matthew Halpern
e6c06a1da8
console, internal: enforce camel case variable names ( #19059 )
2019-02-14 16:38:07 +02:00
kiel barry
670bae4cd3
internal: golint updates for this or self warning ( #16634 )
2018-05-02 11:26:21 +03:00
Péter Szilágyi
93077c98e4
internal: update web3.js to 0.18.1, embed deps with go-bindata ( #3545 )
2017-01-12 21:28:35 +01:00
Felix Lange
2be3c4b0e3
internal/jsre: fix built-in inspect function
...
inspect was broken by ffaf58f0a9
(May 2016!).
Looks like nobody uses this function.
2016-12-20 14:35:14 +01:00
Felix Lange
fdba0cb03c
internal/jsre: ensure Stop can be called more than once
...
This makes "geth js file.js" terminate again.
2016-06-02 22:49:33 +02:00
Péter Szilágyi
14ae5708d6
console, internal/jsre: colorize JavaScript exceptions too
2016-05-30 17:25:23 +03:00
Péter Szilágyi
ffaf58f0a9
cmd, console: split off the console into a reusable package
2016-05-30 17:25:23 +03:00