Expand description

 

← Types of arguments

↑ Tutorials ↑

Derive API tutorial →

Combinatoric API

Parse arguments without using proc macros

When making parser in the Combinatoric style API you usually go though those steps

  1. Design data type your application will receive
  2. Design command line options user will have to pass
  3. Create a set of simple parsers
  4. Combine and transform simple parsers to create the final data type
  5. Transform resulting Parser into OptionParser and run it

Let’s go though some of them in more details:

 

← Types of arguments

↑ Tutorials ↑

Derive API tutorial →

Modules