Amaan Qureshi
|
f4c40f6098
|
fix: do not install parser.h
|
2024-02-02 11:30:24 -05:00 |
|
Max Brunsfeld
|
d351f81b4a
|
Release stale instances from wasm store when languages are dropped
|
2024-01-29 10:17:49 -08:00 |
|
Max Brunsfeld
|
4a8e4b1963
|
Allow wasm languages to be deleted
|
2023-12-27 15:00:16 -08:00 |
|
Max Brunsfeld
|
68ba9a4d66
|
Grow memory dynamically as-needed when loading wasm language modules
|
2023-12-03 12:12:47 -08:00 |
|
Max Brunsfeld
|
f2285b43ea
|
Fix crash when failing to instantiate wasm stdlib module
|
2023-12-03 11:42:03 -08:00 |
|
Max Brunsfeld
|
13dd76e444
|
Return an informative error on failing to construct a WasmStore
|
2023-11-27 17:48:29 -08:00 |
|
Max Brunsfeld
|
6fd7a1e44e
|
Return informative error when load_language fails
|
2023-11-26 12:15:05 -08:00 |
|
Max Brunsfeld
|
e9289d3b30
|
Fix error when wrong language name is passed to load_language
|
2023-11-24 20:25:28 -08:00 |
|
Max Brunsfeld
|
b59716600a
|
Add a test that loads multiple languages in a wasm store
|
2023-11-24 20:03:54 -08:00 |
|
Max Brunsfeld
|
359317f876
|
Determine sizes of static wasm arrays from subsequent static pointers
|
2023-11-24 11:32:24 -08:00 |
|
Max Brunsfeld
|
97800e0ec8
|
Advance wasm store's mem + table offsets when adding a language
|
2023-11-19 12:26:59 -08:00 |
|
Max Brunsfeld
|
098969db08
|
Fix windows compile errors in wasm.c
|
2023-11-04 12:26:00 -07:00 |
|
Max Brunsfeld
|
b26eff13e2
|
Remove code duplication in wasm module instantiation, add stdlib symbols
|
2023-10-31 15:58:56 -07:00 |
|
Max Brunsfeld
|
0743edd162
|
Include two more std::string functions in wasm stdlib
|
2023-10-27 21:54:23 +01:00 |
|
Max Brunsfeld
|
b23ef57259
|
Update wasmtime headers, use latest wasmtime C APIs
|
2023-10-27 21:30:13 +01:00 |
|
Max Brunsfeld
|
ae2f60d907
|
Fix loading of wasm languages with fields but no aliases
|
2023-10-27 21:29:23 +01:00 |
|
Max Brunsfeld
|
81a1a1733d
|
Fix C compile warnings in wasm.c
|
2023-10-27 12:16:05 +01:00 |
|
Max Brunsfeld
|
6d34e5cb5c
|
Refactor storage of wasm stdlib function indices
|
2023-01-23 15:19:42 -08:00 |
|
Max Brunsfeld
|
51720beeb0
|
Start work on a --wasm flag for the test subcommand
|
2022-11-15 17:14:33 -08:00 |
|
Max Brunsfeld
|
9cbeaf27da
|
Get wasm.c compiling when wasm feature is disabled
|
2022-11-15 17:14:33 -08:00 |
|
Max Brunsfeld
|
98ccfcffb0
|
Provide minimal C/C++ std library to wasm external scanners
|
2022-11-15 17:14:33 -08:00 |
|
Max Brunsfeld
|
7dc81303f6
|
Get wasm store working with parser with stateless external scanners
|
2022-11-15 17:14:33 -08:00 |
|
Max Brunsfeld
|
ef1e3fb133
|
Use an unchecked function call for running the lex functions
|
2022-11-15 17:14:33 -08:00 |
|
Max Brunsfeld
|
3869878530
|
Use unchecked host functions for lexer callbacks
|
2022-11-15 17:14:33 -08:00 |
|
Max Brunsfeld
|
042e6f9d57
|
Restucture wasm module, return a normal TSLanguage from load_language
|
2022-11-15 17:14:33 -08:00 |
|
Max Brunsfeld
|
3f1a7f9cd4
|
Start work on ability to load wasm languages from native lib, via wasmtime
|
2022-11-15 17:14:33 -08:00 |
|