RE: PC and/or Mac lex and yacc tools?

Venkateswara Rao <>
Wed, 30 Aug 1995 13:17:00 GMT

          From comp.compilers

Related articles
PC and/or Mac lex and yacc tools? (1995-08-25)
RE: PC and/or Mac lex and yacc tools? (Venkateswara Rao) (1995-08-30)
| List of all articles for this month |

Newsgroups: comp.compilers
From: Venkateswara Rao <>
Keywords: lex, yacc, MSDOS, comment
Organization: Compilers Central
References: 95-08-194
Date: Wed, 30 Aug 1995 13:17:00 GMT

|| The only candidates I have heard of so far (other than pccts) are pclex
|| and pcyacc, from Abraxas Software. They were mentioned in the O'Reilly
|| lex & yacc manual. Any comments?

I have been working with PCLEX and PCYACC for NT (from Abraxas) for
about an year and it is good, if the following does not bother you.

1. Single line comments within lex and yacc scripts are not supported
yet. Support people promised me the feature in the next release.

2. 'yy.lrt' file ( their yy.output file) tends to be very big file.
And it was very difficult for me to view the file as most of the DOS
editors won't be able to handle it. This is a minor one.

3. DOS version can't handle reasonably big parsers. May be you have
to go for NT version, if you are still with Bill Gates. :-) Bison/
Flex for DOS does a good job here.

4. Multiple %type declarations for same non-terminal is allowed. This
will not be a problem unless your yacc script should pass through
some other parser generators.

I recommend Abraxas products. I don't have any affiliations with
Abraxas and I am just a satisfied user. :-) Their support team is
good and is very resposive.

Hope this helps.

Rao V Kachibhotla
[Glad to hear their support has improved; they were awful when I was doing the
lex&yacc book. Incidentally, unless they've rewritten it lately, pclex is in
fact a stright port of flex, which is a good move considering how good flex is.

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.