Hi,
I have a CUnit application that needs fairly sophisticated cli parsing
capability. Rather than write it myself, I searched for a generalized
cli parser with the following characteristics:
1) Uses "C" language
2) Open source
3) Large user base (i.e. probably well supported)
4) Works on linux and Win32
Looking around, it appears the best fit is "argtable" (http://
argtable.sourceforge.net).
Anyone have any problems using this or any recommendations of other
options?
TIA,
-T 4 1936
On Mon, 03 Sep 2007 10:46:23 -0700, gamename wrote:
Anyone have any problems using this or any recommendations of other
options?
getopt? I imagine somebody's created a stand-alone version that doesn't
require a full UNIX libc.
B.
parser ... flex ?
gamename ha scritto:
Hi,
I have a CUnit application that needs fairly sophisticated cli parsing
capability. Rather than write it myself, I searched for a generalized
cli parser with the following characteristics:
1) Uses "C" language
2) Open source
3) Large user base (i.e. probably well supported)
4) Works on linux and Win32
Looking around, it appears the best fit is "argtable" (http://
argtable.sourceforge.net).
Anyone have any problems using this or any recommendations of other
options?
TIA,
-T
gamename wrote:
Hi,
I have a CUnit application that needs fairly sophisticated cli parsing
capability. Rather than write it myself, I searched for a generalized
cli parser with the following characteristics:
1) Uses "C" language
2) Open source
3) Large user base (i.e. probably well supported)
4) Works on linux and Win32
Looking around, it appears the best fit is "argtable" (http://
argtable.sourceforge.net).
Anyone have any problems using this or any recommendations of other
options?
TIA,
-T
If all you need is to parce command line arguments, then you need getopt().
If you need interactive input, then you need something like `yacc'.
On Sep 3, 1:46 pm, gamename <namesagame-use...@yahoo.comwrote:
I have a CUnit application that needs fairly sophisticated cli parsing
capability. Rather than write it myself, I searched for a generalized
cli parser with the following characteristics:
1) Uses "C" language
2) Open source
3) Large user base (i.e. probably well supported)
4) Works on linux and Win32
Looking around, it appears the best fit is "argtable" (http://
argtable.sourceforge.net).
Anyone have any problems using this or any recommendations of other
options?
libpopt
argp_parse (in glibc)
I have no idea about the applicability of either of these
to Windows, but they both are very capable and work well
in linux. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Jan Danielsson |
last post by:
Hello all,
I guess this is a question for people who have written a parser.
Does an XML parser ever need to be recursive? I mean like:
&fo&bar;o;
I know this particular example is in the...
|
by: Angelic Devil |
last post by:
I'm building a file parser but I have a problem I'm not sure how to
solve. The files this will parse have the potential to be huge
(multiple GBs). There are distinct sections of the file that I...
|
by: cr88192 |
last post by:
for various reasons, I added an imo ugly hack to my xml parser.
basically, I wanted the ability to have binary payload within the xml parse
trees.
this was partly because I came up with a binary...
|
by: ST |
last post by:
Hi,
I keep getting the parser error, and I have no idea why. I've tried a
number of things including:
1)building/rebuilding about 100x
2)making sure all dll's are in the bin folder in the root...
|
by: =?Utf-8?B?QWNl?= |
last post by:
hello,
i just converted old .net project (it was a solution with web project and
class project) built in .net 1.0 and 1.1 framework to .net 2.0.
as i expected, when i clicked on the solution file...
|
by: thewarden |
last post by:
I've come into a situation where I require to have BBCode parsed, this
includes the standard tags supported by PEAR package HTML_BBCodeParser
and custom BBCode tags I've added myself.
My problem...
|
by: Marc Gravell |
last post by:
In Linq, you can apparently get a meaningful body from and
expression's .ToString(); random question - does anybody know if linq
also includes a parser? It just seemed it might be a handy way to...
|
by: Just Another Victim of the Ambient Morality |
last post by:
Is pyparsing really a recursive descent parser? I ask this because
there are grammars it can't parse that my recursive descent parser would
parse, should I have written one. For instance:
...
|
by: fbrewster |
last post by:
I'm writing an HTML parser and would like to use Internet Explorers DOM
parser.
Can I use Internet Explorers DOM parser through a web service?
thanks for the help
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
| |