This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Purpose: | |
// Demonstrate the purpose BOOST_SPIRIT_DEFINE | |
// is to implement recursive rules. | |
//OriginalSource: | |
// https://github.com/boostorg/spirit/blob/develop/workbench/x3/toy/toy.cpp | |
//Modifications: | |
// Rm'ed use of context to implement recursiion and replaced with | |
// BOOST_SPIRIT_DEFINE | |
//=========================================================================== | |
#include <iostream> |