Jezza

Results 30 comments of Jezza

Might be worth checking out Lua's require system.

Although, that might imply a semantic change within the language, as lua can execute the file with the same environment, vs if it was copied verbatim.

If you don't have threads, in which to interrupt the VM, why not look into a yield mechanic, or something similar? Granted, that doesn't have the exact same functionality, unless...

Why not introduce a gravityc, or is that overkill? That would give us the ability to specialise precompilation without blowing up the original CLI.

I just realise it could be given the setup to setup the routes. ```java On.context("/context", setup -> { setup.get("/thing1").json(...); setup.get("/thing2").json(...); }); ``` EDIT: But then I just realised the setup...

Yeah, I just got bit by this too. I was using variants, so I thought it was related to that. I can take a try at fixing this if there's...

After hunting around, I found the issue. We pass an array of valid variants directly into the [`deserialize_enum`](https://github.com/serde-rs/serde/blob/master/serde/src/de/mod.rs#L1127). The aliases aren't counted as variants, and so aren't added to the...

I've been working on something, and Associated traits would work really nicely with it. ```rust trait Comp { type Props: Clone + 'static; trait Events; fn new(props: Self::Props) -> Self;...

There's not a nested function tree node example, but that's closer to general Rust than it is to imgui. If you're stuck with how to use the API, the `test_window_impl`...

Haha, thanks. Yeah, I can understand how it would be confusing, but the good news is, like everything else, it gets easier the more you do it. Thanks! My style...