Re: parser using perl
- From: rob.dixon@xxxxxxx (Rob Dixon)
- Date: Mon, 31 Mar 2008 19:43:31 +0100
Chas. Owens wrote:
In general, it doesn't matter if you want to work with a small piece
of a language or the whole language, you still need to implement a
parser for the whole language. You can get an eighty or ninety
percent solution without a full parser, but there will always be
problems.
That's not true at all. A file containing
int i;
is a valid C file. If the input expected by the OP contains a subset of
the C syntax then it can be parsed as such. C is s subset of C++. Does
that mean that everybody suddenly needs a C++ compiler to compile their
C programs? I think not.
Rob
.
- Follow-Ups:
- Re: parser using perl
- From: Chas. Owens
- Re: parser using perl
- References:
- parser using perl
- From: Sharan Basappa
- Re: parser using perl
- From: Chas. Owens
- parser using perl
- Prev by Date: Re: commify_series script in cookbook page 94
- Next by Date: Re: parser using perl
- Previous by thread: Re: parser using perl
- Next by thread: Re: parser using perl
- Index(es):
Relevant Pages
|