intrig / xenon

The Intrig Message Decoder
MIT License
1 stars 6 forks source link

Improved API #12

Closed wythe closed 7 years ago

wythe commented 7 years ago

Improved API

The ict::recurse() function no longer sends the parent cursor into the predicate function. Just the current cursor. The rest of the xenon was updated to use this simplified API, including the example/decode.cpp.

Here's an example: examples/decode.cpp

Added Tutorial files

There are two new tutorial programs in the examples directory. These are short programs that illustrate ways of using the xenon API, namely xenon::find_first() and xenon::for_each_path().

xenon::find_first(): examples/tutorial.cpp xenon::for_each_path(): examples/tutorial2.cpp