aqua/model
InversionSpaces 6be2a3d5da
feat(compiler): Services as abilities [fixes LNG-206] (#873)
* Refactor ServiceSem

* Refactor AbilityIdSem

* Remove tokens from state

* Refactor

* Add mangler

* Fix tests

* Refactor valueToRaw

* ServiceIdTag

* AbilityId -> ServiceId

* Add ServiceType

* Fix defineServiceType

* Refactor resolveArrowDef

* Refactor TypesHelper

* Add ServiceIdTag inlining

* Implement resolution

* Add service as ability passing

* Fix importing services

* Fix cli

* Implement default service

* Remove println

* Fix capture

* Add integration test

* Fix id

* Fix test

* Fix test

* Refactor test

* Do not resolve id

* Refactor FuncArrow creation

* Refactor FuncArrow wrapper creation

* Add named arguments

* Add comment

* ensureIsString -> valueToStringRaw, refactor OnSem

* Resolve services as abilities

* Add name to varNames

* Remove service hack

* Capture services, do not rename captured

* Rename arrows along with values

* Fix CallArrowRaw.map

* Fix unit tests

* Remove service case

* Refactor abilities state

* Propagate rootServiceIds

* Remove unused

* Add comments

* Refactor

* Refactor

* Add test

---------

Co-authored-by: Dima <dmitry.shakhtarin@fluence.ai>
2023-09-15 10:34:21 +02:00
..
inline/src feat(compiler): Services as abilities [fixes LNG-206] (#873) 2023-09-15 10:34:21 +02:00
raw/src/main/scala/aqua/raw feat(compiler): Services as abilities [fixes LNG-206] (#873) 2023-09-15 10:34:21 +02:00
res/src feat(compiler): Services as abilities [fixes LNG-206] (#873) 2023-09-15 10:34:21 +02:00
src/main/scala/aqua/model feat(compiler): Services as abilities [fixes LNG-206] (#873) 2023-09-15 10:34:21 +02:00
transform chore(compiler): Add PathFinder test (#872) 2023-09-04 11:22:57 +00:00
tree/src/main/scala/aqua/tree fix(compiler): Generate stream restriction for scoped exprs [fixes LNG-222] (#841) 2023-08-17 10:30:02 +04:00