OCamlPro / freeton_wallet

The 'ft' tool is a multi-account terminal wallet for the Free TON blockchain. It is based on the freeton_ocaml_sdk.
https://ocamlpro.github.io/freeton_wallet
Other
14 stars 9 forks source link

Add missing TON-Solidity primitives #94

Closed hra687261 closed 2 years ago

hra687261 commented 2 years ago

The purpose of this PR is to improve the support of TON-Solidity. It uses the version of the OCaml solidity parser that is on this PR: https://github.com/OCamlPro/ocaml-solidity/pull/27, and it shouldn't be merged it.

lefessan commented 2 years ago

I am not sure about the idea of using a counter for primitive numbers. After discussion with David, the number was used in case you wanted to write an interpreter or store the contract in a compressed way, in which case having a clear equivalence between every name and a number is important. Could you remove that part from your PR so that we can decide it later ?

hra687261 commented 2 years ago

Ok I see, it's done.