Commit Graph

831 Commits

Author SHA1 Message Date
fluencebot
071ba7d483
chore(main): release aqua 0.11.10 (#835) 2023-08-21 14:11:02 +03:00
renovate[bot]
75b0b5760d
chore(deps): update catsv to v2.10.0 (#844)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-21 13:45:12 +03:00
Dima
8060695dbb
feat: parseq implementation (fixes LNG-223) (#840)
* parsec implementation

* add test code

* parsec expression

* Refactor

* Refactor

* Add return strategy to on

* Add ExitStrategy

* Add TopologyPath

* Add ExitStrategy.ToRelay

* Handle ToRelay

* Refactor

* Refactor

* Refactor

* Handle OnModel with Relay strategy

* parsec -> parseq

* parsec -> parseq

* Add semantics test

* Add topology tests

* Add comments

---------

Co-authored-by: InversionSpaces <InversionSpaces@vivaldi.net>
2023-08-21 14:26:30 +04:00
Dima
019611a89c
feat(compiler): Structural typing for data and abilities [fixes LNG-215] (#843) 2023-08-18 16:15:20 +03:00
InversionSpaces
eb4cdb0dd1
fix(compiler): Generate stream restriction for scoped exprs [fixes LNG-222] (#841)
* Add show for AST

* Update ForSem

* Fix if and try

* Fix else, otherwise, catch, add tests

* Add integration tests
2023-08-17 10:30:02 +04:00
InversionSpaces
f562bd40b6
fix(compiler): Refactor values [fixes LNG-57] (#821)
* Refactor parser

* Savepoint

* Refactor CliFunc and TypesInterpreter

* Fix CliFunc

* Fix parser tests

* Fix tests compilation

* Fix callArrowToRaw

* Fix co parsing, add tests

* Add par tests

* Fix field parsing, add test

* Return ability to CallArrowToken

* Fix names

* Refactor and add comments

* Refactor, add comments

* Fix
2023-08-15 13:33:34 +03:00
Anatolios Laskaris
6146f8e40a
fix: Fix release build command (#834)
Fix
2023-08-10 16:46:03 +03:00
fluencebot
49c9be6dd8
chore(main): release aqua 0.11.9 (#813) 2023-08-09 15:18:11 +00:00
renovate[bot]
731f424576
chore(deps): pin dependency @fluencelabs/interfaces to 0.8.1 (#833)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-09 15:02:45 +00:00
renovate[bot]
50e8bab3de
chore(deps): update dependency @fluencelabs/aqua-lib to v0.7.3 (#830)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-09 17:49:01 +03:00
shamsartem
c7fca40f67
feat: wrap aqua api (#807) 2023-08-09 17:32:27 +03:00
InversionSpaces
a5e9354aeb
feat(compiler): Add equality ops [fixes LNG-217] (#820)
* Add eq ops

* Fixed if

* Fix return

* Fix tests

* Add parser tests

* Fix types, add semantics tests

* Add integration tests

* Add integration test

* Remove comment
2023-08-09 13:38:24 +00:00
Dima
ef4b0143ac
fix(compiler): Runtime error on compilation exported functions with top types [fixes LNG-218] (#822) 2023-08-09 16:21:18 +03:00
Anatolios Laskaris
d2637976c1
chore: Exclude integration-tests during publishing (#824)
* Exclude integration-tests

* Rename package

---------

Co-authored-by: Dima <dmitry.shakhtarin@fluence.ai>
2023-08-03 15:32:27 +03:00
Anatolios Laskaris
bc75611eb3
chore: Install without lockfile (#825)
Fix
2023-08-03 15:12:46 +03:00
Anatolios Laskaris
726230c987
chore(e2e): Override deps then install (#823)
Override deps then install
2023-08-03 14:04:08 +03:00
renovate[bot]
2d5d377967
chore(deps): update all github-actions (#810)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-01 13:35:04 +03:00
Dima
4e3e70f4fc
fix(compiler): Nested abilities [fixes LNG-214] (#816) 2023-07-31 14:40:06 +03:00
renovate[bot]
dba12b8277
chore(deps): update dependency sbt/sbt to v1.9.3 (#817)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-31 13:31:21 +03:00
InversionSpaces
a5b6102422
feat(compiler): Add boolean algebra [fixes LNG-211] (#814) 2023-07-27 14:11:36 +03:00
Dima
fabf8d7d61
feat(compiler): Restrict exporting functions that return arrow types or ability types [fixes LNG-209] (#815) 2023-07-26 12:55:16 +03:00
InversionSpaces
4c3c32b7c4
fix(compiler): Fix if with brackets parsing (#812) 2023-07-25 10:09:51 +00:00
InversionSpaces
50ba194b86
fix(compiler): Fix math ops for u64 [fixes LNG-204] (#811) 2023-07-25 12:53:50 +03:00
fluencebot
cb539f1332
chore(main): release aqua 0.11.8 (#805) 2023-07-20 18:28:33 +03:00
Anatolios Laskaris
c9bf77d53c
chore(release): Use pnpm instead of sed to bump version (#804)
Use pnpm instead of sed
2023-07-20 11:35:23 +03:00
Anatolios Laskaris
c097bedd47
chore(release): Bump aqua cli version in tests (#803)
Set aqua version in tests
2023-07-20 11:25:02 +03:00
Dima
63a9f42e86
feat(compiler): Abilities (#731) 2023-07-18 17:18:33 +00:00
renovate[bot]
ca52e2542c
fix(deps): update dependency @fluencelabs/fluence-network-environment to v1.1.2 (#786)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 19:03:02 +03:00
renovate[bot]
a804504522
chore(deps): update dependency sbt/sbt to v1.9.2 (#799)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 13:00:08 +03:00
InversionSpaces
33ab33d4c8
fix(compiler): Fix search for one element cycles (#797) 2023-07-14 15:06:21 +03:00
Anatolios Laskaris
0f9c40e9d1
chore: Fix release (#795)
Fix?
2023-07-14 10:09:03 +03:00
renovate[bot]
cc8610b3e6
chore(deps): update dependency org.portable-scala:sbt-scalajs-crossproject to v1.3.2 (#789)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 16:44:40 +03:00
InversionSpaces
b8b0fafda0
feat(compiler): Make on propagate errors [fixes LNG-203] (#788)
* Add fail model

* Make `on` propagate error

* Fix unit tests

* Fix TryTag inlining

* Update XorModel.wrap

* Add comments

* Remove wrapWithXor parameter

* Add unit tests

* Add integration tests

* Add comments

* Fix XorBranch topology
2023-07-12 16:18:47 +03:00
Anatolios Laskaris
a7dba14c7c
chore: Renaming things (#772)
* Renaming

* Use unstable

* Fix

* Fix

* Use main
2023-07-10 09:40:58 +03:00
InversionSpaces
c1fe24b04d
feat(compiler): Make topology hop with non-FFI snippet [fixes LNG-125] (#764)
* Remove MakeRes.canon

* Replace noop with hop

* Rewrite join

* Remove JoinModel, fix tests

* Share code between tests

* Pass type in RestrictionTag(Model)

* Fix MakeRes.hop

* Fix wrapping

* Rename vars, add comments

* Fix XorBranch topology

* Fix tests
2023-07-06 12:44:37 +03:00
folex
22f380a491
fix(ci): use unstable nox image (#780)
* fix(ci): use unstable nox image

* fix(integration-tests): js-client.node 0.7.0, .api 0.12.0

* fix: update pnpm-lock.yaml

* chore: remove aqua.js

---------

Co-authored-by: Dima <dmitry.shakhtarin@fluence.ai>
2023-07-04 12:04:12 -06:00
renovate[bot]
cef7dff098
chore(deps): update dependency sbt/sbt to v1.9.1 (#782)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 16:45:23 +00:00
renovate[bot]
742d1f35b7
chore(deps): pin dependency multiaddr to 10.0.1 (#773)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 16:32:32 +00:00
renovate[bot]
a10d50407b
chore(deps): update dependency org.typelevel:cats-parse to v0.3.10 (#781)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 19:13:49 +03:00
InversionSpaces
667a8255d9
feat(compiler): Find and display link cycles (#787)
Find and display dependency cycles
2023-07-04 10:07:22 +00:00
InversionSpaces
8ba7021cd4
refactor(semantics): Refactor semantics to produce concrete tags [fixes LNG-201] (#776)
* Introduce IfTag, TryTag; Remove XorTag

* Add IfTag, TryTag inlining

* Fix test compilation

* Fix test

* Hack to fix topology

* Support try otherwise syntax

* Add comments

* Refactor diff show

* Handle ParTag.Par in single check, add tests
2023-06-29 16:20:47 +00:00
Dima
339d3a8217
refactor: ArrowInliner refactoring (#777) 2023-06-29 11:43:38 +00:00
InversionSpaces
2985baadfc
chore(tests): Fix typo (#778) 2023-06-29 13:12:59 +03:00
renovate[bot]
9fdf4e1005
chore(deps): update hashicorp/vault-action action to v2.7.0 (#762)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 14:46:38 +03:00
renovate[bot]
26f943177d
chore(deps): update dependency org.scala-js:sbt-scalajs to v1.13.2 (#774)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 12:31:13 +03:00
Anatolios Laskaris
46705754e6
chore: Fix default branch (#771)
Fix
2023-06-22 15:13:24 +03:00
Anatolios Laskaris
aa10706506
chore: Refactor CI after moving tests from aqua-playground [fixes FLU-352] (#763)
* move integration tests to repo

* Move aqua-playground CI

* Fix

* Use local aqua cli

* Move aqua tests to e2e

* Test new build.sbt

* Fix?

* Test

* Test

* Test

* Test

* Update

* Fix

* Fix

* Fix

* fix

* Fix

* Rename aqua-api to api directory for consistency

* Migrate to pnpm

* Add bump version script

* Test snapshot workflow

* fix

* Fix

* Fix

* Setup pnpm

* Update pnpm version

* Fix

* Do not publish tests

* Update

* Fix

* Fix?

* delete import

* Fix

* Fix

* Fix?

* Fix

* Fix

* Use main branch

* Fix quotes

* Fix

* Fix release

* Cleanup

* Remove compiled examples

* Cleanup

---------

Co-authored-by: DieMyst <dmitry.shakhtarin@fluence.ai>
2023-06-22 14:59:56 +03:00
Dima
6cc3a969d2
chore: move integration tests to repo [LNG-167] (#756) 2023-06-19 19:28:34 +03:00
InversionSpaces
b9d03cbcf0
refactor(compiler): Refactor Topology (#754)
* Separate files

* Refactor `capturedTopologies`

* Refactor pathOn

* Refactor firstExecutesOn, lastExecutesOn

* Refactor resolve

* Extract debug print

* Refactor cata and resolve

* Refactor through

* Refactor pathAfterAndPingNext

* Refactor For.beginsOn
2023-06-19 17:10:25 +02:00
renovate[bot]
4acbf4dc7e
chore(deps): update dependency org.typelevel:cats-parse to v0.3.9 (#760)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 13:20:27 +03:00