Menu

#3 Feature suggestions.

v3.0
pending
None
5
2016-07-25
2016-07-24
No

Hi,
Two things
1- Antlr4 (C++ Support)
2- updating compile mode to make grammar error messages linkable.
https://www.emacswiki.org/emacs/CreatingYourOwnCompileErrorRegexp

Discussion

  • Christoph Wedler

    1. Well, according to https://github.com/antlr/antlr4/blob/master/doc/targets.md , C++ is not really supported yet with Antlr4. But starting with antlr-mode 3.1.1, you can easily set up Emacs for recognizing C++ (I just plan to include that setting if C++ is officially supported...):
    (setq antlr-v4-language-list
      '((antlr-java "Java")                 ; +CSharp
          (antlr-cpp "Cpp")          ; my own C++ target for Antlr4
         (antlr-js "JavaScript") (antlr-python "Python2" "Python3")))
    
    1. Huh, has the error format changed with ANTLR 4? Can you attach some output?
     
  • Christoph Wedler

    • status: open --> pending
    • assigned_to: Christoph Wedler
     

Log in to post a comment.