Would it be feasible to implement Clojure (and persistent data structures) on EVM? Or another functional language?

  • to do so you need to code your own compiler or rewrite the VM Dec 21, 2016 at 22:58
  • Why would you have to rewrite the vm? Thats not true, as all functional languages run on normal vms and normal cpus alike.
    – RFV
    Dec 23, 2016 at 4:35
  • Ethereum VM is special read the yellow paper Dec 23, 2016 at 10:48
  • 2
    As long as you wrote a compiler that created byte code that the existing VM could understand, you wouldn't need to create a new EVM. Jan 6, 2017 at 21:58

1 Answer 1


Sure you'd need to create your compiler to generate EVM bytecode. There are alternatives to solidity, they are LLL (which is functional and Lisp like) https://github.com/nexusdev/lll-resurrected

and Serpent which looks more like a Python. https://github.com/ethereum/wiki/wiki/Serpent

Assumed you generate a proper bytecode and an ABI, I guess you can use almost any language to write contracts.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.