GLF source for use with NetBeans 6.5 Platform

View: New views
4 Messages — Rating Filter:   Alert me  

GLF source for use with NetBeans 6.5 Platform

by Michael D. Spence :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've developed a GLF application using NetBeans 6.5.1.  One of the things that this application does is to emit an XML file based on the AST tree gotten from parsing a file containing my language (file extension .xyz)



This all works fine, but it is necessary that I provide a "command-line" version of the .xyz to XML "compiler".  The web is littered with references to GLF and various bits of documentation, but they're often misleading since they refer to prior verisons.  I just need a few of the classes and their documentation: enough to read a .xyz file and parse it into an AST tree.  There's probably a repository somewhere with these things; can someone point me in the right direction?



Michael D. Spence

Mockingbird Data Systems, Inc.





RE: GLF source for use with NetBeans 6.5 Platform

by pblemel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Michael,

This isn't an answer to the question that you asked, however if you're going to spend time getting sources and figuring things out then I suggest your time might be more productively spent converting your GLF grammar to JavaCC.   It would be compatible with future versions Netbeans and you'd have the advantage of lots of documentation and a supported tool set.

Peter

> From: spence@...
> Date: Fri, 26 Jun 2009 14:08:00 +0000
> To: dev@...
> Subject: [openide-dev] GLF source for use with NetBeans 6.5 Platform
>
> I've developed a GLF application using NetBeans 6.5.1. One of the things that this application does is to emit an XML file based on the AST tree gotten from parsing a file containing my language (file extension .xyz)
>
>
>
> This all works fine, but it is necessary that I provide a "command-line" version of the .xyz to XML "compiler". The web is littered with references to GLF and various bits of documentation, but they're often misleading since they refer to prior verisons. I just need a few of the classes and their documentation: enough to read a .xyz file and parse it into an AST tree. There's probably a repository somewhere with these things; can someone point me in the right direction?
>
>
>
> Michael D. Spence
>
> Mockingbird Data Systems, Inc.
>
>
>
>


Windows Liveā„¢: Keep your life in sync. Check it out.

GLF source for use with NetBeans 6.5 Platform

by Michael D. Spence :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think that's probably good advice in the long term, but in the short term I need to find a way to get an AST tree from a source file, and ISTM that an hour or so with the GLF sources would enable me to do that.  ISTR seeing a repository a couple of months ago when I was last working on this.



I was absolutely dumfounded to find that GLF had been killed, especially after the NetBeans team had beat that particular drum so loudly for so long.  



I understand that resource limitations forced this turn of events, but I thought I read in this very forum that the GLF *as it currently existed in 6.5* would still be available.



Thanks,



Michael D. Spence

Mockingbird Data Systems, Inc.





GLF source for use with NetBeans 6.5 Platform

by Michael D. Spence :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

For others who might want to know this, found useful things here: http://netbeans.sourcearchive.com/documentation/6.5/main.html



Also, I downloaded 6.7 and everything mostly still seems to work (although I can't seem to get the AST window to display any longer).