Klebert-Engineering / simfil

The Simple Map Filter Language Interpreter 🌳.
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Allow setting a custom exception handler. #77

Closed josephbirkner closed 7 months ago

josephbirkner commented 7 months ago

We need some way to read simfil exceptions in WASM without using the native WASM exception support. The reason is, that native WASM exceptions disable JIT execution once they are thrown, which effectively makes the page unusable until it is reloaded (even if the exception is caught in WASM).

Used for Erdblick PR: https://github.com/ndsev/erdblick/pull/96

github-actions[bot] commented 7 months ago

Test Results

 1 files  Β±0   1 suites  Β±0   3m 6s :stopwatch: Β±0s 42 tests +1  42 :white_check_mark: +1  0 :zzz: Β±0  0 :x: Β±0  43 runsβ€Š +1  43 :white_check_mark: +1  0 :zzz: Β±0  0 :x: Β±0 

Results for commit d7d5826c. ± Comparison against base commit 7cd58aa8.

:recycle: This comment has been updated with latest results.

sonarcloud[bot] commented 7 months ago

Quality Gate Passed Quality Gate passed

Issues
31 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
2.0% Duplication on New Code

See analysis details on SonarCloud

github-actions[bot] commented 7 months ago
Package Line Rate Branch Rate Health
include.simfil 62% 43% βž–
include.simfil.model 82% 59% βœ”
src 63% 37% βž–
src.model 79% 46% βž–
Summary 68% (2532 / 3715) 40% (2065 / 5188) βž–

Minimum allowed line rate is 50%