catb0t / tart

Automatically exported from code.google.com/p/tart
0 stars 0 forks source link

Command-line argument parsing library #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This should work similarly to the CommandLine library in LLVM: You can declare 
command-line arguments as static members of any class, and annotate them with 
an attribute that indicates that this variable should be filled in with the 
value of a command-line argument. Some work on this has already been done, 
although it is not checked in. We will also need a way to do proper type 
conversions, so that for example an integer field registered as a command-line 
argument will get the proper string to integer conversion.

Original issue reported on code.google.com by viri...@gmail.com on 1 Mar 2011 at 11:04