200sc / bebop

bebop wire format in Go
Apache License 2.0
69 stars 5 forks source link

Support bitflags in enums #22

Closed 200sc closed 2 years ago

200sc commented 2 years ago

This addresses issue #21.

I'm not inclined to release this until rainway releases their implementation, with this sort of sub-language parsing there's a high chance what is implemented in 200sc/bebop is not an exact match of the behavior in rainway, with some particular questions noted in the code as TODOs currently.

200sc commented 2 years ago

Rainway bebop has bumped, we can now write some tests confirming compatibility and work on merging this in. https://github.com/RainwayApp/bebop/releases/tag/v2.4.1

200sc commented 2 years ago

I'm a little wary there's some bugs here but there's no more complicated examples of bitflag use to test, and I've tested the ones that exist to my satisfaction.