Commit Graph

1049 Commits

Author SHA1 Message Date
rvcas
99a334b132 fix(check): the expected arity with hardcoded to 0 2023-01-11 20:47:47 -05:00
rvcas
3be05b1545 fix(fmt): error fmt was removing label 2023-01-11 19:47:11 -05:00
Kasey White
eac8f7a80e replace discard assignment with nothing 2023-01-11 09:46:37 -05:00
KtorZ
e06bbc4e73 Slightly edit module matching logic for conciseness/clarity
Also allow using identifier names directly as shorthand, without
   surrounding .{ ... }
2023-01-10 18:41:02 +01:00
rvcas
99ec0ff6b0 feat(check): change some logic around and add --exact-match 2023-01-10 11:46:44 -05:00
rvcas
9002ea263f feat(check): make match tests flag fancier 2023-01-10 10:19:13 -05:00
rvcas
6a95d23811 fix: filter on regular iter before par iter cc @kprotty 2023-01-09 18:21:40 -05:00
rvcas
158b3dfe51 feat(aiken-project): use rayon to run tests in parallel 2023-01-09 18:12:18 -05:00
rvcas
6ea9ad9c41 chore: clippy warnings 2023-01-09 18:12:18 -05:00
Kasey White
ce2de96226 clippy fix 2023-01-08 19:42:49 -05:00
Kasey White
42c8d50fa1 feat: finish record update 2023-01-08 19:42:49 -05:00
Kasey White
ea135e6f42 refactor term::apply to apply_wrap. Fixed a list eq binop 2023-01-08 19:42:49 -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
c89802eaed chore: bump pallas version 2023-01-06 13:39:18 -05:00
Kasey White
1a29ee3b72 my discard add got lost in the rebasing -_- 2023-01-06 14:23:46 +01:00
Kasey White
dc052bf9b8 fix nested lists without removing discard pop
Also fix bool constants created as a data type like in a list

start on record update

fix: nested list issues in when statements
2023-01-06 14:23:45 +01:00
KtorZ
4b34617466 Revert "fix: nested list issues in when statements"
This reverts commit 542962a2ea.
2023-01-06 06:50:42 +01:00
alessandrokonrad
3aba9baba5 Fixed reward account creation in ScriptContext 2023-01-05 10:31:32 -05:00
Kasey White
542962a2ea fix: nested list issues in when statements 2023-01-03 01:31:18 -05:00
Kasey White
67e4ff8317 feat: allow functions from prelude
Co-authored-by: rvcas <x@rvcas.dev>
2022-12-31 00:09:02 -05:00
Kasey White
e495eefb34 feat implement tuple index 2022-12-31 00:09:02 -05:00
Kasey White
3514e66234 Fix to variant name creation for dependencies.
Last few changes to go Tuple Index,
Assert, Check, not

change test 35 to produce intended functionality
2022-12-30 14:01:11 -05:00
Kasey White
b0ea187151 better data deserialization errors and test hint
now runs even being in a sequence
2022-12-30 14:01:11 -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
Kasey White
34d398ab3b fix dependencies ordering so now test 34 passes 2022-12-29 17:14:23 -05:00
Kasey White
306fa891a0 validator params are now converted to type from data 2022-12-29 17:14:23 -05:00
KtorZ
85a6a711e1 Add more colors to error messages.
And, let 'formatdoc' insert newlines when relevant to
  format the text to the same column length.
2022-12-29 17:38:34 +01:00
KtorZ
3139c85fe8 Support declaring bytearray literals as base16 strings. 2022-12-29 13:08:58 +01:00
KtorZ
1701cacb52 Add builtin functions to the prelude
Starting with 'not', will add 'always' and 'identity' later.
2022-12-29 12:05:30 +01:00
KtorZ
ad5a393c4d Add 'docs' and 'assets' to generated gitignore
And also make 'docs' the default folder (instead of doc) to be more aligned with Github's defaults.
2022-12-29 10:54:46 +01:00
Kasey White
cce76bbd63 fix issue with constructor clauses and clause props 2022-12-28 18:00:11 -05:00
KtorZ
c4c0ace3a6 Align warnings message's style with errors. 2022-12-28 18:45:04 +01:00
KtorZ
7c1b8e8f3b Map remaining relevant builtins. 2022-12-28 18:27:28 +01:00
KtorZ
f2e716dd86 Fix else/if formatter. 2022-12-28 17:55:11 +01:00
KtorZ
bae8267f18 Fix formatter for unary operation
Was wrongly converting any unary operation into '!'
2022-12-28 17:51:00 +01:00
Kasey White
722117bfc4 one minor scope fix 2022-12-27 22:33:09 -05:00
Kasey White
551d4eea93 fix test 28 2022-12-27 22:33:09 -05:00
Kasey White
010024fb95 fix: acceptance test 031
Co-authored-by: rvcas <x@rvcas.dev>
2022-12-27 22:33:09 -05:00
Kasey White
083b7fcb5f feat: support negation of int
* add unary op
* parse, typecheck, and code gen it
* express boolean not as unary op as well, previously called negate

Co-authored-by: rvcas <x@rvcas.dev>
2022-12-27 20:39:03 -05:00
Kasey White
542e39f093 feat: finish up zero arg issues with dependencies 2022-12-27 19:35:08 -05:00
Kasey White
30487cc232 fix test 23 2022-12-27 19:35:08 -05:00
Kasey White
919ea6c723 tuple destructuring nested and not now works 2022-12-27 19:35:08 -05:00
Kasey White
a08c615da4 checkpoint 2022-12-27 19:35:08 -05:00
Kasey White
b7d506a8db nested lists now work 2022-12-27 19:35:08 -05:00
Kasey White
6126ee4cb4 checkpoint 2022-12-27 19:35:08 -05:00
alessandrokonrad
b97570bc00 Fixed clippy issue 2022-12-27 17:08:05 -05:00
alessandrokonrad
c6b5380c27 Fixed ex unit budget limit per redeemer 2022-12-27 17:08:05 -05:00
rvcas
01f2142606 fix: the push was in the wrong place 2022-12-23 22:00:59 -05:00
rvcas
cbaf629645 feat: warn if no validators on build 2022-12-23 22:00:59 -05:00
rvcas
38a716d94e feat: allow error to hold a label 2022-12-23 15:52:44 -05:00