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
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
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
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
SpyCheese
5c2ad4a6c7
Tests for func with scripts
2022-09-23 16:27:18 +03:00