Go to file
KtorZ f307e214c3
Remove parse error on bytearray literals for trace, todo & error, parse as String instead.
This has been bothering me and the more I thought of it the more I
  disliked the idea of a warning. The rationale being that in this very
  context, there's absolutely no ambiguity. So it is only frustrating
  that the parser is even able to make the exact suggestion of what
  should be fixed, but still fails.

  I can imagine it is going to be very common for people to type:

  ```
  trace "foo"
  ```

  ...yet terribly frustrating if they have to remember each time that
  this should actually be a string. Because of the `trace`, `todo` and
  `error` keywords, we know exactly the surrounding context and what to
  expect here. So we can work it nicely.

  However, the formatter will re-format it to:

  ```
  trace @"foo"
  ```

  Just for the sake of remaining consistent with the type-system. This
  way, we still only manipulate `String` in the AST, but we conveniently
  parse a double-quote utf-8 literal when coupled with one of the
  specific keywords.

  I believe that's the best of both worlds.
2023-02-19 10:10:42 +01:00
.github Add missing cbor-diag dependency for running acceptance tests. 2023-02-15 10:46:18 +01:00
crates Remove parse error on bytearray literals for trace, todo & error, parse as String instead. 2023-02-19 10:10:42 +01:00
examples Fix acceptance tests to use new syntax. 2023-02-19 10:10:40 +01:00
.editorconfig rename examples/tests/{a,b,c,d,e,f} into examples/acceptance_tests/00{1,2,3,4,5,6} 2022-12-14 09:45:24 +01:00
.gitattributes Add support for Nix flakes. 2023-02-07 13:16:17 +01:00
.gitignore Define 'local' gitignore for examples' packages. 2023-01-06 13:30:56 +01:00
CHANGELOG.md feat(aiken-project): use rayon to run tests in parallel 2023-01-09 18:12:18 -05:00
CONTRIBUTING.md chore: clean some links up so they point to the new repo 2022-12-17 11:19:02 -05:00
Cargo.lock Fix todo/error parser on when clauses. 2023-02-16 00:40:49 +01:00
Cargo.nix [create-pull-request] automated change 2023-02-15 23:50:11 +00:00
Cargo.toml chore: remove debug symbols in release 2023-02-01 18:53:11 -05:00
LICENSE Tweak LICENSE 2022-12-20 05:47:13 +01:00
README.md Add support for Nix flakes. 2023-02-07 13:16:17 +01:00
bonnie.toml chore: retire mdbook 2022-12-15 14:17:36 -05:00
flake.lock Add support for Nix flakes. 2023-02-07 13:16:17 +01:00
flake.nix Add support for Nix flakes. 2023-02-07 13:16:17 +01:00

README.md

Aiken Aiken

A modern smart contract platform for Cardano

Licence Crates.io Rust Build


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.