Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Creating DOM/AST for other languages?
Creating DOM/AST for other languages? [message #279679] Fri, 21 January 2005 15:20 Go to next message
Eclipse UserFriend
Originally posted by: bert.visi.com

While prototyping a project to support developers using our
proprietary languages, I cobbled together a very simple editor for
one of them. Now, it looks like we're going to have to provide
full-blown support for that language and a few others.

Not being a compiler writer, the whole DOM/AST thing is way over my
head; can somebody point me to some references to help me figure out
exactly what I'd do to create and use such a thing to support an
arbitrary language inside Eclipse?

The guys who write and maintain the compilers do live just down the
hall; are there some appropriate words or phrases I could say to them
that might get me something useful out of them?

--
Bert Hyman | St. Paul, MN | bert@visi.com
Re: Creating DOM/AST for other languages? [message #279686 is a reply to message #279679] Fri, 21 January 2005 15:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Chris_Laffra.ca.ibm.com

See Chapter 19 of the Eclipse FAQ for step-by-step instructions.

--
Chris Laffra, http://eclipsefaq.org


"Bert Hyman" <bert@visi.com> wrote in message
news:Xns95E55F1793B1CVeebleFetzer@news.visi.com...
> While prototyping a project to support developers using our
> proprietary languages, I cobbled together a very simple editor for
> one of them. Now, it looks like we're going to have to provide
> full-blown support for that language and a few others.
>
> Not being a compiler writer, the whole DOM/AST thing is way over my
> head; can somebody point me to some references to help me figure out
> exactly what I'd do to create and use such a thing to support an
> arbitrary language inside Eclipse?
>
> The guys who write and maintain the compilers do live just down the
> hall; are there some appropriate words or phrases I could say to them
> that might get me something useful out of them?
>
> --
> Bert Hyman | St. Paul, MN | bert@visi.com
Re: Creating DOM/AST for other languages? [message #279697 is a reply to message #279686] Fri, 21 January 2005 18:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bert.visi.com

Chris_Laffra@ca.ibm.com (Chris Laffra) wrote in news:csr87k$3q0$2
@www.eclipse.org:

> See Chapter 19 of the Eclipse FAQ for step-by-step instructions.

I've done that.

I guess I'll have to conscript one of the compiler people to translate
it for me :-)

[I'd never even ->heard of an AST 'til I started this venture]

--
Bert Hyman | St. Paul, MN | bert@visi.com
Re: Creating DOM/AST for other languages? [message #279821 is a reply to message #279697] Mon, 24 January 2005 19:21 Go to previous message
Dave Orme is currently offline Dave OrmeFriend
Messages: 424
Registered: July 2009
Senior Member
Bert Hyman wrote:
> [I'd never even ->heard of an AST 'til I started this venture]

Try:

http://www.amazon.com/exec/obidos/external-search/102-557838 8-4689709?field-keywords=compiler&mode=blended&tag=m ozilla-20&sourceid=Mozilla-search

This book:

http://www.amazon.com/exec/obidos/tg/detail/-/0201100886/qid =1106594065/sr=8-1/ref=pd_csp_1/102-5578388-4689709?v=glance &s=books&n=507846

is the classic text on the field (or rather a rewrite of the classic text).


Regards,

Dave Orme

--
Visual Editor Project leader
db4objects Senior Engineer (www.db4o.com)
Essential Data Project maintainer (essentialdata.sf.net)
Previous Topic:Can a contribution to Eclipse contain code covered by the GPL or BSD licenses?
Next Topic:Error with plugin path when it contains spaces
Goto Forum:
  


Current Time: Thu Nov 07 05:06:27 GMT 2024

Powered by FUDForum. Page generated in 0.03604 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top