Parse – Go library offering lexers, parsers, and parsing utilities

Parse is a Go library offering lexers, parsers, and parsing utilities for common web formats.

It’s designed for developers who need efficient, streaming-friendly parsing of CSS, HTML, JavaScript, JSON, XML, and related data, with components intended to follow the relevant official specifications closely.

This is free and open source software.

Key Features

  • Provides lexers and parsers for CSS, HTML, JavaScript, JSON, XML, and SVG-related data.
  • Built around streaming operation for efficient processing of input from io.Reader sources.
  • Includes buffer utilities for building lexers with reduced allocations and reusable memory.
  • Offers parsing helpers for whitespace handling, entity replacement, URL encoding, data URIs, and media types.
  • Written entirely in Go and suitable for use as a library in other Go applications.

Website: github.com/tdewolff/parse
Support:
Developer: Taco de Wolff
License: MIT License

Parse is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

CSS Parsers
PostCSSTransform styles with JavaScript plugins
Lightning CSSParser, transformer, bundler, and minifier
ReworkPlugin framework for CSS preprocessing
MenschNon-validating CSS parser
CSSTreeTool set for CSS
StylisLightweight CSS preprocessor
tinycss2CSS parser and generator
LibCSSCSS parser and selection engine
Ruby CSS ParserLoad, parse and cascade CSS rule sets
ParserLibCSS3 SAX-inspired parser
css-parserFork of the cssutils project
StylecowModern CSS to all browsers
Gonzales PECSS parser which plays nicely with preprocessors
CSSOMCSS parser written in pure JavaScript

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted