Integrating generators EDSL's for Spirit X3 (WIP)
summary
Shows how to develop generators for Boost.Spirit X3 so a single grammar can produce both parsers and generators via template metaprogramming. Uses Boost.Spirit X3, the mORBid and giop libraries, and the CORBA/GIOP format as a running example, addressing endianness, alignment and asymmetric grammars. Explains integrating these generators into higher-abstraction EDSLs (work-in-progress).
AI-written summary · about
chapters (19)
- 0:00Intro
- 1:00Overview
- 2:46Experiment with Spirit v2
- 4:18CORBA EDSL with Spirit v2
- 10:42Composability
- 11:23Motivation
- 16:54Writing terminals in Spirit X3
- 17:59Writing operators in Spirit X3
- 21:17Creating parsers for Spirit x3
- 23:23Same syntax
- 23:53Format specification
- 26:22Test cases (WIP)
- 28:21Limitations Spirit x3
- 29:07Terminals and specialization
- 30:01Endianness and alignment in CORBA
- 32:16Attributes, parsers and generators
- 33:24Extending Spirit x3 to other domains
- 34:31ADL with Context
- 36:56Putting it all together
related talks
29mIntegrating Language Engineering into the Software Development Process
16mSession Preview - Interview With – Zach Laine
24mSeamless Code Generator Synchronization in the Composition of Heterogeneous Modeli...
01h 48mBoost.Parser (Part 2 of 2) - A Parser Combinator Library for C++
01h 27mBoost.Parser (Part 1 of 2) - A Parser Combinator Library for C++
20mAn Approach to Generate Text-Based IDEs for Syntax Correction based on Syntax Specification
30mGenerating Conforming Programs With Xsmith
50mFrom IL Weaving to Source Generators, the Realm story
