Commit Graph

688 Commits

Author SHA1 Message Date
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
folex
e37f30a4eb
CI: Release on each commit (#7) 2021-03-22 15:38:31 +03:00
Dmitry Kurinskiy
b5e4dc1caa
Merge pull request #6 from fluencelabs/fix-windows-nl
Fix windows nl
2021-03-22 15:29:34 +03:00
dmitry
e80e6cdee8 nl 2021-03-22 15:25:02 +03:00
dmitry
e0a9676b50 Fail when trying to return a value with no return type specified 2021-03-22 15:14:40 +03:00
dmitry
e844712281 Fix: script can contain single function now 2021-03-22 15:11:58 +03:00
dmitry
160d1cbf7e Remove unneeded comma if there's no arguments 2021-03-22 14:50:57 +03:00
dmitry
a608a7eaca Typescript types 2021-03-22 14:47:50 +03:00
dmitry
b3a35bc745 Can pass arrows as arguments 2021-03-22 14:35:38 +03:00
dmitry
66e0cf06f8 TODO 2021-03-22 12:16:33 +03:00
dmitry
f3372e5d6b Use \r\n, \n, \n\r for newlines 2021-03-22 11:48:10 +03:00
Dmitry Kurinskiy
82428b1227
Merge pull request #5 from fluencelabs/for-expr
Generate Fold
2021-03-19 18:46:04 +03:00
dmitry
783da06f7d Generate Fold 2021-03-19 18:43:38 +03:00
dmitry
27a25d90a1 Air fix 2021-03-19 18:05:13 +03:00
Dmitry Kurinskiy
6a67fa175e
Merge pull request #4 from fluencelabs/gen-ts
Generate basic TypeScript file
2021-03-19 16:47:08 +03:00
dmitry
36f955b17d Tiny fixes for AquaGen 2021-03-19 16:45:16 +03:00
dmitry
dbcacebdbd Move typescript-specific things to Gen 2021-03-19 16:42:12 +03:00
dmitry
a99256ee53 Return via relay 2021-03-19 16:24:29 +03:00
dmitry
7fef0d3906 Generate typescript as a whole 2021-03-19 16:00:28 +03:00
dmitry
61781dd5bd Generate from model 2021-03-19 15:25:58 +03:00
dmitry
7dde8a5d07 Simplified CoalgebraModel 2021-03-19 14:33:57 +03:00
DieMyst
a72bfff377 readme 2021-03-19 12:40:27 +03:00
dmitry
48a5ab2fa5 FuncModel wip 2021-03-19 12:30:52 +03:00
dmitry
d0d4db7bf5 FuncSem WIP 2021-03-19 11:53:00 +03:00
dmitry
b45c61f5c8 Merge branch 'main' of github.com:fluencelabs/aqua-hll into gen-ts 2021-03-19 11:52:43 +03:00
Dmitry Kurinskiy
6c4bea84ed
Merge pull request #3 from fluencelabs/aqua-gen
Aqua gen
2021-03-19 11:51:22 +03:00
DieMyst
10ba31479f use fs2 2021-03-19 11:30:55 +03:00
dmitry
90abafc221 Compiler -> Semantics 2021-03-19 11:18:52 +03:00
dmitry
9d2489ea14 Better separation of concerns: parser only parses, semantics are evaluated separately 2021-03-19 11:16:03 +03:00
dmitry
c3347dd7bd Packages renaming 2021-03-19 10:45:49 +03:00
DieMyst
ce049d42ca build jar, generate hll files from dir 2021-03-18 15:51:22 +03:00
Dima
232cd0439c
Merge pull request #2 from fluencelabs/tests
Tests
2021-03-18 13:17:37 +03:00
DieMyst
b01be3d161 fix tests 2021-03-18 13:06:14 +03:00
DieMyst
cb1a5d3aa0 Merge remote-tracking branch 'origin/main' into tests 2021-03-18 13:02:38 +03:00
Dmitry Kurinskiy
0f6db200b6
Merge pull request #1 from fluencelabs/init-gen
First approach to generators
2021-03-18 12:11:56 +03:00