Commit Graph

251 Commits

Author SHA1 Message Date
2e5f986961 fix assembly, add u8 (#45) 2021-04-08 15:53:54 +03:00
6540550f08 use cli/version in CI 0.1.0 2021-04-06 19:29:02 +03:00
1ecd25096b fix version in CI 2021-04-06 19:16:03 +03:00
0de43b470e 39 fix callbacks (#43)
* Project layout reorganized

* Topology resolution extracted to a separate file

* FuncResolved class

* aqua.model.transform

* Basic bubbling

* Get more context into topology resolver

* Failing Topology test

* Get back in seq

* OnTag.via: List changed to Chain, as via is reversed and concatenated quite frequently
2021-04-06 19:01:25 +03:00
75595b99bd Fix in GetServiceId error message (#41) 2021-04-05 15:28:13 +03:00
992af16a08 Fix via path, complex tests (#27) 2021-04-05 10:40:51 +03:00
cad921a958 Expr tests (#26) 2021-03-26 16:55:46 +03:00
2adcfbbecc Huge refactoring of model & generator (#25)
* All generation logic removed from model

* ForModel moved from Gen to Model

* WIP converting FuncOp to a Cofree tree

* FuncOp is a Cofree tree

* CallServiceTag

* Model refactoring WIP

* Resolve functions and arguments in FuncModel

* Simply resolve peer id

* on ... via relay syntax

* Tests compilation fixed

* Coalgebra -> CallArrow

* Tiny changes

* par for par works

* TODO

* Review fix
2021-03-26 14:04:22 +03:00
8aeeed2071 add flag to generate only air script (#24) 2021-03-25 17:22:11 +03:00
f28dca35eb Args and stdin (#23) 2021-03-24 13:17:02 +03:00
c9f109fd85 Fix message for timeout (#22) 2021-03-24 12:05:01 +03:00
8557430a41 Fix args callbacks (#21) 2021-03-23 13:33:29 +03:00
13bd4fd340 Error handling, check extensions, delete old files (#19) 2021-03-23 13:27:36 +03:00
57c740041f Do not set arguments to AirContext if they're generated during function export (#20) 2021-03-23 13:19:22 +03:00
2151bc3b9f CI: cache .sbt .ivy2 .coursier (#18) 2021-03-23 12:27:30 +03:00
1b63da58cd Fix for return var (#17)
* Fix for return var

* Queues -> Chains

* ValidatedNel -> ValidatedNec

* Fix for right-biased ops: xor, par

* Expr.And
2021-03-23 11:33:58 +03:00
2e2f6e33de Fix argument indices (#16) 2021-03-22 20:05:56 +03:00
2c073b8c80 Add exclamation sign to all jsonpaths (#15)
* Add exclamation sign to all jsonpaths

* Check number of arguments
2021-03-22 19:29:17 +03:00
b68cc46c2a Fix error handling in typescript code (#14) 2021-03-22 19:04:57 +03:00
f7035efbf1 sbt test on branches (#13) 2021-03-22 17:25:47 +03:00
7c0626b4f3 bool -> boolean in ts (#12) 2021-03-22 17:25:03 +03:00
b20694b987 improve CLI (#8) 2021-03-22 17:10:38 +03:00
0b639f9667 Else expression works, but not correct way (#11) 2021-03-22 17:09:41 +03:00
ae213ce42d CI: set version in release (#10) 2021-03-22 16:55:07 +03:00
9088767512 Merge pull request #9 from fluencelabs/if-expr
If expression
2021-03-22 16:36:00 +03:00
f4beba403e If expression works 2021-03-22 16:31:03 +03:00
beec9eacc0 Trying to introduce IF expression 2021-03-22 16:19:14 +03:00
5f892cac87 CI: cleanup 2021-03-22 15:45:50 +03:00
1a43bfd710 CI: master => main 2021-03-22 15:39:56 +03:00
e37f30a4eb CI: Release on each commit (#7) 2021-03-22 15:38:31 +03:00
b5e4dc1caa Merge pull request #6 from fluencelabs/fix-windows-nl
Fix windows nl
2021-03-22 15:29:34 +03:00
e80e6cdee8 nl 2021-03-22 15:25:02 +03:00
e0a9676b50 Fail when trying to return a value with no return type specified 2021-03-22 15:14:40 +03:00
e844712281 Fix: script can contain single function now 2021-03-22 15:11:58 +03:00
160d1cbf7e Remove unneeded comma if there's no arguments 2021-03-22 14:50:57 +03:00
a608a7eaca Typescript types 2021-03-22 14:47:50 +03:00
b3a35bc745 Can pass arrows as arguments 2021-03-22 14:35:38 +03:00
66e0cf06f8 TODO 2021-03-22 12:16:33 +03:00
f3372e5d6b Use \r\n, \n, \n\r for newlines 2021-03-22 11:48:10 +03:00
82428b1227 Merge pull request #5 from fluencelabs/for-expr
Generate Fold
2021-03-19 18:46:04 +03:00
783da06f7d Generate Fold 2021-03-19 18:43:38 +03:00
27a25d90a1 Air fix 2021-03-19 18:05:13 +03:00
6a67fa175e Merge pull request #4 from fluencelabs/gen-ts
Generate basic TypeScript file
2021-03-19 16:47:08 +03:00
36f955b17d Tiny fixes for AquaGen 2021-03-19 16:45:16 +03:00
dbcacebdbd Move typescript-specific things to Gen 2021-03-19 16:42:12 +03:00
a99256ee53 Return via relay 2021-03-19 16:24:29 +03:00
7fef0d3906 Generate typescript as a whole 2021-03-19 16:00:28 +03:00
61781dd5bd Generate from model 2021-03-19 15:25:58 +03:00
7dde8a5d07 Simplified CoalgebraModel 2021-03-19 14:33:57 +03:00
a72bfff377 readme 2021-03-19 12:40:27 +03:00