summaryrefslogtreecommitdiff
path: root/examples/features/README
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-10-11 14:18:55 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-10-11 14:18:55 +0200
commitc16222907ea84936f43f5fdd8500a6a19be993ee (patch)
tree63cc98ecc60eb349f1eab279fdeb12b567adf5f7 /examples/features/README
parent5d6f8aad8aaa3cdc3c52848c8adbc271dbe8e5e2 (diff)
Add another example, README files, and VC++ projects/solutions
Diffstat (limited to 'examples/features/README')
-rw-r--r--examples/features/README21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/features/README b/examples/features/README
new file mode 100644
index 0000000..fc30a53
--- /dev/null
+++ b/examples/features/README
@@ -0,0 +1,21 @@
+This example shows how to use various features of the CLI language.
+
+The example consists of the following files:
+
+options.cli
+ Options class definition in the CLI language.
+
+options.hxx
+options.ixx
+options.cxx
+ Options class implementation in C++. These files are generated by the CLI
+ compiler from hello.cli using the following command line:
+
+ cli options.cli
+
+driver.cxx
+ Driver for the example. It first instantiates the option class which parses
+ the command line. The driver then examines and prints the options values.
+
+To run the example you can try various command lines suggested in the
+options.cli file.