Commit Graph
25 Commits
Author SHA1 Message Date
Isaac Clayton 8ee48b2c0f Isolate smol::Command hang as a test, does not hang 2022-07-07 15:23:27 +02:00
Isaac Clayton 5767287246 Switch from std::process::Command to smol::process::Command 2022-07-07 15:22:17 +02:00
Isaac Clayton e75d068dae Documentation pass 2022-07-07 15:22:17 +02:00
Isaac Clayton 1c9ccbcac2 Add async host functions 2022-07-07 15:22:17 +02:00
Isaac Clayton 680e899548 Rename WasiPlugin -> Plugin, etc. 2022-07-07 15:22:17 +02:00
Isaac Clayton 39e509e682 WIP: wrap async closures host-side 2022-07-07 15:22:17 +02:00
Isaac Clayton 6e902634c9 Add functions with multiple arguments to import macro, add test cases 2022-07-07 15:22:17 +02:00
Isaac Clayton 11a88ab324 Split out lifecycle of serialization, buffer is freed now 2022-07-07 15:22:17 +02:00
Isaac Clayton 0d42fb8d12 Add build.rs to rebuild plugins, and a test plugin 2022-07-07 15:22:17 +02:00
Isaac Clayton 1f352dd3ad Change ABI from pair of u32s to single u64 2022-07-07 15:22:17 +02:00
Isaac Clayton b4f1a3a80b Factor out serialization code 2022-07-07 15:22:17 +02:00
Isaac Clayton 45743f6128 Add allocator to store so that it can be used by host functions 2022-07-07 15:22:17 +02:00
Isaac Clayton 420ceb4004 Remove dependency on self in call-related functions 2022-07-07 15:22:17 +02:00
Isaac Clayton 4765bed11d Fix issue with host function binding 2022-07-07 15:22:17 +02:00
Isaac Clayton efe725c503 Work on plugin builder 2022-07-07 15:22:17 +02:00
Isaac Clayton 27390f20e9 Start working on host-side functions 2022-07-07 15:22:17 +02:00
Isaac Clayton 56a6a81a24 Add JSON LSP plugin 2022-07-07 15:22:16 +02:00
Isaac Clayton 122157162a Move Wasi to async, validate timeslicing, using async in traits still WIP 2022-07-07 15:20:27 +02:00
Isaac Clayton a816d4916b Factor out buffer code 2022-07-07 15:20:27 +02:00
Isaac Clayton cb296f7cc6 Get JSON LSP running, still work to be done 2022-07-07 15:20:27 +02:00
Isaac Clayton e08b18f3d6 Remove non-WASI code 2022-07-07 15:20:25 +02:00
Isaac Clayton 76c34281cc Get Wasi working 2022-07-07 15:19:02 +02:00
Isaac Clayton f3b8e93a8a Start switching JSON LSP adapter to plugin (take 2) 2022-07-07 15:16:59 +02:00
Isaac Clayton cf2d233a46 Clean up impl a bit 2022-07-07 15:11:51 +02:00
Isaac Clayton 1e08efb730 Work on macro binding generation, some cleanup needed, rename runner to plugin 2022-07-07 15:11:51 +02:00