PistonDevelopers / meta

A DSL parsing library for human readable text documents
MIT License
90 stars 5 forks source link

Add support for hexadecimal byte numbers #159

Open bvssvni opened 9 years ago

bvssvni commented 9 years ago

Some formats store the hexadecimal byte representation of numbers to avoid loosing information. For example 0x3F800000 is 1.0.

The motivation for this is to support the full OpenGEX specification.

bvssvni commented 9 years ago

Could be added as a h rule for "hexadecimal" to the meta language.

bvssvni commented 8 years ago

Alternatively, this could be added to NumberSettings in read_token library.

bvssvni commented 8 years ago

Remembered something I've read about the Witness blog: http://the-witness.net/news/2011/12/engine-tech-concurrent-world-editing/