Code samples used while working on the Sway programming language.
The distinguished folders in this repository are prefixed with:
I
for issuesP
for pull requestsR
for requests for commentsD
for code samples comming from the documentation, e.g., The Sway BookM
for miscellaneous samples and random explorations
Samples are by default written in Sway. When comparing behavior and features of different languages, samples in a particular language are stored into separate folder with the language name, e.g., rust, or csharp.
Samples stored in tests folder are meant to be copied over to Sway e2e_vm_tests and executed as Sway E2E tests.
Samples stored in forc_tests folder are meant to be run with forc test
.
To the extent possible under law, Igor Rončević has waived all copyright and related or neighboring rights to this work.