1
0
mirror of https://github.com/fluencelabs/aqua.git synced 2025-03-16 04:00:50 +00:00

60 Commits

Author SHA1 Message Date
Dmitry Kurinskiy
1fc5557ba6
Topology refactoring ()
* Topology refactoring

* TransformSpec fixed & improved

* Fixes 

* Better Par handling

* Introduced Cursor class

* Better exit process for par branch

* Force move to target peer when exiting from a par branch
2021-04-29 14:16:25 +03:00
Dmitry Kurinskiy
27f2912c5f
Streams support ()
*  going to support streams

* Added StreamName

* StreamName removed

* Streams support works

* Debug println removed

Co-authored-by: Dima <dmitry.shakhtarin@fluence.ai>
2021-04-27 16:59:12 +03:00
Dmitry Kurinskiy
d88b3a561c
Fix using par after xor: xor handled first now ()
* Script with crazy wrong output

* Xor can be combined with Par
2021-04-23 17:49:26 +03:00
Dmitry Kurinskiy
453b95b8ae
Better topology resolution ()
* Better topology resolution

* error example

* par added

* revert

* Test fixed
2021-04-23 14:04:21 +03:00
Dima
ca8e3bfa40
Constant expr () 2021-04-22 16:42:08 +03:00
Dmitry Kurinskiy
433b464a36
67 plain air gen ()
* 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 ()
* Bug  reproduced in test

* Bug  reproduced in a test

* Fixes  (allow arg names in service function definitions)

* ServiceModel

* AbilityModel is removed, as it's unused

* Fixes : expose %init_peer_id% as a literal

* Removed FuncResolved, as it's not resolved actually

* Fixes 

* 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 () 2021-04-16 20:20:52 +03:00
Dmitry Kurinskiy
e2621f0008
Fixes :fix return using relay ()
* Added test & some test routines

* Test usability improvements

* Failing script

* Failing test for 

* Fix topology in case of a sequence of calls

* Formatting

* Formatting
2021-04-16 20:15:45 +03:00
Dmitry Kurinskiy
970da2e1b7
30 import basics ()
* 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