Our great sponsors
-
dogma
Dogma: A modernized metalanguage with better expressiveness and binary grammar support (by kstenerud)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Hi HN!
I've just released the 5th beta of the Dogma metalanguage, which is designed to describe text and binary data for use in documentation.
https://github.com/kstenerud/dogma/blob/master/v1/dogma_v1.md
Most of the kinks are now worked out, and I'm hoping for a final release soon.
Notable changes:
* Cleaner byte ordering support with new byte_order, ordered, and bom_ordered functions
* New peek and offset functions
* Renamed swapped function to reversed
* More examples in the examples dir https://github.com/kstenerud/dogma/tree/master/v1/examples
Thanks to all for reviewing and helpful criticism :)
Related posts
- Interval Parsing Grammars for File Format Parsing (2023) [pdf]
- Show HN: Dogma: a metalanguage for describing data formats in documentation
- How Big Should a Programming Language Be?
- BNF Was Here: What Have We Done About the Unnecessary Notation Diversity (2011) [pdf]
- Ask HN: How long does it take for you to release your open source project?