Commit graph

14 commits

Author SHA1 Message Date
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