tolk-vm
f00ff75548
[FunC] Make Expr::VarApply always impure ( #1381 )
...
Expr::_VarApply is now always impure. It means, that
for `some_var()`, don't make any considerations about runtime value,
it's always called.
2024-11-14 18:32:04 +03:00
tolk-vm
89f136e670
[FunC] Add more tests for try/catch ( #1380 )
...
After fixing a bug with c1/c3 registers in #1332 ,
cover an issue with tests.
2024-11-14 18:31:21 +03:00
Aleksandr Kirsanov
fd1735f6ec
[FunC] Fix a bug with << operator to zero value ( #1262 )
2024-10-09 16:03:58 +03:00
SpyCheese
5847897b37
Various changes in TVM, github builds and tests ( #793 )
...
* Bugfixes in TVM and node
* Upgrade to C++17
* Improve GitHub builds
* Fix existing tests and partially integrate them into builds
---------
Co-authored-by: neodiX42 <namlem@gmail.com>
Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
2023-11-03 14:43:34 +03:00
EmelyanenkoK
583178ccb1
FunC: enable asserts and fix try/catch stack corruption ( #699 )
...
* FunC: enable asserts in Release
* FunC: Fix analyzing infinite loops
* FunC: Allow catch with one tensor argument
* FunC: Fix try/catch stack corruption
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-05-15 15:31:42 +03:00
EmelyanenkoK
8b0d6a2665
Add WASM FunC autotests ( #673 )
...
* feat: func wasm autotests
* fixes necessary for func wasm autotests
---------
Co-authored-by: krigga <krigga7@gmail.com>
2023-04-19 21:29:41 +03:00
EmelyanenkoK
7da30e1e7f
Add PRNG with normal distribution to mathlib.fc ( #646 )
...
* Add random with normal distribution
* Fix hex arguments in mathlib testcases
2023-03-13 16:49:30 +03:00
EmelyanenkoK
04d4ae2dec
Add version printing to legacy tester
2023-03-06 14:03:29 +03:00
EmelyanenkoK
653c88aa9d
Add pragmas to funC for precise control of computation order ( #589 )
...
* FunC pragmas: allow-post-modification and compute-asm-ltr
* Warn if #pragma is enabled only in included files
* Add tests for new pragmas
* Add special ops for "allow-post-modification" only when needed
* Update FunC version to 0.4.1
* Allow empty inlines (#10 )
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-01-13 12:45:04 +03:00
EmelyanenkoK
6b49d6a382
Add legacy_tester for existing funC contracts ( #588 )
...
* Add legacy_tester for existing funC contracts
* Add storage-contracts and pragma options
2023-01-12 12:33:15 +03:00
EmelyanenkoK
a1d8a5e4f3
Add complex assigns to FunC and fix UB ( #574 )
...
* Fixed complex funC setglob cases
* Forbid modifying local variables after using them in the same tensor
* Fix analyzing "while" in func
* Update funC version (#9 )
* Update stress tester
* Fix using variable after move
Co-authored-by: krigga <krigga7@gmail.com>
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-12-29 18:06:13 +03:00
SpyCheese
8bfad35e93
Add try/catch to func stress-tester ( #565 )
2022-12-22 15:26:58 +03:00
SpyCheese
5c2ad4a6c7
Tests for func with scripts
2022-09-23 16:27:18 +03:00