2009/09/25

Spirit memo - multi_pass

file_iterator is replaced by malti_pass

2009/09/24

Spirit memo - Debug support

Spirit supports to debug as following:

  1. Define BOOST_SPIRIT_DEBUG macro before including Spirit's headers.
  2. Use BOOST_SPIRIT_DEBUG_NODE() macro after rule definition in grammar constructor.

Then, Spirit dumps matching rule to console during parsing.

Spirit memo - new_

What such as boost::lambda::new_ptr()(args) is boost::phoenix::new_(args) in phoenix.

2009/09/07

Boost.Spirit 2.x (Qi, Karma, Lex)

I am fighting with the Boost.Spirit v2.x instead of Boost 1.8 (as Classic).

How to set parameters to debugging program on Visual Studio 2019 with CMake

Solution: MSDN Sometimes the "Debug and Launch Settings for CMake" bottun is disabled. In this case, change to the target view. ...