KtorZ
9782c094b7
Fix clippy suggestions.
2023-09-08 16:21:07 +02:00
KtorZ
8ba5946c32
Preserve escape sequence after formatting
...
Bumped into this randomly. We do correctly parse escape sequence, but
the format would simply but the unescaped string back on save. Now it
properly re-escapes strings before flushing them back. I also removed
the escape sequence for 'backspace' and 'new page' form feed as I
don't see any use case for those in an Aiken program really...
2023-09-08 12:12:15 +02:00
KtorZ
5cfc3de7bf
Add CODEOWNERS
2023-09-08 10:21:33 +02:00
rvcas
6b70292dfb
chore: cargo fmt
2023-09-06 21:10:50 -04:00
rvcas
1de7b2866a
feat(cli): add --deny to build, check, and docs
...
This is useful for CI, where people that may have
a stricter workflow want to force CI to fail if any warnings
are detected.
2023-09-06 17:19:44 -04:00
microproofs
819a0a20e6
add tests for case and constr
...
Fix a minor issue with decoding order
2023-09-03 11:52:49 -04:00
microproofs
c9b01ab365
chore: fill in cost model
...
test: Add case and constr eval tests
2023-09-03 11:52:49 -04:00
microproofs
85901dc141
chore: update cost model with placeholders for new terms to pass tests
2023-09-03 11:52:49 -04:00
microproofs
40e1d39f8b
Add placeholders for cost model
2023-09-03 11:52:49 -04:00
microproofs
33d6d3049e
add compute for the new terms constr and case
2023-09-03 11:52:49 -04:00
microproofs
e566c4e1de
feat(uplc): add Case and Const terms
...
- parsering
- interning
- flat encoding and decoding
- pretty printing
- debruijn conversion
Co-authored-by: Lucas Rosa <x@rvcas.dev>
2023-09-03 11:52:49 -04:00
rvcas
dfe433ea46
fix: trim whitespace when loading hex strings from files closes #720
2023-08-31 18:22:09 -04:00
rvcas
097d1fa893
chore: update changelog
2023-08-31 18:01:52 -04:00
rvcas
437a95bfe8
fix: behave like rust with hyphens closes #722 closes #690
2023-08-31 18:00:21 -04:00
rvcas
a87a8a7b35
chore: update changelog
2023-08-31 17:41:36 -04:00
rvcas
dca09811c1
fix: empty records crashing code gen closes #728
2023-08-31 17:39:38 -04:00
rvcas
fb967d4c7b
fix: uplc formatter of Data closes #716
2023-08-31 17:20:48 -04:00
microproofs
51c44c6a30
fix: add an assert for better error messages when doing empty types
2023-08-30 13:50:37 -04:00
waalge
cd3a02416f
chore: rm unused pub function
2023-08-29 22:30:06 -04:00
waalge
756e16c14b
fix: rename assert to expect
2023-08-29 22:30:06 -04:00
microproofs
baa6917af5
Fix: Change type map length assert to check for greater than equals instead of equals to argument length
2023-08-29 21:59:15 -04:00
Matthias Benkort
d01766d735
Merge pull request #721 from waalge/waalge/rm-mut
...
rm unnecessary mut
2023-08-29 21:00:05 +02:00
Chris Gianelloni
67986d9416
chore: build static binaries for Linux/Windows
...
Signed-off-by: Chris Gianelloni <cgianelloni@applause.com>
2023-08-29 00:46:50 -04:00
waalge
d4b9f22ac3
rm unnecessary mut
2023-08-26 16:30:44 +00:00
rvcas
1715496d5b
chore: update resolver in virtual workspace
2023-08-24 15:51:39 -06:00
rvcas
0e7f1597bf
chore: add release instructions in contributing.md
2023-08-24 15:43:26 -06:00
rvcas
b075d85b40
chore: Release
2023-08-24 15:05:12 -06:00
rvcas
b3494a7f63
chore: fix versions
2023-08-24 15:04:52 -06:00
rvcas
a7062ccb88
chore: fix versions
2023-08-24 15:04:19 -06:00
rvcas
747e057d05
fix: tags
2023-08-24 15:00:09 -06:00
KtorZ
379368c530
Fix clippy.
2023-08-22 13:30:30 +02:00
KtorZ
2f0211a7b1
Bump all version manually because cargo workspaces didn't work.
2023-08-22 13:27:10 +02:00
KtorZ
780a61e3e8
Release 1.0.16-alpha
...
aiken@1.0.16-alpha
Generated by cargo-workspaces
2023-08-22 13:18:48 +02:00
KtorZ
d3fe241ccd
Wrap-up CHANGELOG
2023-08-22 13:14:35 +02:00
KtorZ
7883aff5f7
revert 619b73d03e
...
There's really no scenario where we want to generate boilerplate that
always end up being removed. In particular, the boilerplate breaks
tutorial as it generate conflicting validators in the blueprint.
The only argument in favor of the boilerplate is to serve as example
and show people some syntax reminder. However, this is better done in
the README or on the user manual directly.
2023-08-22 12:59:36 +02:00
microproofs
89c55a23fa
chore: Release
2023-08-19 20:17:00 -04:00
microproofs
0eec4c188a
update changelog for v1.0.15
2023-08-19 20:11:24 -04:00
microproofs
084b900b2a
change: traverse_with_tree now has a boolean to determine when with is called
...
fix: Opaque types are now properly handled in code gen (i.e. code gen functions, in datums/redeemers, in from data casts)
chore: add specific nested opaque type tests to code gen
2023-08-19 20:07:37 -04:00
KtorZ
c6f764d2db
Refresh Cargo.lock & fill-in CHANGELOG.
2023-08-19 13:39:39 -04:00
KtorZ
139226cdab
Support interactive blueprint parameter application.
2023-08-19 13:39:39 -04:00
KtorZ
c1b8040ae2
Add helper for splitting a long line into multiple lines.
2023-08-19 13:39:39 -04:00
KtorZ
961e323c36
Enable iterating over validator's parameters with a callback
...
This is how we'll construct parameters interactively. We need to lookup the definition, and provide a data representation for it.
2023-08-19 13:39:39 -04:00
KtorZ
051e9a6851
Add some utility functions for displaying Term/PlutusData
...
This is useful with the blueprint stuff, where Term are often just plain PlutusData.
2023-08-19 13:39:39 -04:00
rvcas
690e41261e
chore: Release
2023-08-16 23:30:21 -04:00
rvcas
be20426329
chore: update changelog
2023-08-16 23:16:56 -04:00
rvcas
f5a49c4df4
fix: aliased import of single type throws compiler error closes #707
2023-08-16 23:15:51 -04:00
rvcas
6d90c27587
chore: update changelog
2023-08-16 23:06:53 -04:00
rvcas
2600937447
chore: cargo fmt
2023-08-16 22:56:22 -04:00
rvcas
b138cb0ccd
chore: update changelog
2023-08-16 22:55:59 -04:00
logicalmechanism
649039c993
tx simulate still need fee work
2023-08-16 22:37:00 -04:00