Schmavery / reprocessing

ReasonML graphics library inspired by Processing
https://schmavery.github.io/reprocessing/
MIT License
682 stars 24 forks source link

Only use bsc cond comp for backend swapping #62

Closed Schmavery closed 6 years ago

Schmavery commented 6 years ago

Removed dependency on matchenv, now we use the new functionality in bsb-native which passes in -bs-D BSB_BACKEND="<backend>" to allow for conditional compilation using the bsc parser. This is not yet syntax that is supported by reason, so these small shim files are written in ocaml.

This PR also relies on a version of reasongl that uses the same trick to put all 3 reasongl packages into one.

Yay simplifications.