Just to update people on my SAS work: I got caught in a maze of twisty
passages with the SAS preprocessor and macro language, and solved my
immediate SAS needs by hand.
One alternative would be to parse a SAS log instead of the SAS code,
where the log is generated with SAS options like mprint to print the
results of macro expansion (and some other options I don't recall for
printing code from included files). This would replace the relatively
tricky task of getting the SAS preprocessor right with the more
straightforward one of extracting the expanded code from the log file.
However, it would require old code to be rerun, which might be a
Replicating the behavior of the SAS preprocessor is not an all or
nothing activity; there are various tricky cases that are relatively
unlikely to arise.
On Tue, 2011-06-07 at 09:40 +0200, Simon Denier wrote:
There was some questions last week about extending the Famix
metamodel. I just forward the following guide I wrote last year. It
should be formatted and put online too.
Begin forwarded message:
> From: Simon Denier <Simon.Denier(a)inria.fr>
> Date: 24 juin 2010 18:21:34 HAEC
> To: Related to the development of Moose and other
> Cc: Simon Denier <Simon.Denier(a)inria.fr>
> Subject: Re: [Moose-dev] Re: Moose for SAS
> Hi Ross
> It's true that the
metamodeling tools in Moose seem crude compared
> to what exist elsewhere, but that's because we spend much more time
> using metamodels in new tools than building metamodels :)