-
Notifications
You must be signed in to change notification settings - Fork 77
Stdlib
Anton Trunov edited this page Jan 29, 2021
·
5 revisions
To add a new module to the standard library:
- Add
Foo.scillib
tosrc/stdlib
directory - Add
(Foo.scillib as stdlib/Foo.scillib)
entry tosrc/stdlib/dune
file.
If Scilla is installed via opam, it can be used like so:
scilla-checker -gaslimit 10000 -libdir "$(opam var scilla:lib)/stdlib" foo.scilla
where -libdir "$(opam var scilla:lib)/stdlib"
specifies the path to the standard library modules.
- Status of the standard library in Scilla v1.0: https://github.com/Zilliqa/scilla/issues/818