dtolnay / watt

Runtime for executing procedural macros as WebAssembly
Apache License 2.0
1.29k stars 29 forks source link

use proc_macro instead of proc_macro2 #44

Closed Freax13 closed 3 weeks ago

Freax13 commented 4 years ago

This pr tries to make the proc_macro crate accessible inside webassembly by implementing proc_macro's unstable interal trait proc_macro::bridge::Server and forwarding all the calls over ffi.

This pr is still work in progress. Todo:

closes #42

Freax13 commented 4 years ago

@dtolnay I'd appreciate a review