Dmitry Kurinskiy
453b95b8ae
Better topology resolution ( #89 )
...
* Better topology resolution
* error example
* par added
* revert
* Test fixed
2021-04-23 14:04:21 +03:00
Dmitry Kurinskiy
a5afe1c6fa
Bugfix for ScriptModel ( #88 )
...
* Bugfix for ScriptModel
* Println error for unresolved functions
2021-04-23 12:25:21 +03:00
Dima
ca8e3bfa40
Constant expr ( #79 )
2021-04-22 16:42:08 +03:00
Pavel
490cb7873b
fix ts error with callback types ( #82 )
2021-04-22 13:04:51 +03:00
Pavel
4a8d835158
fix ts error with client relayPeerID ( #81 )
2021-04-22 12:51:15 +03:00
Pavel
5b7db0bfcf
Align generated ts code with the latest js sdk change ( #80 )
2021-04-21 20:58:47 +03:00
Dmitry Kurinskiy
433b464a36
67 plain air gen ( #78 )
...
* Refactoring ForClient to make its parts reusable/recomposable
* Func transformation decomposed into parts
* Improves AIR compilation target
2021-04-20 16:44:06 +03:00
Dmitry Kurinskiy
7512648cd0
69 wrong varnames ( #74 )
...
* Bug #69 reproduced in test
* Bug #69 reproduced in a test
* Fixes #47 (allow arg names in service function definitions)
* ServiceModel
* AbilityModel is removed, as it's unused
* Fixes #65 : expose %init_peer_id% as a literal
* Removed FuncResolved, as it's not resolved actually
* Fixes #69
* Helpers for func op showing & building
* Compile bug fixed
* Comments
* Removed ScriptModel.enqueue
2021-04-19 16:22:45 +03:00
Dmitry Kurinskiy
2d1427b124
Fixes #71 ( #73 )
2021-04-16 20:20:52 +03:00
Dmitry Kurinskiy
e2621f0008
Fixes #68 :fix return using relay ( #72 )
...
* Added test & some test routines
* Test usability improvements
* Failing script
* Failing test for #68
* Fix topology in case of a sequence of calls
* Formatting
* Formatting
2021-04-16 20:15:45 +03:00
Dima
c8869eb2b4
Add header to .ts
files that this is generated files ( #70 )
...
* add header
* rewrite
2021-04-16 20:13:56 +03:00
Pavel
9d2ca71890
Specifying function name in timeout message ( #63 )
2021-04-15 11:50:10 +03:00
Dima
c0cdb07bf9
resolve promise instantly if a function returns nothing ( #60 )
...
* resolve promise instantly if a function returns nothing
* set return value by func.ret
Co-authored-by: Dmitry Kurinskiy <dmitry@fluence.one>
2021-04-15 09:54:03 +03:00
Pavel
28830feafd
fix path in npm package ( #61 )
2021-04-14 19:13:07 +03:00
Pavel
3f7ef9f264
Create aquamarine npm package ( #56 )
...
* Create aquamarine npm package
2021-04-14 18:00:51 +03:00
folex
704540fcf5
Aquamarine -> Aqua in README ( #59 )
2021-04-14 14:42:20 +03:00
Dmitry Kurinskiy
6ec999c5b6
Pass sbt version to JAR file ( #55 )
2021-04-14 14:15:27 +03:00
Dmitry Kurinskiy
970da2e1b7
30 import basics ( #49 )
...
* Functions must be marked with `pub` to be exported
* AquaFiles WIP
* Factoring out linker
* Core linker logic
* FileModuleId WIP
* AquaFile WIP
* AquaFiles WIP
* Basic imports works
* Show errors
* Dirty hack to make imports work (almost)
* Better errors displaying
* Simplified AquaCompiler interface
* Write compiled files
* New AquaCli
* CLI fixed, works
* Review fixes
2021-04-13 16:05:31 +03:00
Dmitry Kurinskiy
569df52d27
Intro – first approach ( #44 )
...
* Readme WIP
* Readme WIP
2021-04-13 16:02:36 +03:00
Dima
8e04348ffa
Fix release, add xor wrap ( #51 )
2021-04-13 13:37:03 +03:00
Dima
50e335bc76
Builtins ( #46 )
2021-04-12 10:40:28 +03:00
Dima
2e5f986961
fix assembly, add u8 ( #45 )
2021-04-08 15:53:54 +03:00
folex
6540550f08
use cli/version in CI
2021-04-06 19:29:02 +03:00
folex
1ecd25096b
fix version in CI
2021-04-06 19:16:03 +03:00
Dmitry Kurinskiy
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
Dmitry Kurinskiy
75595b99bd
Fix in GetServiceId error message ( #41 )
2021-04-05 15:28:13 +03:00
Dima
992af16a08
Fix via path, complex tests ( #27 )
2021-04-05 10:40:51 +03:00
Dima
cad921a958
Expr tests ( #26 )
2021-03-26 16:55:46 +03:00
Dmitry Kurinskiy
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
Dima
8aeeed2071
add flag to generate only air script ( #24 )
2021-03-25 17:22:11 +03:00
Dima
f28dca35eb
Args and stdin ( #23 )
2021-03-24 13:17:02 +03:00
Pavel
c9f109fd85
Fix message for timeout ( #22 )
2021-03-24 12:05:01 +03:00
Dmitry Kurinskiy
8557430a41
Fix args callbacks ( #21 )
2021-03-23 13:33:29 +03:00
Dima
13bd4fd340
Error handling, check extensions, delete old files ( #19 )
2021-03-23 13:27:36 +03:00
Dmitry Kurinskiy
57c740041f
Do not set arguments to AirContext if they're generated during function export ( #20 )
2021-03-23 13:19:22 +03:00
folex
2151bc3b9f
CI: cache .sbt .ivy2 .coursier ( #18 )
2021-03-23 12:27:30 +03:00
Dmitry Kurinskiy
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
Dmitry Kurinskiy
2e2f6e33de
Fix argument indices ( #16 )
2021-03-22 20:05:56 +03:00
Dmitry Kurinskiy
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
Pavel
b68cc46c2a
Fix error handling in typescript code ( #14 )
2021-03-22 19:04:57 +03:00
folex
f7035efbf1
sbt test on branches ( #13 )
2021-03-22 17:25:47 +03:00
Dmitry Kurinskiy
7c0626b4f3
bool -> boolean in ts ( #12 )
2021-03-22 17:25:03 +03:00
Dima
b20694b987
improve CLI ( #8 )
2021-03-22 17:10:38 +03:00
Dmitry Kurinskiy
0b639f9667
Else expression works, but not correct way ( #11 )
2021-03-22 17:09:41 +03:00
folex
ae213ce42d
CI: set version in release ( #10 )
2021-03-22 16:55:07 +03:00
Dmitry Kurinskiy
9088767512
Merge pull request #9 from fluencelabs/if-expr
...
If expression
2021-03-22 16:36:00 +03:00
dmitry
f4beba403e
If expression works
2021-03-22 16:31:03 +03:00
dmitry
beec9eacc0
Trying to introduce IF expression
2021-03-22 16:19:14 +03:00
folex
5f892cac87
CI: cleanup
2021-03-22 15:45:50 +03:00
folex
1a43bfd710
CI: master => main
2021-03-22 15:39:56 +03:00