Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work. Learn more →
Lark Alternatives
Similar projects and alternatives to Lark
-
pyparsing
Python library for creating PEG parsers [Moved to: https://github.com/pyparsing/pyparsing] (by pyparsing)
-
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
-
-
-
-
Sonar
Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
-
awesome-python
A curated list of awesome Python frameworks, libraries, software and resources
-
Construct
Construct: Declarative data structures for python that allow symmetric parsing and building
-
-
llvm-project
The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Note: the repository does not accept github pull requests at this moment. Please submit your patches at http://reviews.llvm.org.
-
-
-
cupscript
CupScript Is A Simple Scripting Language Completely Created Using Python
-
beancount-parser
Standalone Lark based Beancount syntax parser (not relying on Beancount library), MIT license
-
textX
Domain-Specific Languages and parsers in Python made easy http://textx.github.io/textX/
-
-
-
fastapi
FastAPI framework, high performance, easy to learn, fast to code, ready for production
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Lark reviews and mentions
- Creating a language with Python.
-
Not Your Grandfather’s Perl
A grammar provides the high level constructs you need to define the "shape" of your data, and it largely takes care of the rest. Grammar libraries exist in other language (eg. lark or Parsimonius in Python) and they weren't created just to make XML parsing easier.
-
Earley Parsing Explained
I made a solid attempt at an Earley parser framework of my own, but apparently to get the most reliable performance from Earley parsing you need to implement Joop Leo's improvement for right-recursive grammars, which nobody has been able to adequately explain to me. I've read Kegler's open letter to Vaillant, I've tried to read other implementations, I've even tried to beat my head against the original academic paper, but I don't have the background knowledge to make sense of it all.
-
Parser and Lexer bike-shedding
Have you looked at Lark recently?
-
Python toolkits
STDOUT: Lark or pyparsing
- How can I construct an abstract syntax tree without AST module?
-
TatSu takes grammars in variation of EBNF, outputs memoizing Python PEG parsers
If you are trying out parsing in python, I would recommend giving [Lark](https://github.com/lark-parser/lark) a try. I have used it for smallish projects are its really easy to use especially with the Earley parser.
-
Open source opinionated Beancount code formatter and parser
Both were open sourced under MIT license (there's no dependency to Beancount lib). The reason I don't use Beancount lib is that I want to handle things like comments and emac org syntax. It would be much easier and cleaner to build a Lark based parser and work on top of that. Since the product I build is SaaS and there's zero dependency to the Beancount core, there was actually no requirement for open sourcing them. But I really like the plantext accounting community and would like to give back as much as I can, so I open sourced them here.
-
I started work on a GDScript obfuscator, maybe you'd like to help out?
For the AST, do you mean the grammar? There's a descriptive EBNF grammar. You could then use Antlr or lark to parse script files to get the AST.
-
A note from our sponsor - Sonar
www.sonarsource.com | 3 Feb 2023
Stats
lark-parser/lark is an open source project licensed under MIT License which is an OSI approved license.