{"library":"antlr4-python3-runtime","type":"library","category":null,"description":"ANTLR (ANother Tool for Language Recognition) is a powerful parser generator. This library provides the Python 3 runtime for lexers and parsers generated by the ANTLR 4 tool. It enables Python applications to process structured text, validate input, and build abstract syntax trees (ASTs) for executing or translating languages. The current version is 4.13.2, with releases typically tied to the main ANTLR tool's irregular but generally annual or bi-annual update cycle.","language":"python","status":"active","version":"4.13.2","tags":["parsing","lexer","parser","grammar","language processing","AST","compiler"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install antlr4-python3-runtime","imports":["from antlr4 import InputStream, CommonTokenStream\nfrom MyGrammarLexer import MyGrammarLexer # Assumes MyGrammar.g4 was compiled\nfrom MyGrammarParser import MyGrammarParser # Assumes MyGrammar.g4 was compiled\nfrom MyGrammarListener import MyGrammarListener # For listener pattern"]}],"homepage":"http://www.antlr.org","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/antlr4-python3-runtime/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0.04,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/antlr4-python3-runtime/compatibility"}}