Commit e346fade authored by David Declerck's avatar David Declerck
Browse files

Update ocaml-solidity-parser-with-menhir.md

parent e44152db
Pipeline #15462 failed with stages
in 7 minutes and 11 seconds
......@@ -4,24 +4,26 @@ date=2020-05-19
category=Blockchains
tags=
<!-- size 420x420 -->
[![Solidity Logo](https://www.ocamlpro.com/wp-content/uploads/2020/05/solidity-cover.png "A Solidity parser in OCaml with Menhir")](https://www.ocamlpro.com/2020/05/19/ocaml-solidity-parser-with-menhir/)
<!-- [![Solidity Logo](https://www.ocamlpro.com/wp-content/uploads/2020/05/solidity-cover.png "A Solidity parser in OCaml with Menhir")](https://www.ocamlpro.com/2020/05/19/ocaml-solidity-parser-with-menhir/) -->
<div align="center">
<a href="https://www.ocamlpro.com/2020/05/19/ocaml-solidity-parser-with-menhir/">
<img width="420" height="420" alt="Solidity Logo" title="A Solidity parser in OCaml with Menhir" src="assets/img/solidity-cover.png">
</a>
</div>
> This article is cross-posted on Origin Labs’ Dune Network [blog](https://medium.com/dune-network/a-solidity-parser-in-ocaml-with-menhir-e1064f94e76b)
We are happy to announce the first release of [our Solidity parser](https://gitlab.com/o-labs/solidity-parser-ocaml), written in OCaml using [Menhir](http://gallium.inria.fr/~fpottier/menhir/). This is a joint effort with [Origin Labs](https://www.origin-labs.com/), the company dedicated to blockchain challenges, to implement a full interpreter for the [Solidity language](https://solidity.readthedocs.io/en/v0.6.8/) directly in a blockchain.
![Solidity Logo](https://miro.medium.com/max/1500/1*USQMP1HCMH3BW5KQ5DuOkQ.png)
![Solidity Logo](assets/img/solidity-title.png)
Solidity is probably the most popular language for smart-contracts, small pieces of code triggered when accounts receive transactions on a blockchain.Solidity is an object-oriented strongly-typed language with a Javascript-like syntax.
![Ethereum Logo](https://miro.medium.com/max/1400/1*X-eldSjyZO6kJvHL_VYeCQ.png)
![Ethereum Logo](assets/img/ethereum-title.png)
Solidity was first implemented for the [Ethereum](https://ethereum.org/) blockchain, with a compiler to the EVM, the Ethereum Virtual Machine.
![Dune Network Logo](https://miro.medium.com/max/1400/1*pt7nACsxaiY4gCk8vjbeOQ.png)
![Dune Network Logo](assets/img/dune-title.png)
Dune Network takes a different approach, as Solidity smart-contracts will be executed natively, after type-checking. Solidity will be the third native language on Dune Network, with [Michelson](https://dune.network/docs/dune-node-mainnet/whitedoc/michelson.html), a low-level strongly-typed language inherited from Tezos, and [Love](https://dune.network/docs/dune-node-mainnet/love-doc/introduction.html), an higher-level strongly-typed language, also implemented jointly by OCamlPro and Origin Labs.
......@@ -91,7 +93,7 @@ Solidity_parser.Printer.string_of_code : Solidity_parser.Solidity_types.module_
Of course, all of this is Work In Progress, but we are quite happy to share it with the OCaml community. We think there is a tremendous work to be done around blockchains for experts in formal methods. Do not hesitate to contact us if you want to use this library!
> ## About OCamlPro
> OCamlPro is a company founded in 2011, with the mission to help industrial users benefit from state-of-the art programming languages like OCaml and Rust. We design, create and implement custom ad-hoc software for our clients. We also have a long experience in developing and maintaining open-source tooling for OCaml, such as Opam, TryOCaml, ocp-indent etc. and we contribute to the core-development of OCaml, notably with our work on the Flambda optimizer branch with Jane Street. Another area of expertise is that of Formal Methods, with tools such as our SMT Solver Alt-Ergo (check our Alt-Ergo Users’ Club). We provide consulting and vocational trainings in OCaml and Rust, and we can build courses on formal methods on-demand. Do not hesitate to reach out by email: contact@ocamlpro.com
> OCamlPro is a company founded in 2011, with the mission to help industrial users benefit from state-of-the art programming languages like OCaml and Rust. We design, create and implement custom ad-hoc software for our clients. We also have a long experience in developing and maintaining open-source tooling for OCaml, such as Opam, TryOCaml, ocp-indent etc. and we contribute to the core-development of OCaml, notably with our work on the Flambda optimizer branch with Jane Street. Another area of expertise is that of Formal Methods, with tools such as our SMT Solver Alt-Ergo (check our Alt-Ergo Users’ Club). We provide consulting and vocational trainings in OCaml and Rust, and we can build courses on formal methods on-demand. Do not hesitate to reach out by email: contact@ocamlpro.com.
> ## About Origin Labs
> Origin Labs is a company founded in 2019 by the former blockchain team at OCamlPro. At Origin Labs, they have been developing Dune Network, a fork of the Tezos blockchain, its ecosystem, and applications over the Dune Network platform. At OCamlPro, they developed TzScan, the most popular block explorer at the time, Liquidity, a smart contract language, and were involved in the development of the core protocol and node.Do not hesitate to reach out by email: contact@origin-labs.com
> Origin Labs is a company founded in 2019 by the former blockchain team at OCamlPro. At Origin Labs, they have been developing Dune Network, a fork of the Tezos blockchain, its ecosystem, and applications over the Dune Network platform. At OCamlPro, they developed TzScan, the most popular block explorer at the time, Liquidity, a smart contract language, and were involved in the development of the core protocol and node.Do not hesitate to reach out by email: contact@origin-labs.com.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment