gbdev / pandocs

The single, most comprehensive Game Boy technical reference.
https://gbdev.io/pandocs/
Creative Commons Zero v1.0 Universal
593 stars 91 forks source link

Integrate rgbds-live #357

Open avivace opened 3 years ago

avivace commented 3 years ago

@daid 's RGBDS-live is a super cool tool that I'd love to see it integrated in Pan Docs for the ASM snippets we have here.

It's quite a big deal to implement such integration, but I actually see two big things a template-able minimal rgbds-ui should support:

In the end, code snippets will look very similar to what they are now, with just a couple of UI additions enabling users to run and play with the snippets, immediatly seeing the (scoped) effect on hardware.

ISSOtm commented 3 years ago

This sounds similar to mdBook's existing "playground" feature, which is currently Rust-only. There is anupstream issue about this: rust-lang/mdbook#1276

avivace commented 3 years ago

This sounds similar to mdBook's existing "playground" feature, which is currently Rust-only. There is anupstream issue about this: rust-lang/mdBook#1276

I don't think that's what we want here, as it relies on using a restful API (do we want to mantain a "rgbds as a service"?) when we have rgbds already running in the browser..