|SAS code with Lex & Yacc Carl.email@example.com (2003-09-04)|
|Re: SAS code with Lex & Yacc firstname.lastname@example.org (Mark Kvale) (2003-09-09)|
|From:||Mark Kvale <email@example.com>|
|Date:||9 Sep 2003 23:00:01 -0400|
|Organization:||EasyNews, UseNet made Easy!|
|Posted-Date:||09 Sep 2003 23:00:01 EDT|
Carl Maughan wrote:
> Has anyone had any experience of using lex and yacc to process SAS
> code? Any examples to get me started? ...
I have never tried to parse SAS using lex or yacc (nor seen a SAS
grammar), but the following is a nascent parser for SAS programs, in
As Michael Friendly (the author) says, high-fidelity conversion is
likely to either require building an emulator of the SAS macro
processor, or to have access to preprocessed output.
Return to the
Search the comp.compilers archives again.