## Re: MetaEnvironment and emacs-modes by parser? was Re: [Cute] SDF (Syntax Definition Framework)

From: "andrew cooke" <andrew@...>

Date: Mon, 6 Jun 2005 11:19:11 -0400 (CLT)

I'm thinking of using SDF and Stratego for Otuto2.  I'm working on a
something perhaps best described as a virtual machine - it runs Otuto
programs as a collection of C++ objects, eventually those objects will be
serializable to XML.  The idea is to use SDF and Stratego to go from some
"programming language" syntax to XML, which will then load into the VM
(and XML is streamed across the net to allow distributed processing).

(The C++ code is being developed via UML, which is one reason things
aren't moving so fast - I need to know C++/UML for a job opportunity
coming up in the next year or two...)

Anyway, getting to your question, I think I read somewhere a post from
Martin(?) saying don't use the Debian packages - that the RPMs were the
only things that worked.  I don't know if that was for MetaEnvironment or
something else, but you might give it a try.

I've never used an interactive parser definition tool, so have no idea how
you'd make on eeasier....

Cheers,
Andrew

Shae Matijs Erisson said:
> "andrew cooke" <andrew@...> writes:
>
>>From http://www.program-transformation.org/Sdf/WebHome and
>> http://lambda-the-ultimate.org/node/view/634 (via a previous email to
>> this
>> list on using XSL to manipulate ASTs).
>
> I mentioned some related goodies here:
> http://lambda-the-ultimate.org/node/view/634#comment-5501
>
> MetaEnvironment seems like a cool tool, but I've never been able to get it
> working on debian/unstable. I wish there were a HOWTO for doing so.
>
>
> On a related subject, the Yi editor[1] is going to have parser-based
> modes.
> I want to define parsers interactively, much like re-builder in emacs.
> If you run M-x re-builder, a second smaller buffer appears. As you edit a
> regex
> in the new buffer, the matched groups and lines are immediately
> highlighted in
> the original buffer.
> Do you have any thoughts on what would make that sort of interactive
> parser
> definition easiest? Is there an existing system that already does this?
> Any research papers on this sort of subject? I'm open to any input.
>
> [1] http://www.cse.unsw.edu.au/~dons/yi.html
> --
> It seems I've been living two lives. One life is a self-employed web
> developer
> In the other life, I'm shapr, functional programmer.  |
> www.ScannedInAvian.com
> One of these lives has futures (and subcontinuations!)|  --Shae Matijs
> Erisson
>
>
>

--
__ _ __ ___  ___| |_____   work web site: http://www.ctio.noao.edu/~andrew
/ _ / _/ _ \/ _ \ / / -_)  personal web site: http://www.acooke.org
\__,_\__\___/\___/_\_\___|  list: http://www.acooke.org/andrew/compute.html

_______________________________________________
compute mailing list
compute@...
https://acooke.dyndns.org/mailman/listinfo/compute