I've tried looking at the source code, but I'm unfamiliar with the structure. I can't seem to find a parser module or source code. I'm attempting to understand the parser and perhaps write one from scratch (personal project). It would really help if there was source code for either of the parsers for Serpent or Solidity that could be found.

  • Which source code have you tried looking at? – eth Jan 22 '16 at 9:23

You can find the parser's source code in the ethereum/solidity project, it's written in C++.

Here's the main implementation file: Parser.cpp

You can find the main repo where solidity is linked and which contains the required dependencies to build it in the webthree-umbrella project repo.

Here's a direct link to the wiki for installing it, you don't need to install everything (qt is pretty big) if you want just solidity you can follow this approach from the wiki (linux).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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