Commit Graph

48 Commits

Author SHA1 Message Date
KtorZ 8a2af4cd2e
Fix lexer throwing errors when parsing a too large tuple index. 2023-03-18 16:13:50 +01:00
KtorZ c113582404 Support multi-clause patterns as syntactic sugar
And disable multi-patterns clauses. I was originally just controlling
  whether we did disable that from the parser but then I figured we
  could actually support multi-patterns clauses quite easily by simply
  desugaring a multi-pattern into multiple clauses.

  This is only a syntactic sugar, which means that the cost of writing
  that on-chain is as expensive as writing the fully expanded form; yet
  it seems like a useful shorthand; especially for short clause
  expressions.

  This commit however disables multi-pattern when clauses, which we do
  not support in the code-generation. Instead, one pattern on tuples for
  that.
2023-03-16 19:45:41 -04:00
Lucas fab6d56bf2
Merge branch 'main' into newline-assignment 2023-03-16 15:30:55 -04:00
KtorZ b2f3b66a96 Fill-in CHANGELOG about let-binding change. 2023-03-16 15:29:44 -04:00
KtorZ 20f5baffa7
Enforce newline after assignment / clause.
This leads to more consistent formatting across entire Aiken programs.
  Before that commit, only long expressions would be formatted on a
  newline, causing non-consistent formatting and additional reading
  barrier when looking at source code.

  Programs also now take more vertical space, which is better for more
  friendly diffing in version control systems (especially git).
2023-03-16 19:46:46 +01:00
KtorZ d59305a1b0
Provide better compiler feedback for type holes in annotations.
It is now possible to leave a hole in a type annotation and have the compiler fill-in the expected type of us.
  This is a pretty useful debugging tool when playing with complex functions.
2023-03-16 14:07:06 +01:00
rvcas 0e7494541d
feat: update changelog 2023-03-15 16:46:59 -04:00
rvcas e95d7214c9
chore: update changelog 2023-03-14 18:12:45 -04:00
rvcas 553eb88d3d fix(check): record field access properly restricted to single constr types 2023-03-08 23:50:16 -05:00
rvcas ba4635a8b0
chore: update changelog 2023-03-08 22:50:03 -05:00
rvcas 4688bfaaca
chore: start next section of changelog 2023-03-06 10:42:53 -05:00
rvcas 1bc3362788
feat: new release job and some release notes 2023-02-23 18:52:56 -05:00
rvcas 158b3dfe51 feat(aiken-project): use rayon to run tests in parallel 2023-01-09 18:12:18 -05:00
rvcas d649b34ec3
Release 0.0.28
aiken@0.0.28
aiken-lang@0.0.28
aiken-lsp@0.0.28
aiken-project@0.0.28
uplc@0.0.28

Generated by cargo-workspaces
2023-01-06 13:41:00 -05:00
rvcas b6de2549a2 chore: update changelog 2023-01-06 13:39:18 -05:00
alessandrokonrad 3aba9baba5 Fixed reward account creation in ScriptContext 2023-01-05 10:31:32 -05:00
rvcas ee678f2978
Release 0.0.27
aiken@0.0.27
aiken-lang@0.0.27
aiken-lsp@0.0.27
aiken-project@0.0.27
flat-rs@0.0.27
uplc@0.0.27

Generated by cargo-workspaces
2022-12-30 00:57:49 -05:00
rvcas 841babae5c chore: clean some links up so they point to the new repo 2022-12-17 11:19:02 -05:00
jmhrpr 325a7b7b45 fix: correct V1 to_plutus_data() for txout with no datum hash 2022-12-15 18:22:31 -05:00
KtorZ a541018a56
Complete CHANGELOG about new test support. 2022-12-09 14:29:13 +01:00
rvcas a752e3589d
chore: update changelog 2022-11-23 00:33:51 -05:00
rvcas 0358952984
Release 0.0.26
aiken@0.0.26
aiken-lang@0.0.26
aiken-lsp@0.0.26
aiken-project@0.0.26

Generated by cargo-workspaces
2022-11-23 00:31:24 -05:00
rvcas 145bb03fa1 chore: update changelog 2022-11-17 12:56:03 -05:00
alessandrokonrad 4551d23c2f Updated changelog 2022-11-16 21:34:46 -05:00
rvcas a27f0562bc
chore: update changelog 2022-11-16 14:29:54 -05:00
rvcas 021237f265
chore: update changelog 2022-11-15 17:47:34 -05:00
rvcas 248a98374f
chore: bump version in changelog 2022-11-14 18:04:01 -05:00
rvcas 14d4c528c9
chore: add some things to the changelog 2022-11-14 18:02:54 -05:00
rvcas ca243fb120
fix: changelog 2022-11-14 17:59:41 -05:00
rvcas 4e05a28e59 chore: update change log 2022-11-10 01:27:18 -05:00
rvcas b4a7e250b6
fix: subsection missing 2022-11-04 14:00:12 -04:00
rvcas d5c9ed8489
chore: release bump changelog 2022-11-04 13:55:47 -04:00
alessandrokonrad 98effe569d Updated changelog 2022-11-04 18:02:38 +01:00
rvcas 2d3000e37b
chore: update changelog 2022-11-03 20:26:37 -04:00
rvcas 7e220e9a31
chore: make items in v0.0.22 a bullet list 2022-10-31 17:04:50 -04:00
rvcas 5d7a4e8f39
chore: update changelog 2022-10-31 13:35:49 -04:00
Turner 9bbcdfd0b3 Revert versions, fix changelog 2022-10-28 11:50:19 -07:00
Turner aabcacbe87 Expose Pallas stuff, bump version, update changelog 2022-10-27 20:40:37 -07:00
rvcas 819256df99 feat: wrap up adding uplc builtins for now 2022-10-25 18:52:27 -04:00
rvcas 4064a3e4e6 chore: update changelog 2022-10-24 00:09:00 -04:00
rvcas bed33196bb
chore: update changelog 2022-10-23 17:57:53 -04:00
alessandrokonrad c6de827721 added apply_params_to_script function 2022-10-22 18:01:36 -04:00
alessandrokonrad 7ca276bad4 updated changelog 2022-10-19 17:04:43 -04:00
rvcas 08736817ca
chore: update changelog 2022-10-17 17:22:03 -04:00
rvcas a9621756f4
chore: update changelog 2022-10-17 17:21:19 -04:00
rvcas e30bd829aa chore: update changelog 2022-10-13 10:56:04 -04:00
rvcas 754b2d00b9 chore: more contributing docs 2022-10-09 15:39:28 -04:00
rvcas 06fb43ba96
chore: add contributing.md and changelog.md 2022-10-08 19:11:33 -04:00