Mike Voronov
0a8827bb3c
chore: use resolver 2 and 2021 edition ( #769 )
2023-12-18 18:48:46 +03:00
fluencebot
17d7ef6c5a
chore: release master ( #751 )
...
* chore: release master
* chore: Bump air-interpreter and air-near-contract version to 0.55.0
2023-12-13 00:15:36 +07:00
Ivan Boldyrev
1673cdf06c
feat(air-parser)!: optimize Instruction type layout ( #767 )
...
Instead of being boxed for each node, the `Instruction` type contains a boxed variable-size elements. Thus `Instruction` is quite lean, and the allocator deals with variable-sized elements.
Total number of allocations is more or less same, but less space is wasted for unused memory: previously the Instruction's size was 112 bytes in WASM, now it is 16.
It reduces memory consumption on large AIR scripts (heap size decreased from 7.7MiB to 4.625MiB in parser-10000-100, and for the new parser-calls-10000-100 benchmark, it decreased from 5.115MiB to 4.375MiB).
This is a breaking change as the API changes (though the code that navigates the parsed tree generally should work as is).
2023-12-12 19:50:41 +07:00
renovate[bot]
10341c42fd
chore(deps): update rust crate thiserror to 1.0.50 ( #744 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-29 20:10:26 +07:00
fluencebot
8f23d90ece
chore: release master ( #698 )
...
* chore: release master
* chore: Bump air-interpreter and air-near-contract version to 0.48.0
2023-09-22 00:46:21 +03:00
Ivan Boldyrev
bd80a127ea
feat(parser,execution-engine): allow :error: in fail ( #696 )
...
The `(fail :error:)` was previously rejected by parser. Now it is
executed, but is of limited use.
2023-09-19 14:21:30 +07:00
fluencebot
244bed3326
chore: release master ( #694 )
...
* chore: release master
* chore: Bump air-interpreter and air-near-contract version to 0.47.0
2023-09-07 17:56:11 +07:00
raftedproc
b4cbf8f621
feat(execution-engine)!: canon stream map support [fixes VM-301] ( #648 )
...
* feat(execution-engine)!: canon stream map support [fixes VM-301]
Canon stream map is a CRDT-like map structure that contains a
canonicalized stream map and allows indexed access to its
contents. ATM CSM supports both strings and int64 keys.
2023-09-07 11:30:24 +03:00
fluencebot
3dd239dc10
chore: release master ( #690 )
2023-09-05 00:28:26 +02:00
fluencebot
372b90496f
chore: release master ( #634 )
...
* chore: release master
* chore: Bump air-interpreter version to 0.43.0
---------
Co-authored-by: Mike Voronov <michail.vms@gmail.com>
2023-08-04 00:18:11 +03:00
fluencebot
531956b9ba
chore: release master ( #619 )
...
* chore: release master
* chore: Bump air-interpreter version to 0.42.0
2023-07-17 21:55:56 +07:00
Ivan Boldyrev
adcf708c95
fix(air-beautifier): print fold's last_instruction ( #630 )
...
It was not printed before by mistake.
2023-07-14 18:40:05 +07:00
raftedproc
fcb4c9dab4
feat(execution-engine)!: stream map to scalar conversion using canon instruction [fixes VM-294] ( #610 )
...
feat(execution-engine): Stream Map to Scalar conversion using canon instruction [fixes VM-294]
2023-06-28 13:59:16 +03:00
fluencebot
c6627fe437
chore: release master ( #553 )
...
* chore: release master
* chore: Bump air-interpreter version to 0.40.0
* feat(aquavm-air): Set minimal supported version to 0.40.0
---------
Co-authored-by: Ivan Boldyrev <ivan@fluence.one>
2023-06-23 04:45:40 +07:00
raftedproc
9d7d34a452
feat(execution-engine): Stream Map initial support [fixes VM-283,VM-284] ( #592 )
...
feat(execution-engine): StreamMap initial support for ap and new instructions [fixes VM-283,VM-284]
2023-06-04 21:14:59 +03:00
renovate[bot]
282ff9de70
chore(deps): update rust crate thiserror to 1.0.40 ( #537 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-20 23:23:46 +07:00
fluencebot
eb55564369
chore: release master ( #524 )
...
* chore: release master
* chore: Bump air-interpreter version to 0.38.0
2023-03-15 17:32:29 +02:00
Anatolios Laskaris
a22e2dd3fb
chore: Revert "chore: release master ( #520 )" ( #523 )
...
Revert "chore: release master (#520 )"
This reverts commit 7aa5d4bef5a86085dc9ead723e8799a89bd544e7.
2023-03-15 17:21:47 +02:00
fluencebot
7aa5d4bef5
chore: release master ( #520 )
...
* chore: release master
* chore: Bump air-interpreter version to 0.38.0
2023-03-15 17:35:44 +03:00
fluencebot
3ac1d03868
chore: release master ( #515 )
...
* chore: release master
* chore: Bump air-interpreter version to 0.37.1
2023-03-15 19:29:59 +07:00
Ivan Boldyrev
79ac153f1d
feat(tools): merge some tools into the air
CLI tool ( #509 )
...
* feat(tools): merge some tools into the `air` CLI tool
`air-beautify` and `air-trace` are merged into a single `air` tool. Its
crate name is `fluence-air-cli` as otherwise it confilicts with `air`
interpreter crate. The tool has subcommands `beautify`, `run`
and `stats`.
* Add one-letter aliases to `air` CLI subcommands
+ `air beautify` => `air b`
+ `air run` => `air r`
+ `air stats` => `air s`
---------
Co-authored-by: Mike Voronov <michail.vms@gmail.com>
2023-03-15 16:59:30 +07:00
renovate[bot]
f87d1cb373
chore(deps): update rust crate thiserror to 1.0.39 ( #507 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-11 13:28:33 +03:00
fluencebot
c9eb5cd47a
chore: release master ( #481 )
2023-02-21 21:54:12 +03:00
renovate[bot]
d9cfa9cf15
chore(deps): update rust crate thiserror to 1.0.38 ( #408 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 00:19:10 +03:00
Ivan Boldyrev
004ce10abd
Make unstable clippy happy with clippy --fix
( #402 )
...
Most of changes either move variables into `format!` templates
or remove excessive clones.
2022-12-12 22:37:05 +07:00
Mike Voronov
9fe7afb897
feat(all): reduce stream usage scope ( #298 )
...
This PR intended to reduce stream usage scope in order to make AquaVM truly deterministic.
Refs: #297 .
Co-authored-by: Ivan Boldyrev <ivan@fluence.one>
Co-authored-by: Anatoly Laskaris <github_me@nahsi.dev>
2022-11-30 17:38:32 +03:00
renovate[bot]
bbc521ce53
fix(deps): update all non-major rust dependencies ( #338 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-15 21:08:46 +03:00
Ivan Boldyrev
b929614b4c
wasm-air-beautify WASM module ( #325 )
...
It provides a `beautify` method to output a "beautified"
(python-style formatted) AIR script.
The method returns a string or raises an exception.
2022-09-19 19:31:12 +07:00
Mike Voronov
20bb230a3a
Introduce never
instruction ( #335 )
2022-09-19 14:36:46 +03:00
renovate[bot]
ad504bce8b
Update all non-major Rust dependencies ( #330 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-19 14:07:34 +03:00
renovate[bot]
40bb3c843f
Update all non-major Rust dependencies ( #323 )
...
* Update all non-major Rust dependencies
* bump fluence-app-service version
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2022-09-13 19:03:18 +03:00
Ivan Boldyrev
89355d9da3
style: Misc clippy fixes ( #327 )
...
* Add warn(rust_2018_idioms) to remaining crates
air-beautifier, air-beautify and air-trace now have this lint too.
* Fix more warnings
2022-09-13 20:54:57 +07:00
renovate[bot]
b4195175db
Update all non-major Rust dependencies ( #309 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Anatoly Laskaris <github_me@nahsi.dev>
2022-09-07 12:10:07 +03:00
Mike Voronov
5072fba9d6
Introduce canon
instruction ( #292 )
2022-08-26 00:43:43 +03:00
Ivan Boldyrev
1c0ff2c979
air-beautifier
lib and air-beautify
binary (#266 )
...
The `air-beautify` util takes an AIR script input with Lisp-like syntax
and transforms it into experimental indentation-based syntax.
Closing #184 .
2022-05-20 21:07:22 +07:00