javalang - Pure Python Java parser and tools

  •        4

javalang is a pure Python library for working with Java source code. javalang provides a lexer and parser targeting Java 8. The implementation is based on the Java language spec available at http://docs.oracle.com/javase/specs/jls/se8/html/. The following gives a very brief introduction to using javalang.

https://github.com/c2nes/javalang

Tags
Implementation
License
Platform

   




Related Projects

Simplecsv - CSV parser for Java, based on the OpenCSV

  •    Java

A simple library for parsing CSV in Java, based on the OpenCSV library. After trying unsuccessfully to fix some of the key bugs in OpenCSV, I concluded that the core of the library -- the CSVParser -- was too complicated a patchwork to salvage. I decided to rewrite it. That effort led to forking the project entirely, with the primary intent of simplifying the parser code, but keeping it fast and generally in the spirit of the OpenCSV library.

TagSoup - HTML/XML parser for Haskell

  •    Haskell

TagSoup is a library for parsing HTML/XML. It supports the HTML 5 specification, and can be used to parse either well-formed XML, or unstructured and malformed HTML from the web. The library also provides useful functions to extract information from an HTML document, making it ideal for screen-scraping.

neotoma - Erlang library and packrat parser-generator for parsing expression grammars.

  •    Erlang

Neotoma is a packrat parser-generator for Erlang for Parsing Expression Grammars (PEGs). It consists of a parsing-combinator library with memoization routines, a parser for PEGs, and a utility to generate parsers from PEGs. It is inspired by treetop, a Ruby library with similar aims, and parsec, the parser-combinator library for Haskell. Neotoma is licensed under the MIT License (see LICENSE).

AngleSharp - The ultimate angle brackets parser library parsing HTML5, MathML, SVG and CSS to construct a DOM based on the official W3C specifications

  •    CSharp

AngleSharp is a .NET library that gives you the ability to parse angle bracket based hyper-texts like HTML, SVG, and MathML. XML without validation is also supported by the library. An important aspect of AngleSharp is that CSS can also be parsed. The included parser is built upon the official W3C specification. This produces a perfectly portable HTML5 DOM representation of the given source code and ensures compatibility with results in evergreen browsers. Also standard DOM features such as querySelector or querySelectorAll work for tree traversal.

lark - A modern parsing library for Python, implementing Earley & LALR(1) and an easy interface

  •    Python

Beginners: Lark is not just another parser. It can parse any grammar you throw at it, no matter how complicated or ambiguous, and do so efficiently. It also constructs a parse-tree for you, without additional code on your part. Experts: Lark lets you choose between Earley and LALR(1), to trade-off power and speed. It also contains a CYK parser and experimental features such as a contextual-lexer.


Opencsv - Easy-to-use CSV (comma-separated values) parser library for Java

  •    Java

Opencsv is an easy-to-use CSV (comma-separated values) parser library for Java. Opencsv supports all the basic CSV-type things like Arbitrary numbers of values per line, Ignoring commas in quoted elements, Configurable separator and quote characters and lot more.

iTunes Library Parser

  •    

The iTunes Library Parser reads the XML file created by iTunes (Library --> Export), and loads it to a container object. The parser then writes a HTML file (sorted by artist, then album) of all the tracks in your library. Developed in C#.

Simple XPath Parser API

  •    Java

XPath Parser is a library consisting of parser for XPath-expressions and a set of classes which are used to represent their structure. Parser creates class-based structure of an XPath expression which may be manipulated as required. This small library ma

email-reply-parser - :email: Email reply parser library for Python

  •    Python

A port of GitHub's Email Reply Parser library, by the fine folks at Zapier. Email Reply Parser makes it easy to grab only the last reply to an on-going email thread.

Jodd - The Unbearable Lightness of Java

  •    Java

Jodd is developer-friendly set of Java microframeworks, tools and utilities, under 1.7 MB. Build with common sense to make things simple, but not simpler. Its feature include slick IoC container, elegant MVC framework, unique AOP engine, thin DB-object mapper, standalone transaction manager, focused validation tool, versatile HTML parsers, pages decorator, super properties, powerful BeanUtil, timeless JDateTime, easy email, many super utilities... and more.

Detect.js - :mag: Library to detect browser, os and device based on the UserAgent String

  •    Javascript

❗️ NOTE: THIS PLUGIN IS NO LONGER MAINTAINED. If you encounter a bug then you're probably on your own. Try Bowser as an alternative. Note: Detect.js is a JavaScript library to detect platforms, versions, manufacturers and types based on the navigator.userAgent string. This code is based on, and modified from, the original work of Tobie Langel's UA-Parser: https://github.com/tobie/ua-parser. UA-Parser is subsequently a port of BrowserScope's user agent string parser.

combine - A parser combinator library for Rust

  •    Rust

An implementation of parser combinators for Rust, inspired by the Haskell library Parsec. As in Parsec the parsers are LL(1) by default but they can opt-in to arbitrary lookahead using the try combinator. Larger examples can be found in the examples, tests and benches folders.

Jackson - Best JSON parser for Java

  •    Java

Jackson is one of best JSON parser for Java. More than that, Jackson is a suite of data-processing tools for Java (and the JVM platform), including the flagship streaming JSON parser / generator library, matching data-binding library (POJOs to and from JSON) and additional data format modules to process data encoded in Avro, BSON, CBOR, CSV, Smile, (Java) Properties, Protobuf, XML or YAML; and even the large set of data format modules to support data types of widely used data types such as Guava, Joda, PCollections and many, many more.

Command Line Parser Library

  •    DotNet

The Command Line Parser Library offers to CLR applications an hassle free API constantly updated API since 2005. Unix-like, automatic help screen generation.

mpc - A Parser Combinator library for C

  •    C

mpc is a lightweight and powerful Parser Combinator library for C. Using mpc might be of interest to you if you are...

parsec - A monadic parser combinator library

  •    Haskell

Please refer to the package description on Hackage for more information. A monadic parser combinator library, written by Daan Leijen. Parsec is designed from scratch as an industrial-strength parser library. It is simple, safe, well documented, has extensive libraries, good error messages, and is fast.

megaparsec - Industrial-strength monadic parser combinator library

  •    Haskell

This is an industrial-strength monadic parser combinator library. Megaparsec is a feature-rich package that strikes a nice balance between speed, flexibility, and quality of parse errors. The project provides flexible solutions to satisfy common parsing needs. The section describes them shortly. If you're looking for comprehensive documentation, see the section about documentation.

mercury-parser - 📜 Extract meaningful content from the chaos of a web page

  •    Javascript

Postlight's Mercury Parser extracts the bits that humans care about from any URL you give it. That includes article content, titles, authors, published dates, excerpts, lead images, and more. Mercury Parser powers the Mercury AMP Converter and Mercury Reader, a Chrome extension that removes ads and distractions, leaving only text and images for a beautiful reading view on any site.

xml-rs - An XML library in Rust

  •    Rust

xml-rs is an XML library for Rust programming language. It is heavily inspired by Java Streaming API for XML (StAX). This library currently contains pull parser much like StAX event reader. It provides iterator API, so you can leverage Rust's existing iterators library features.

Foreval (math parser)

  •    

Foreval is compiler of mathematical expressions(formulas) given as string at run-time (math parser). (present as dll library and delphi component) For fast and exact scientific calculations.