Commit Graph

103 Commits

Author SHA1 Message Date
fluencebot
2367f29ee8
chore(main): release aqua 0.10.6 (#700) 2023-05-03 18:04:52 +03:00
Dima
670e779ba0
refactor: fix: LNG-143 LNG-144 definitions and locations algebras (#705) 2023-05-03 16:24:19 +03:00
renovate[bot]
5eef3de5c3
chore(deps): update dependency org.typelevel:cats-effect to v3.6-1f95fd7 (#703)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 13:42:03 +03:00
fluencebot
667ea300f0
chore(main): release aqua 0.10.5 (#695)
* chore(main): release aqua 0.10.5

* chore: Bump aqua version to 0.10.5
2023-04-18 11:45:18 +03:00
fluencebot
a3c1b0ed31
chore(main): release aqua 0.10.4 (#682)
* chore(main): release aqua 0.10.4

* chore: Bump aqua version to 0.10.4

---------

Co-authored-by: Dima <dmitry.shakhtarin@fluence.ai>
2023-04-11 02:17:47 +07:00
Nick
5f4808b457
feat(compiler): add aqua native compilation (#681)
* feat(compiler): add aqua native compilation
2023-03-07 13:46:20 +03:00
fluencebot
95c0ec5ec5
chore(main): release aqua 0.10.3 (#678)
* chore(main): release aqua 0.10.3

* chore: Bump aqua version to 0.10.3
2023-02-28 11:52:23 +03:00
fluencebot
9074381b89
chore(main): release aqua 0.10.2 (#674)
* chore(main): release aqua 0.10.2

* chore: Bump aqua version to 0.10.2
2023-02-25 08:18:26 +03:00
fluencebot
0eee46e72c
chore(main): release aqua 0.10.1 (#673)
* chore(main): release aqua 0.10.1

* chore: Bump aqua version to 0.10.1
2023-02-16 19:36:56 +03:00
fluencebot
3635a0bbaa
chore(main): release aqua 0.10.0 (#670)
* chore(main): release aqua 0.10.0

* chore: Bump aqua version to 0.10.0
2023-02-16 18:54:42 +03:00
fluencebot
ed46d62b97
chore(main): release aqua 0.9.5 (#666) 2023-02-16 17:17:41 +03:00
renovate[bot]
3510845326
chore(deps): update dependency co.fs2:fs2-io to v3.6.1 (#663)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-14 03:33:24 +07:00
fluencebot
b4a62da6fc
chore(main): release aqua 0.9.4 (#652) 2023-02-01 11:40:16 +03:00
renovate[bot]
05211a27c9
chore(deps): update dependency scala to v3.2.2 (#654)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-30 10:10:32 +03:00
fluencebot
b6643df3a4
chore(main): release aqua 0.9.3 (#640)
* chore(main): release aqua 0.9.3

* chore: Bump aqua version to 0.9.3
2023-01-20 09:53:20 +03:00
Anatolios Laskaris
d7956c1c8d
fix(ci): Set correct aqua version when creating release-please PRs [fixes FLU-218] (#642)
* Bump aqua version

* Use base version if snapshot not set

* Add SC2086 to shellcheck exclusions

* Fix sed statement
2023-01-18 18:36:03 +07:00
folex
1d0448cb96
chore(deps): update dependency org.scalatest:scalatest to v3.2.15 (#624)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Dima <dmitry.shakhtarin@fluence.ai>
2023-01-18 13:12:02 +07:00
Dima
269c68ad59
Add errors to API results, fix AquaConfig, fix types (#620) 2022-12-29 20:03:57 +03:00
Dima
aa89b85b41
Api for fluence cli (#611) 2022-12-28 11:30:42 +03:00
Dima
63433f2c91
LNG-96 object creation (#592) 2022-11-30 15:28:06 +03:00
Aleksey Proshutisnkiy
f6c3087c18
chore: bump fluence-js version to v0.26.1 (#567) 2022-10-09 18:38:35 +04:00
Dima
e409605d21
LNG-85 Streams restrictions in aqua (#555) 2022-09-20 17:04:55 +03:00
Dima
a8eeeacb8a
#521 #522 #523 deploy script and logging improvements (#549) 2022-08-22 17:02:24 +03:00
Dima
5a3ef04c2a
Update scala and libs versions (#544) 2022-08-01 22:20:45 +03:00
Dima
9bba41abbe
fix type definition for literals, increase version (#527) 2022-06-24 11:46:18 +03:00
Dima
5a7450bce1
Go-to definitions location between files (#516) 2022-06-02 13:31:31 +03:00
Dima
6064659610
DXJ-21 Save token definitions for LSP (#514) 2022-05-24 17:05:26 +03:00
Dima
16a802f5a5
Language server (#512) 2022-05-17 15:05:25 +03:00
Dima
10061ade3b
Generate types from JSON (#492) 2022-04-20 14:45:42 +03:00
Dmitry Kurinskiy
12ee2d52fa
Arrow Call as a Raw Value (#461)
* CallArrowToken in the parser

* CallArrowRawTag

* unfoldArrow

* handle IntoIndexRaw for CallArrowRaw

* Removed useless CallArrowRawTag.service argument

* RawValueInliner split into several classes

* cliJS compiles

* Parser tests compile

* Semantics spec compile but fail

* Allow braces around values

* infix token WIP

* InfixToken WIP

* Fixes #423

* Infix (arithmetic) operations order

* Infix (arithmetic) operations parallelism fix

* seq it!

* fix inline test

* fix transform test

* fix semantics spec

* fix CallArrowSem

* bugfix

* Fix for CLI help typo

* merge

* Order fix

* Order fix

* optional space after `func` in closures

* some doc comments

Co-authored-by: DieMyst <dmitry.shakhtarin@fluence.ai>
2022-03-25 17:23:41 +03:00
Dima
2ed1d8cf08
V3 types (#453) 2022-03-17 14:25:12 +03:00
Dmitry Kurinskiy
ab0990dd72
Capture and apply topology (#451) 2022-03-15 14:52:43 +03:00
Dima
04e68b553f
Use global node_modules path to find aqua dependencies (#450) 2022-03-09 18:54:28 +03:00
Dmitry Kurinskiy
6772c1d0fa
Sugar for collections (#445) 2022-03-03 17:54:45 +03:00
Dima
5eae05dff0
Add top-bottom support (#442) 2022-02-23 12:37:18 +03:00
Dima
3320cffde8
Remove service command, file options refactoring (#428) 2022-02-16 10:47:43 +03:00
Dmitry Kurinskiy
012cba493c
Op model (#403)
* Separating raw FuncOp from OpModel WIP

* Model compiles, fighting with transform

* Refactoring WIP

* transform compiles

* Fixing AquaCompiler WIP

* Compiler compiles WIP

* AquaContext's allFuncs, allValues

* WIP trying to compile the CLI

* It compiles

* It runs and fails to compile

* Compiles wrong way

* fix TopologySpec

* Sugar bugfix

* fix TransformSpec compilation

* fix test compilation

* fix SemanticSpec

* Topology debugging

* TransformSpec fixed

* Do not import aqua.model

* Take parts in Semantics

* Fix for re-exports

* Maybe a fix for streams

* Maybe a fix for declarations

* streamArgs.aqua in test examples

* more aqua code with bugs

* FuncOp removed

* removed wrapNonEmpty

* fix TransformSpec

* fix SemanticSpec compilation, delete FuncOps

* Separated model/res, model/inline

* tiny fix

* Tests fixed

* TreeNode to wrap labels into cofree standard way

* TreeNodeCompanion with defauls show, equalsOrShowDiff for all Cofree trees we have

* Simple TagInlinerSpec

* Failing test in TagInlinerSpec

* test wip

* test fixed

* delete Node

* delete test-kit, move tests

* fix constants

* Failing TagInliner test

* More complex case for TagInlinerSpec

* TagInlinerSpec fix

* Split RawValueInliner, TagInliner

* Dumb case for ArrowInlinerSpec

* spec for stream renaming

* renaming stream test

* Exports fixed

* SeqModel.wrapWithEmpty for tests

* Deleted EmptyModel

* Bring back EmptyModel

* ArrowInlinerSpec wip

* ArrowInlinerSpec fixed

* Test fixed

* fix

* stream in callback test WIP

* Slightly better logging for TagInliner

* add example in aqua

* test update

* Removed occasional abilities override

* test

* AquaCompilerSpec WIP

* AquaCompilerSpec failing

* AquaCompilerSpec fixed

* fix test

* compiler test, add RestrictionTag

* break test

* fix stream passing to box arguments

* fix exports in context

* Do not reexport builtins

* init for topology bug

* test for topology

* Reproduced the import-reexport bug

* Hops are working...

* Issue #397 does not reproduce!

* foldJoin reproduces the bug

* Reexports inefficiently fixed

* Topology test fixed

* topology bug

* Cache compiled parts

* Cache compiled parts

* ignore the wip topology test

* delete test

* hanging

* add builtin

* Use linked-data-structure `equals` instead of recursive `hashCode`

* A bit more logs

* eq is faster than ==

* Try to join one by one

* op.identity for join

* reverting op.noop for join

* Fix for renaming when value has the same name as argument

* Bump the version to .6

* broken test for names

* second test for renaming

* this test works but i must break it

* add index in call

* JoinModel breaks test

* the test works fine with a fix, but we should check it closely. and `foldJoin.aqua` integration test become broken

* broken test with xor

* Fixed naming issue for lambda's variables substitution

* Topology bug wip

* Fixes #397

* Maybe fix

Co-authored-by: DieMyst <dmitry.shakhtarin@fluence.ai>
2022-01-31 14:48:13 +03:00
Dmitry Kurinskiy
5a8a702f1c
Scalar index access (#401)
* Access index by scalar value

* Decomposed resolveField/resolveIndex semantics

* valueToRaw with recursive lambda support

* P.defer for recursive parser

* Desugarize all tags

* .backtrack

* Recursion bugfix

* Some code readability improvement

* Compile bugfix
2022-01-13 13:39:43 +03:00
Dmitry Kurinskiy
061e896b63
Model/raw refactoring (#398)
* Introducing model/raw subproject

* ValueRaw WIP

* ValueRaw WIP

* ValueModel.fromRaw WIP

* Recursive variables renaming

* Tests

* recursiveRaw

* Arrow Inliner refactoring

* desugarize takes its place WIP

* Sugar.desugarize maybe works

* Some movings/renamings

* Compile bug fixed

* Updated scalafmt

* Fix for service defaultId

* Map values recursively
2022-01-13 10:32:59 +03:00
Dmitry Kurinskiy
22778914ca
Topology refactoring & fixes (#371)
* Topology optimization for Folds

* cache RawCursor's parent for better performance

* Tests fixed

* wip

* wip

* Use the new Topology to find paths

* Compile bug fixed

* Old tests works

* One more fixed test

* Move before seq next

* One more fixed test

* Bugfix

* Disabled debug output

* maybe fix?

* maybe fix?

* Topology wip

* Maybe fix

* Maybe fix

* Fold optimization

* Root topology

* Respect forceExit in endsOn

* better caching

* better caching

* Root afterOn = const

* XorGroup endsOn should break

* no EndsOn for Root

* Maybe better?

* Uncycling

* Eval

* Respect ParTag.Detach

* Detach test

* Detach test failing

* Detach test fixed

* Go to relay via relay

* Fixes #380

* Increment Aqua version to 0.5.2

* Add image to transform readme, update dependencies

* Review fixes

* Updated Scala version in the release flow
2021-12-22 15:21:37 +03:00
Dima
71ea87aefd
#374 Pass structures to aqua run as JSON from an argument or a file (#386) 2021-12-10 14:39:26 +03:00
Dima
ae27dcb534
stringify args, add timeout option (#360) 2021-11-19 17:17:47 +03:00
Dmitry Kurinskiy
27b885f12d
#321 restricted stream scopes (#359) 2021-11-17 08:25:06 +03:00
Dmitry Kurinskiy
0eab86dc4c
Closures syntax (#327) 2021-11-04 19:22:57 +03:00
Dima
2f1d5a0760
Async fluence js (#334) 2021-10-21 16:47:04 +03:00
Dima
3844d8f2db
Run aqua code from CLI (#324) 2021-10-13 11:10:10 +03:00
Dima
4e63da83f5
Combine js and ts backends (#307) 2021-09-23 13:45:27 +03:00
Dima
84141bbcc4
revert to w.x.y-z (#300) 2021-09-13 13:29:35 +03:00
Dima
46a972714c
Use and export without .aqua extension, flag for a dry run, create output directories (#299) 2021-09-13 13:08:15 +03:00
Dima
7556db0a93
Use .js file in aqua command by default (#278)
* move to `aqua` and `aqua-j`

* more updates

* update readme

* aqua-cli -> aqua

* don't publish aqua as aqua-cli

* update scala

Co-authored-by: Dmitry Kurinskiy <dmitry@fluence.one>
2021-09-08 13:37:59 +03:00