Sophia is a contract language created in 2018 by Robert Virding.
git clone https://github.com/aeternity/aesophia
#1392on PLDB | 6Years Old |
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 | Token | Example |
---|---|---|---|
Conditionals | ✓ | ||
Access Modifiers | ✓ | ||
Functions | ✓ | ||
Exceptions | ✓ | ||
Booleans | ✓ | true false | |
Comments | ✓ | // A comment |
|
MultiLine Comments | ✓ | /* */ | /* A comment */ |
Line Comments | ✓ | // | // A comment |
Strings | ✓ |