Jens Reimann

Results 580 comments of Jens Reimann
trafficstars

I am wondering if it would make sense to have additional workers enabled by features?

There's a PR pending (#46) for updating monaco and the way the interfaces get generated. It needs more work though. I just can't find enough time to work on this...

I don't think they did. I took the version out of the npm package from version 0.31, and it looks similar to the structure of the newer ones, but different...

Yes, that's the problem. I was considering to use something like this https://github.com/dsherret/ts-morph instead of python. Trying to walk the AST and emit some Rust code. Which might be the...

:facepalm: Should have searched first, maybe the solution already exists: https://github.com/ratchetdesigns/ts-bindgen

Yea, you will see a panic next :) … but I think that's something to move forward with. Actually their playground uses this crate :smile:

> Btw, a lot of the required changes to the declaration file are actually described in the ts2rs/README.md file Yea, I still my trouble with really understanding what was required....

I played a bit with typescript and its compiler API. But that gets pretty complex. Then I found https://github.com/swc-project/swc … which looks promising. With a few lines of code, I...

The approach with `swc` looks promising: ```rust pub enum MarkerSeverity { Hint = 1, Info = 2, Warning = 4, Error = 8, } #[wasm_bindgen] extern "C" { pub type...

> That looks very promising :) Indeed! A lot of work still waiting. But it feels like that requires only "writing it down". My goal is to bring it to...