mirror of
https://github.com/Z3Prover/z3
synced 2025-07-25 05:37:00 +00:00
Add WebAssembly/TypeScript bindings (#5762)
* Add TypeScript bindings * mark Z3_eval_smtlib2_string as async
This commit is contained in:
parent
9ac57fc510
commit
2b934b601d
18 changed files with 1722 additions and 33 deletions
22
src/api/js/scripts/async-fns.js
Normal file
22
src/api/js/scripts/async-fns.js
Normal file
|
@ -0,0 +1,22 @@
|
|||
'use strict';
|
||||
|
||||
// things which you probably want to do off-thread
|
||||
// from https://github.com/Z3Prover/z3/issues/5746#issuecomment-1006289146
|
||||
module.exports = [
|
||||
'Z3_eval_smtlib2_string',
|
||||
'Z3_simplify',
|
||||
'Z3_simplify_ex',
|
||||
'Z3_solver_check',
|
||||
'Z3_solver_check_assumptions',
|
||||
'Z3_solver_cube',
|
||||
'Z3_solver_get_consequences',
|
||||
'Z3_tactic_apply',
|
||||
'Z3_tactic_apply_ex',
|
||||
'Z3_optimize_check',
|
||||
'Z3_algebraic_roots',
|
||||
'Z3_algebraic_eval',
|
||||
'Z3_fixedpoint_query',
|
||||
'Z3_fixedpoint_query_relations',
|
||||
'Z3_fixedpoint_query_from_lvl',
|
||||
'Z3_polynomial_subresultants',
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue