Sam's Blog

20 Oct

ANTLR integration in Visual Studio

I put up a tech preview of the tool I wrote to help with my language services development. It’s a basic ANTLR v3 language service that integrates into Visual Studio 2005 and/or 2008. While it doesn’t have the feature set of, say, ANTLRworks, it’s still proven extremely useful for my development tasks. If you are following my articles on developing Visual Studio language services built on ANTLR, you may find it helpful. The main page for the project is here:
http://wiki.pixelminegames.com/index.php?title=Tools:nFringe:Antlr

And a list of features with screenshots is here:
http://wiki.pixelminegames.com/index.php?title=Tools:nFringe:Antlr:Features

Syntax highlighting and Quick Info Parser rules dropdown

4 Responses to “ANTLR integration in Visual Studio”

  1. 1
    Petorv Alexander Says:

    Hello, I try to install nFringeAntlrSetup-0.9.16251.0.msi. I have .NET 3.5, VS2008 Prof., ANTLR 3.1.1. The package install successfully, but there isn’t any new project category in Visual Studio New Project Dialog.

    What should I do to start that tool in VS2008 ? Thank you, Petrov Alexander

  2. 2
    280Z28 Says:

    The best place to ask questions about nFringe is on the Pixel Mine forums: http://forums.pixelminegames.com/index.php?showforum=95

    This package doesn’t add a new project system. Just open up a .g or .g3 grammar in Visual Studio to use it.

  3. 3
    MrData Says:

    I noticed two problems with the ANTLR integration: – I am using (Antlr 2.7) .g files, and the type and method combos stay empty – I cannot set a breakpoint in an embedded code section anymore. Are these known issues ?

  4. 4
    Sabrus Says:

    Hello, plz explain me how can i generate *.CS parser and lexer files in AntlrWorks2.1 or its not implemented yet?

Leave a Reply

© 2024 Sam's Blog | Entries (RSS) and Comments (RSS)

Your Index Web Directorywordpress logo