Commit Graph

711 Commits

Author SHA1 Message Date
Anatolios Laskaris
f2c2c07cf2
chore(release-please): Set aqua-api version in tests (#901)
Set aqua-api version in tests
2023-09-18 12:01:25 +03:00
InversionSpaces
67d8151d94
feat(build): Implement custom bundle task (#894)
* Add link settings

* fix

* Rename to api-dist-js

* Correct import

* Update CI

* Implement bundleJS

* Add comments

* Add TODO

* Fix import

* Fix workflow

---------

Co-authored-by: Artsiom Shamsutdzinau <shamsartem@gmail.com>
2023-09-18 09:53:25 +02:00
InversionSpaces
3f916c78ab
feat(aqua-api): Use scala.js link instead of opt (#891)
* Add link settings

* fix

* Rename to api-dist-js

* Correct import

* Update CI

---------

Co-authored-by: Artsiom Shamsutdzinau <shamsartem@gmail.com>
2023-09-15 15:42:04 +02:00
InversionSpaces
6be2a3d5da
feat(compiler): Services as abilities [fixes LNG-206] (#873)
* Refactor ServiceSem

* Refactor AbilityIdSem

* Remove tokens from state

* Refactor

* Add mangler

* Fix tests

* Refactor valueToRaw

* ServiceIdTag

* AbilityId -> ServiceId

* Add ServiceType

* Fix defineServiceType

* Refactor resolveArrowDef

* Refactor TypesHelper

* Add ServiceIdTag inlining

* Implement resolution

* Add service as ability passing

* Fix importing services

* Fix cli

* Implement default service

* Remove println

* Fix capture

* Add integration test

* Fix id

* Fix test

* Fix test

* Refactor test

* Do not resolve id

* Refactor FuncArrow creation

* Refactor FuncArrow wrapper creation

* Add named arguments

* Add comment

* ensureIsString -> valueToStringRaw, refactor OnSem

* Resolve services as abilities

* Add name to varNames

* Remove service hack

* Capture services, do not rename captured

* Rename arrows along with values

* Fix CallArrowRaw.map

* Fix unit tests

* Remove service case

* Refactor abilities state

* Propagate rootServiceIds

* Remove unused

* Add comments

* Refactor

* Refactor

* Add test

---------

Co-authored-by: Dima <dmitry.shakhtarin@fluence.ai>
2023-09-15 10:34:21 +02:00
Dima
f8b5017918
feat(language-server): Pass errors to lsp context [fixes LNG-243] (#888) 2023-09-14 15:19:16 +00:00
renovate[bot]
d6f879ef7a
fix(deps): update dependency @fluencelabs/js-client to v0.1.4 (#887)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 13:32:45 +00:00
Dima
404d5ffae2
chore: add code to run aqua (#886)
* add code to run aqua

* delete aqua-cli

* Apply suggestions from code review

---------

Co-authored-by: InversionSpaces <InversionSpaces@vivaldi.net>
2023-09-13 10:55:22 +00:00
Anatolios Laskaris
1e2e35ee88
chore: Remove aqua cli (#874)
* Remove aqua cli

* fix

* Fix

---------

Co-authored-by: DieMyst <dmitry.shakhtarin@fluence.ai>
2023-09-12 13:37:40 +03:00
Dima
9f863eae43
chore: Compile integration tests with aqua-api [fixes LNG-240] (#884) 2023-09-12 13:11:50 +03:00
fluencebot
03042a71f3
chore(main): release aqua 0.12.1 (#866)
* chore(main): release aqua 0.12.1

* chore: Bump aqua version to 0.12.1

---------

Co-authored-by: Dima <dmitry.shakhtarin@fluence.ai>
2023-09-11 16:11:55 +03:00
renovate[bot]
148cb0004e
chore(deps): update actions/checkout action to v4 (#881)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-11 12:42:20 +00:00
renovate[bot]
cd863ff246
chore(deps): update dependency org.scalatest:scalatest to v3.2.17 (#877)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-11 15:30:26 +03:00
renovate[bot]
e219752c9c
chore(deps): update dependency scala to v3.3.1 (#878)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-11 12:13:48 +00:00
renovate[bot]
3419607e8c
fix(deps): update dependency @fluencelabs/aqua-lib to v0.7.3 (#882)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-11 14:59:47 +03:00
InversionSpaces
69a808e243
fix(compiler): Error on not arrow call after <- (#876)
* Add error report

* Add tests
2023-09-08 14:21:19 +02:00
renovate[bot]
df111adf21
fix(deps): update dependency @fluencelabs/js-client to v0.1.3 (#875)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 10:37:37 +02:00
renovate[bot]
c857807014
chore(deps): update dependency co.fs2:fs2-io to v3.9.1 (#867)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 15:00:32 +03:00
renovate[bot]
4365dcb899
chore(deps): update dependency @fluencelabs/interfaces to v0.8.2 (#859)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 14:41:58 +03:00
renovate[bot]
1f23545b49
fix(deps): update dependency @fluencelabs/js-client to v0.1.1 (#865)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 14:23:04 +03:00
InversionSpaces
c1fbea1a49
chore(compiler): Add PathFinder test (#872) 2023-09-04 11:22:57 +00:00
InversionSpaces
443e65e3d8
fix(compiler): Fix closure stream capture [fixes LNG-58] (#857) 2023-09-01 16:05:32 +03:00
renovate[bot]
77864202d1
chore(deps): update dependency sbt/sbt to v1.9.4 (#860)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-01 15:42:23 +03:00
fluencebot
5adbae0677
chore(main): release aqua 0.12.0 (#853)
* chore(main): release aqua 0.12.0

* chore: Bump aqua version to 0.12.0
2023-08-25 11:55:20 +03:00
Akim
0f9ede09fb
feat(js-client)!: Move to new js-client interface (#855)
* js-client.api -> js.client

* fix types

* Update js-client

* Remove redundant connect

* Set latest js-client
2023-08-25 11:39:10 +03:00
InversionSpaces
2a0b207633
feat(compiler): Restrict abilities usage [fixes LNG-208] (#854)
* Refactor

* Refactor

* Refactor

* Remove ScopeRaw

* Refactor, forbid exporting

* Add export checks

* Refactor

* Forbid exporting abilities

* Fix integration tests

* Forbid implicit ability export

* Simplify exports

* Fordbid using non data types in collections

* Forbid unappropriate struct field types

* Refactor

* Add export tests

* Add collection tests

* Add struct fields test

* Fixes

* Fix
2023-08-24 16:09:39 +03:00
Anatolios Laskaris
3b033852f9
chore: Use node 18 (#856)
Use node 18
2023-08-24 12:20:34 +02:00
InversionSpaces
bf0b51fa5b
fix(compiler): Fix nested abilities [fixes LNG-220] (#852)
* Fix fields gathering

* Remove println

* Add test

* Remove println

* Add comments

* Add comments
2023-08-22 11:53:06 +02:00
fluencebot
5db1282c1f
chore(main): release aqua 0.11.11 (#850)
* chore(main): release aqua 0.11.11

* chore: Bump aqua version to 0.11.11

---------

Co-authored-by: Anatoly Laskaris <github_me@nahsi.dev>
2023-08-21 16:40:35 +03:00
Anatolios Laskaris
badc7d7a45
chore(ci): Use fluencebot to bump versions (#851)
Use fluencebot to bump versions
2023-08-21 15:41:03 +03:00
Anatolios Laskaris
7a6fce27f7
chore: Revert release (#848)
* Revert "chore(main): release aqua 0.11.10 (#835)"

This reverts commit 071ba7d483.

* Release as 0.11.11
2023-08-21 14:37:49 +03:00
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