Commit Graph

319 Commits

Author SHA1 Message Date
Dima
c6b3314d39
identity -> noop (#406) 2022-01-20 11:41:12 +03:00
Dima
255c1f61b5
VarModel -> VarRaw in collect functions (#405) 2022-01-20 07:08:26 +03:00
Dmitry Kurinskiy
f795edfaf7
Join expression (#402) 2022-01-13 13:58:20 +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
Dima
a051ab0efc
Network info services for aqua CLI (#393) 2021-12-30 13:44:31 +03:00
Aleksey Proshutisnkiy
306c67030e
fluence-js = 0.18.0 (#395) 2021-12-30 13:37:18 +03:00
Dmitry Kurinskiy
6657a41086
Added error_code to last error type (#396) 2021-12-30 13:30:04 +03:00
Dmitry Kurinskiy
d1b54fe39b
Fixes topology for co (#394)
* Fixes topology for co

* Removed debug output

* Test fixed
2021-12-29 12:01:13 +03:00
Dima
4ded24d7a7
Fix publishing (#392) 2021-12-28 12:32:16 +03:00
Dima
082293a4e2
Upload file to Fluence IPFS sidecar (#390) 2021-12-24 15:50:12 +07: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
afbdf69438
fix error when no variables in arguments (#388) 2021-12-22 11:28:38 +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
3e762d6654
#370 #377 #378 Builtin as default import and minor changes (#384) 2021-12-03 20:30:00 +03:00
boneyard93501
e22867caa4
fluence to 0.15.1 (#382) 2021-11-30 00:00:33 +03:00
Dima
9fa6e9f7b3
#366 Add secret key option #373 Handle timeout errors (#381) 2021-11-26 15:51:32 +03:00
folex
556c21c5ef
CLI: Implement create_keypair (#375) 2021-11-26 14:05:24 +03:00
Dmitry Kurinskiy
8c22a69840
Detach for par (#369) 2021-11-25 12:11:45 +03:00
Dima
7ec3575a84
Add features #362 #363 #367 #357 to run command (#368) 2021-11-25 11:01:08 +03:00
Dima
324bea5aec
add init_peer_id in oputput (#365) 2021-11-24 13:35:28 +03:00
Dima
ae27dcb534
stringify args, add timeout option (#360) 2021-11-19 17:17:47 +03:00
Dima
4eb272e953
Support new fluenceJS version in run command. Print results of a function (#358) 2021-11-17 10:56:42 +03:00
Dmitry Kurinskiy
27b885f12d
#321 restricted stream scopes (#359) 2021-11-17 08:25:06 +03:00
Dima
3665abe4b7
#320 Script storage option (#355) 2021-11-05 12:03:40 +03:00
Dmitry Kurinskiy
0eab86dc4c
Closures syntax (#327) 2021-11-04 19:22:57 +03:00
Dima
b11a76cfc6
#337 Delete duplicated errors (#352) 2021-11-02 17:33:17 +03:00
Dima
8c9497b9cb
#322 unclear error message if parentheses are missing (#353) 2021-11-02 17:25:34 +03:00
Dima
3c7d81ba17
#343 Compare option types properly (#354) 2021-11-02 17:18:18 +03:00
Dima
73f46c6897
Pass stream arguments to callbacks properly (#350)
* add DeclareStreamTag

* some fixes

* fix

* intersect argsToRename and streamToRename to fix excess renaming

Co-authored-by: dmitry <dmitry@fluence.one>
2021-11-02 12:26:00 +03:00
Dmitry Kurinskiy
5dd4ea6b0f
Pushing a stream into a stream (#344)
* Remove premature handling of pushing a stream into a stream

* Handling PushToStreamTag with literal tmpName

* Handling PushToStreamTag on Topology level

* Compilation bugfix

* Better handling for CanonicalizeTag

* Mutable i
2021-10-27 14:21:12 +03:00
Dmitry Kurinskiy
1bd640e773
277 implicit canonicalization for <<- stream (#339)
* Create opaque names in NamesInterpreter

* Implicit canonicalization for <<- stream

* PR fixes

* Second part of #277
2021-10-26 19:47:28 +03:00
Dima
dacf4d63dc
Fix target resolving (#336)
* fix and add test

* Update cli/src/main/scala/aqua/files/AquaFileSources.scala

Co-authored-by: folex <0xdxdy@gmail.com>

* fix PR

Co-authored-by: folex <0xdxdy@gmail.com>
Co-authored-by: Dmitry Kurinskiy <dmitry@fluence.one>
2021-10-25 22:32:25 +03:00
Dmitry Kurinskiy
836dcccc79
Wrap for par with par null (#338) 2021-10-25 18:56:09 +03:00
Dima
9933b38ded
Replace null to undefined in json to register services and functions properly (#335) 2021-10-22 00:08:08 +03:00
Dima
2f1d5a0760
Async fluence js (#334) 2021-10-21 16:47:04 +03:00
Dima
058a83fa7f
fix node_modules import (#328) 2021-10-14 12:15:42 +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
f27ae5eda9
Fix version flag (#313) 2021-09-22 12:38:47 +03:00
Dima
217613321b
fix (#308) 2021-09-21 11:51:38 +03:00
Dima
aa34d04808
Add levenshtein distance to error messages, fix constant parsing (#303) 2021-09-20 15:35:45 +03:00
Dima
93dec7846c
Check service definition fields in TS and JS, fix functions and services count in output (#305) 2021-09-17 11:21:04 +03:00
Dima
b0c193a42c
Error formatting, fix dry run, fix aqua extensions in imports (#301) 2021-09-14 14:42:11 +03:00
Dima
c4248640af
ts format (#302) 2021-09-14 13:46:48 +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
Pavel
5c67987346
Adjust ts and js backend to support updated JS SDK public interface (#298) 2021-09-10 19:53:52 +03:00
Dmitry Kurinskiy
5b8a253fe7
Readme updates (#295)
* NPM installation guide in the README.md

* NPM badge

Co-authored-by: Dima <dmitry.shakhtarin@fluence.ai>
2021-09-10 17:36:21 +03:00
Dima
7362b46384
Fix incorrect resolving pushing stream from func to a value (#275) (#297) 2021-09-10 14:36:01 +03:00