Commit Graph

724 Commits

Author SHA1 Message Date
Dima
9c21f40e3b
Pass arrays as arguments in aqua run function call (#497) 2022-04-21 18:10:43 +03:00
Dima
ab649eaf5e
Show parser error if constant is an array, function call, or expression (#496) 2022-04-21 17:28:08 +03:00
Dima
a6b8705028
#385 handle javascript exceptions (#495) 2022-04-21 13:08:59 +03:00
Dima
10061ade3b
Generate types from JSON (#492) 2022-04-20 14:45:42 +03:00
Dima
e3957c1296
handle EPIPE error properly (#491) 2022-04-14 15:04:43 +03:00
Dima
84f30da3ff
update fjs to 0.22 (#490) 2022-04-14 11:02:21 +03:00
Dima
0892a72afd
#484 Improve type mismatch error messages (#488) 2022-04-13 17:09:58 +07:00
Dima
42d534a586
fix handling pipes (#489) 2022-04-13 11:38:18 +03:00
Dmitry Kurinskiy
abd101c4f9
Fix for greedy par (#487) 2022-04-12 16:27:04 +03:00
Dima
e9a686aac6
Math sequence fixes (#476) 2022-04-11 15:36:01 +03:00
Dima
f8b3f35530
verbose flag (#481) 2022-04-07 10:17:42 +03:00
Dima
b36ed191e9
#474 noXor noRelay and const flags for aqua run (#480) 2022-04-05 19:58:01 +03:00
Dima
8ff57625f0
#478 throw compilation error if service returns multiple results (#479) 2022-04-04 18:14:57 +07:00
Dima
ef0091175c
fix and add unit test (#477) 2022-04-04 11:08:02 +03:00
Dima
277bb5c8b8
Addr aliases and info fixes (#470) 2022-03-30 21:59:41 +07:00
Dima
9f59d376ca
update fjs to 0.21.6 (#467) 2022-03-28 17:00:09 +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
boneyard93501
50d0bd832f
spelling (#466) 2022-03-25 10:28:00 +03:00
Dima
fe21fdc1d7
--show-sk flag (#465) 2022-03-25 10:02:07 +03:00
Dima
e14af21557
Set arguments types dynamically from JSON (#464) 2022-03-23 20:54:54 +03:00
Dima
acba8e8766
deploy -> deploy_service (#462) 2022-03-22 14:43:27 +03:00
Dima
0fdccd9d48
Finalizing current CLI API (#457) 2022-03-21 23:55:16 +03:00
Dima
18ef488ff2
update FJS (#456) 2022-03-18 14:38:33 +03:00
Dima
2ed1d8cf08
V3 types (#453) 2022-03-17 14:25:12 +03:00
Dima
564070465a
Add message when function not found (#454) 2022-03-16 11:49:33 +03:00
Dmitry Kurinskiy
ab0990dd72
Capture and apply topology (#451) 2022-03-15 14:52:43 +03:00
Dima
fe3015a2cd
update FluenceJS to 0.21.1 (#452) 2022-03-10 12:59:33 +03:00
Dima
5fe378c963
createService and addBlueprint commands (#449) 2022-03-09 19:56:51 +03:00
Dima
04e68b553f
Use global node_modules path to find aqua dependencies (#450) 2022-03-09 18:54:28 +03:00
Dmitry Kurinskiy
2fa3a09548
Empty collections creation (#447) 2022-03-04 14:07:30 +03:00
Dmitry Kurinskiy
6772c1d0fa
Sugar for collections (#445) 2022-03-03 17:54:45 +03:00
Dmitry Kurinskiy
271dbc87a1
Unite, intersect types (#444)
* Unite, intersect types

* intersection types tests wip

* Intersections fixed

* Hacky temporary solution for unions of products

* Okay it's good enough

* Generate ascii-compatible struct names

* Pluggable scalars combiners

* Scalar combiners

* A few lines of docs
2022-03-01 14:43:51 +03:00
Dima
e027351bf5
update FluenceJS (#443) 2022-02-24 16:29:34 +03:00
Dima
5eae05dff0
Add top-bottom support (#442) 2022-02-23 12:37:18 +03:00
Dima
4c08cf7343
Add, remove and list scheduled scripts (#440) 2022-02-23 11:16:29 +03:00
Dima
b7aee3d09c
Add timeout to finisher to avoid infinite hanging of async functions (#437) 2022-02-17 20:34:39 +07:00
Dima
145819ec51
update fluencejs to 0.19.2 (#439) 2022-02-17 15:43:03 +03:00
Dima
3320cffde8
Remove service command, file options refactoring (#428) 2022-02-16 10:47:43 +03:00
Dmitry Kurinskiy
c74eb06499
427 topology bug (#433)
* fix path

* topology bug 427 test

* test with join, it works

* improve topology test, still works. add compiler test

* broken compiler test

* CompilerSpec works fine without `wrapWithXor`

* add xor to topology test, it becomes broken

* XOR topology fixed

* ForceExecModel

* Debugging topology WIP

* Fixed

Co-authored-by: DieMyst <dmitry.shakhtarin@fluence.ai>
2022-02-15 19:20:56 +03:00
Dima
1a8af46b51
add env option to aqua cli (#434) 2022-02-15 14:15:27 +07:00
Dima
93d73fa58d
Pass name to a script as argument (#431) 2022-02-10 11:44:39 +03:00
Dima
b0b834e061
update js libs (#430) 2022-02-09 19:43:57 +03:00
Dima
5a79dbb76a
#426 aqua does not generate correct getDataSrv (#429) 2022-02-09 13:24:21 +03:00
Dima
88da133e00
Dist bug fixes (#422) 2022-02-06 08:52:51 +03:00
Dmitry Kurinskiy
6d03a0d95b
Fix for passing a stream argument with lambda to a function waiting for a scalar (#420) 2022-02-06 00:26:07 +03:00
alari
f311afd760 dist enhance 2022-02-05 17:41:35 +03:00
alari
051139d802 dist enhance 2022-02-05 15:30:08 +03:00
Dmitry Kurinskiy
ce46e96412
aqua dist enhance (#419) 2022-02-05 15:19:45 +03:00
Dima
7c711f15e4
Fix ipfs upload in aqua (#415)
* fix path

* fix ipfs

* fix pathes
2022-02-05 14:20:30 +03:00
Dima
02bf1aa25f
Fix path resolving for aqua installed package (#414)
* fix path

* fix compilation
2022-02-05 13:00:31 +03:00