![]() Params being unused were being incorrectly reported. This was because params need to be initialized at a scope above both the validator functions. This manifested when using a multi-validator where one of the params was not used in both validators. The easy fix was to add a field called `is_validator_param` to `ArgName`. Then when infering a function we don't initialize args that are validator params. We now handle this in a scope that is created before in the match branch for validator in the `infer_definition` function. In there we call `.in_new_scope` and initialize params for usage detection. |
||
---|---|---|
.github | ||
aikup | ||
crates | ||
examples | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
Cargo.lock | ||
Cargo.nix | ||
Cargo.toml | ||
LICENSE | ||
README.md | ||
flake.lock | ||
flake.nix |
README.md
QuickStart
Prerequisites
For now you'll need rust installed, see rustup.
Getting started
In case you have fresh installation of rustup
you might need to do:
rustup install stable
$ cargo install --git https://github.com/aiken-lang/aiken.git
$ aiken --help
Alternatively nix builds are available via flakes.
How to use
For more information please see the user manual.
Roadmap
Aiken defines its roadmap using Github Milestones. The roadmap isn't set in stone, but gives a high-level overview of where the project is headed for.
Contributing
Want to contribute? See CONTRIBUTING.md to know how.
Note
The name comes from Howard Aiken, an American physicist and a pioneer in computing.