Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When do we use ANTLR

Tags:

c#

antlr

Can anyone please guide me the purpose of using ANTLR dlls in a ASP.Net, C# project.

I just noticed antlr.runtime, Antlr3.Runtime, Antlr3.Utlility assemblies being referenced in some project.

Will be great if can cite some real world examples or any link to a web page will be useful.

like image 377
inutan Avatar asked Aug 24 '11 14:08

inutan


People also ask

What is ANTLR used for?

What is ANTLR? ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files. Terence Parr is a tech lead at Google and until 2022 was a professor of data science / computer science at Univ.

Is ANTLR used in industry?

ANTLR is a powerful parser generator that you can use to read, process, execute, or translate structured text or binary files. It's widely used in academia and industry to build all sorts of languages, tools, and frameworks.

What grammar does ANTLR use?

ANTLR 2 accepts three types of grammar specifications -- parsers, lexers, and tree-parsers (also called tree-walkers). Because ANTLR 2 uses LL(k) analysis for all three grammar variants, the grammar specifications are similar, and the generated lexers and parsers behave similarly.

What is ANTLR in compiler?

In computer-based language recognition, ANTLR (pronounced antler), or ANother Tool for Language Recognition, is a parser generator that uses LL(*) for parsing. ANTLR is the successor to the Purdue Compiler Construction Tool Set (PCCTS), first developed in 1989, and is under active development.


1 Answers

The Antlr package is used by the WebGrease package. The WebGrease package is used by the ASP.NET Web Optimization package.

If you want to remove Antlr, remove the ASP.NET Web Optimization package. It will in turn remove the other 2 packages.

It does not affect performance much, provided that you designed your application properly.

like image 174
Grim Reaper Avatar answered Oct 08 '22 03:10

Grim Reaper