|
|
Paolo Gibellini <p.g### [at] gmailcom> wrote:
> > Thanks a lot,
> > now I have it, I will investigate it tomorrow. I'm a little bit tired at the
> > moment and will give you response ASAP.
> >
> > Best regards,
> > Michael
> >
> >
> You're welcome,
> If you plan to use the code I can clean it a bit...
> ;-)
> Paolo
Hi Paolo,
tonight I found the time to look at your code finally. I think it is a good
starting point for my purposes. I never would have came up with the simple idea
to store the left and the right hand side of the productions into corresponding
arrays. This gives room for improvement. I think it is possible to extend your
str_pos and str_replace macros to accept strings for the parameter "caraterre"
which would make simple context-sensitive grammars possible. Since I need an
extension into the third dimension and a so called "open parameter" (to
determine the next direction with the mesh cam), which is handled between every
iteration of your parse_string macro with additional code, I propose to leave
the changes to me (since I'm not very good in explaining my ideas to others).
But I thank you very much for the code and your kind offer.
Best regards,
Michael
Post a reply to this message
|
|