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

61 Commits

Author SHA1 Message Date
Dima
93dec7846c
Check service definition fields in TS and JS, fix functions and services count in output () 2021-09-17 11:21:04 +03:00
Dima
dae234dc5a
Performance improvement: single parser instance () 2021-08-27 15:57:44 +03:00
Dmitry Kurinskiy
b9af20339b
Module and Use expressions ()
* Module and Use expressions

* UseFromExpr

* ImportFromExpr

* PubExpr

* Export, declares

* Collecting all the needed info WIP

* Got all the needed data

* Tests fixed

* HeaderSem

* HeaderSem wip

* Everything except `export`/`declares` should be working

* Compile bug fixed

* Fix readme: cli/assembly

* Handle declares, exports

* Compile only exports in AquaRes

* Call services imported from modules

* Import consts, types, services from modules

* Resolve arrows from modules

* Bugfix
2021-08-20 18:03:47 +03:00
Dima
296c64836d
Js build () 2021-08-18 13:06:14 +03:00
Dmitry Kurinskiy
96bc76ef2a
Separate Transform from Model ()
* Separate Result from Model

* Result->Transform, docs in README.md
2021-08-16 17:58:15 +03:00
Dmitry Kurinskiy
6c498b029b
Updating compiler backends ()
* Updating compiler backends: add FuncRes

* TypeScriptService

* ServiceRes
2021-08-16 16:59:36 +03:00
Dima
4ccac9bf0e
Migration to Scala 3 () 2021-08-06 13:33:58 +03:00
Dmitry Kurinskiy
e3716f6f31
Converting compiler to a pure function ()
* Trying to make the compiler a pure function

* Pure compiler WIP

* Compiler should be working now

* printlns

* printlns

* printlns

* fix, delete printlns

* more logs

* fix import resolving, more tests

* fix imports, add tests for imports resolving

* fix test

* correct paths to targets, correct output

* refactoring, create directories to file if not exist

* small changes

* fix test

* Tiny fixes WIP

* Tiny fixes

* Incrementing base version, as host_peer_id is added (fixes )

* render error messages, WIP

* small fix

* get src for lexer error

* wrap parser error

* add list of errors

* Handle file write errors accurately

* Use show syntax

* fix test

* fix test

* fix test

* println

Co-authored-by: DieMyst <dmitry.shakhtarin@fluence.ai>
2021-08-03 17:23:28 +03:00
Dima
2eb4598093
Return T | null on optional results () 2021-07-29 13:49:25 +03:00
Dmitry Kurinskiy
d24e77b5e3
Removing IO from compiler submodule ()
* Removing IO from compiler submodule (wip)

* move targets to cli
2021-06-30 09:21:40 +03:00
Dima
f15bd0558b
Cli/compiler refactoring () 2021-06-29 16:31:20 +03:00