CodingANTLR

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  Peter (BOUGHTONP)  
 To:  ALL
36868.1 
An evil parser-generator tool.

Anyone here know anything useful about it?
0/0
 Reply   Quote More 

 From:  99% of gargoyles look like (MR_BASTARD)  
 To:  Peter (BOUGHTONP)     
36868.2 In reply to 36868.1 
It turns people into mooses, meece, or whatever the plural of moose is?

bastard by name, bastard by nature

0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)  
 To:  99% of gargoyles look like (MR_BASTARD)     
36868.3 In reply to 36868.2 
I think it's just moose, like with sheep and stuff.

I currently feel more as though it is turning my brain to mousse though.

Somehow it seems to be incredibly popular, and yet every time I try to do anything with it I feel like I'm swimming in thick treacle whilst tied to an oversized anvil. :(
0/0
 Reply   Quote More 

 From:  99% of gargoyles look like (MR_BASTARD)  
 To:  THERE IS NO GOD BUT (RENDLE)     
36868.4 In reply to 36868.3 
So, what do you think? Geek-jizz, or no geek-jizz?

bastard by name, bastard by nature

0/0
 Reply   Quote More 

 From:  THERE IS NO GOD BUT (RENDLE)  
 To:  99% of gargoyles look like (MR_BASTARD)     
36868.5 In reply to 36868.4 
Hardcore.

Happy now?

0/0
 Reply   Quote More 

 From:  THERE IS NO GOD BUT (RENDLE)  
 To:  Peter (BOUGHTONP)     
36868.6 In reply to 36868.1 
Are you trying to use it for something specific?

Happy now?

0/0
 Reply   Quote More 

 From:  99% of gargoyles look like (MR_BASTARD)  
 To:  THERE IS NO GOD BUT (RENDLE)     
36868.7 In reply to 36868.5 
\m/

bastard by name, bastard by nature

0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)  
 To:  THERE IS NO GOD BUT (RENDLE)     
36868.8 In reply to 36868.6 
Yep, first step is that I want a functioning ECMAScript parser (I found one for v3 but Eclipse/ANTLRWorks locks up when trying to use the generated code - something debug related).

Once I've got that, a few extra BNF rules will result in a CFScript parser, another couple will make a CFML one, and then I do some magic so that I can point at a directory containing an application and it calculates a fancy model of the application.

And then once that's done, it'll be packaged up so it can be slotted into an IDE and allow development of the assorted useful functions you expect a modern IDE to have.

But yeah, first step is producing a runnable ECMAScript parser.


And I'm not married to ANTLR for all of this - I'll happily use an alternative if it lets me get on with the useful stuff - but it does seem to be the most popular one, for whatever reason. :S
0/0
 Reply   Quote More 

 From:  THERE IS NO GOD BUT (RENDLE)  
 To:  Peter (BOUGHTONP)     
36868.9 In reply to 36868.8 
ANTLR is definitely the way to go. What's your target language? Java?

The PragProg book is, apparently, very good. If I was going to attempt anything beyond generating ASTs from simple DSLs then I'd invest in a copy.

Happy now?

0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)  
 To:  THERE IS NO GOD BUT (RENDLE)     
36868.10 In reply to 36868.9 
Yeah, this'll eventually end up in an Eclipse plugin, so Java is simplest (though I'd also like to produce it as an independent binary so it can be easily scripted and integrated with non-Java editors also)

I'm a little wary of buying a book when I'm having such problems getting going - would be fine with something to fill in the gaps, but so far it seems I've got islands rather than lakes. :/

Just noticed the excerpts though, so I'll read them tomorrow and see what I think of it.


Current problem is trying to figure out either why the debugger is hanging, or even just how to turn it off.
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)  
 To:  THERE IS NO GOD BUT (RENDLE)     
36868.11 In reply to 36868.9 
Know anywhere that sells the book+pdf for a better price?

Amazon do the printed book for £17, but don't appear to do the digital version.

Annoyingly, I could have had them both for less than that, if I'd known pragprog.com had a 40% sale on - until Wednesday. :'(
0/0
 Reply   Quote More 

 From:  THERE IS NO GOD BUT (RENDLE)  
 To:  Peter (BOUGHTONP)     
36868.12 In reply to 36868.11 
PragProg do a discount on the ebook if you've bought the print one.

Happy now?

0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)  
 To:  THERE IS NO GOD BUT (RENDLE)     
36868.13 In reply to 36868.12 
Even if from a different supplier?
0/0
 Reply   Quote More 

 From:  THERE IS NO GOD BUT (RENDLE)  
 To:  Peter (BOUGHTONP)     
36868.14 In reply to 36868.13 
Yeah, it's the "enter the fourth word on page 213" type of thing.

Happy now?

0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)  
 To:  THERE IS NO GOD BUT (RENDLE)     
36868.15 In reply to 36868.14 
Ah that's good. :) Thanks.
0/0
 Reply   Quote More 

Reply to All    
 

1–15

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats