Boost logo

Boost :

Subject: Re: [boost] [ANN] CLI 1.1.0 released
From: Boris Kolpackov (boris_at_[hidden])
Date: 2009-12-17 10:07:57

Hi Maurizio,

Maurizio Vitale <maurizio.vitale_at_[hidden]> writes:

> But if I understand your project, it is not a CLI, rather a compiler
> that takes a description of command line options/flags and _generates_
> code that handle the command line interface, hence the confusion.

The language that is used to describe the command line interface is
called Command Line Interface definition language or CLI for short.
The files in this language have the .cli extension and, following
a certain tradition, the compiler name is also cli.

> The present boost library has the nice property of being C++.

The CLI compiler itself is written in ANSI C++.

> If one wanted to go the script route, there're dozens of alternatives.

Not sure what you mean by "script" here. The generated code is C++, the
compiler is C++, the specification language is C++-like and declarative.
However, I would appreciate if you can point me to the "script alternatives".

> Which brings the question: why exactly this keep being advertised on the
> boost mailing lists? Most people here follows freshmeat and sourceforge
> announcements and I don't think we want to see here posts on every and
> each script out there that happens to generate C++ code.

The reason I announced the second release here is because I got interesting
feedback from this list's members after the initial release and a number of
new features and changes were the result of this feedback. So I wanted to
let the people that responded know about it. Sorry if I offended you by my


Boris Kolpackov, Code Synthesis
Open-source XML data binding for C++
XML data binding for embedded systems
Command line interface to C++ compiler

Boost list run by bdawes at, gregod at, cpdaniel at, john at