lann / wasm-wave

Web Assembly Value Encoding
Apache License 2.0
38 stars 6 forks source link

Fix the parser to reject variants of "nan" and "inf" not in the ebnf. #13

Closed sunfishcode closed 11 months ago

sunfishcode commented 11 months ago

wave_ebnf.md and README.md document "nan", "inf", and "-inf"; add code to ensure that these are the only forms accepted, and not any of the other forms accepted by Rust's floating-point parsing.