Sophia is a contract language created in 2018 by Robert Virding.
#916on PLDB | 6Years Old |
git clone https://github.com/aeternity/aesophia
Stand alone compiler for the Sophia smart contract language
contract library entrypoint function stateful state hash signature tuple list address string bool int record datatype type option oracle oracle_query Call Bits Bytes Oracle String Crypto Address Auth Chain None Some bits bytes event let map private public true false var if else throw
Feature | Supported | Example | Token |
---|---|---|---|
Conditionals | ✓ | ||
Access Modifiers | ✓ | ||
Functions | ✓ | ||
Exceptions | ✓ | ||
Booleans | ✓ | true false | |
Comments | ✓ | // A comment | |
MultiLine Comments | ✓ | /* A comment */ | /* */ |
Line Comments | ✓ | // A comment | // |
Strings | ✓ |