Dear Swift-users!  Just a quick note that I finally got the Swift code 
generation target for the ANTLR 4 parser generator integrated and released! You 
can see the release notes here:

https://github.com/antlr/antlr4/releases/tag/4.6 
<https://github.com/antlr/antlr4/releases/tag/4.6>

To get Swift ANTLR runtime, clone the ANTLR repository.[2] Open it in finder. 
From the root directory of the repo, go to runtime/Swift folder. You will see 
the Xcode project manifest file: Antlr4.xcodeproj. Drag it into your project. 
See Swift target notes[2] for more info.

You also need to download the tool itself (which is still in java) here:

http://www.antlr.org/download.html <http://www.antlr.org/download.html>

Or, if use Jetbrain’s AppCode, you can use the ANTLR 4 plugin:



Enjoy!
Terence Parr
The ANTLR guy

[1] https://github.com/antlr/antlr4 <https://github.com/antlr/antlr4>
[2] https://github.com/antlr/antlr4/blob/master/doc/swift-target.md 
<https://github.com/antlr/antlr4/blob/master/doc/swift-target.md>

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to