Atul Acharya
Atul Acharya

Reputation: 507

Which antlr4-runtime?

I'm trying to add dependency antlr4-runtime in eclipse. It shows two instances to choose from.

  1. com.tunnelvisionlabs::antlr4-runtime (324566 b)
  2. org.antlr::antlr4-runtime (242694 b)

These files are of different size.

Which one should I use?

Upvotes: 2

Views: 616

Answers (1)

Sam Harwell
Sam Harwell

Reputation: 99859

The reference runtime which is described in The Definitive ANTLR 4 Reference book with JavaDocs posted at antlr.org is the org.antlr::antlr4-runtime.

The other build is a highly experimental branch which is heavily optimized for use in Tunnel Vision Labs' IDE products. This build deviates from the documented version in many ways, so you may be on your own if you run into problems.

Upvotes: 3

Related Questions