A sample aya package that defines angle conversion utilities
init.aya: The entrypoint for the package. This file should bring package variables into scope. It should generally only have import/require statements in itpackage.json: Package metadataname: The package nameversion: Version ismajor.minor.patchformatauthor: Package author
src/: Location of aya source filestest/: Location of aya test files. All aya files in this folder will be ran when usingpkg.test
If you have aya on your system path, install with aya pkg
aya pkg add aya-lang/sample.aya
From within aya,
import pkg
"aya-lang/sample.aya" pkg.add
Clone or download this package direcctly into the pkg directory of your aya installation.