Saturday, June 30, 2007

ANTLR 3 C# runtime - source code found!

> Does anyone know why the source code is not available? Is it closed
> source? What's the licence?

While these questions remain unanswered, I have found an amazingly good tool called "Reflector" and a disassembly helper. For more information see

http://www.aisto.com/roeder/dotnet/
http://www.codeplex.com/reflectoraddins
http://www.denisbauer.com/NETTools/FileDisassembler.aspx

I have discovered that the assembly contains full symbol information including local variable names, and the tool outputs suprisingly high-level code. If you don't want to reconstruct it yourself, you can get it here:

http://qwertie.net/misc/Antlr3.Runtime-Disasm.zip

The add-in even creates a project file! Right on!

3 Comments:

At 8/19/2010 5:22 AM, Blogger Kiquenet said...

any updates for vs2008 ?? I want use C# and ANTLR, any good samples ?? thx

 
At 8/20/2010 2:47 PM, Blogger Qwertie said...

I haven't used ANTLR in a long time now. You should seek answers on its web site, http://www.antlr.org/

 
At 7/12/2012 8:24 AM, Blogger Robert Gammon said...

Thanks Qwertie, I found your post very helpful. Needed the source code for Antler 3.1 and Reflector worked worrying well!

You can only get the latest sourcecode from their GitHub page

https://github.com/antlr/antlr3

 

Post a Comment

<< Home