Protean-Labs / mesh

The Mesh Engine that implements the Mesh Language, a computational language for web3.
Apache License 2.0
1 stars 0 forks source link

Feature/53: External functions #57

Closed cvauclair closed 3 years ago

cvauclair commented 3 years ago

Add grammar and evaluation support for binding variables to external values. E.g.:

external add = "int_add";

Closes #53

cvauclair commented 3 years ago

@ThierryBleau primitive functions have not been added to the type system. There are two TODOs in infer.re that have to be done still before merging (even if all tests pass).

ThierryBleau commented 3 years ago

Ok I'll finish going through the issues for the type system and I'll get to it.