Open MrChico opened 4 years ago
Basically an hevm
server is started with hevm emacs
, which is a REPL that takes commands in an s-expression DSL and responds with data in s-expressions. Emacs then speaks to this server using comint-mode
. It uses this to implement some similar functionality to hevm interactive
but using emacs for display.
The easiest way to try it is to
hevm
in your $PATH
M-x load-file
and point out dapptools/src/hevm/hevm.el
M-x hevm
in a dapp source root.Commands available:
'(("n" . hevm-do-step-once)
("N" . hevm-do-step-to-next-source-location)
("!" . hevm-do-step-to-file-line)
("c" . hevm-browse-contracts)
("q" . quit-window))
hmm, not sure if it's currently globally broken or just for me, but I'm getting:
Hevm started.
Unknown Hevm output: (error)
at M-x hevm
It's seems to be a pretty cool feature but I have no idea how it works. Maybe @mbrock or @livnev could share some of their secret knowledge about this.