Go Parser

Open-source Go projects categorized as Parser | Edit details

Top 23 Go Parser Projects

  • jsoniter

    A high-performance 100% compatible drop-in replacement of "encoding/json" (by json-iterator)

    Project mention: jsoniter+1.18: panic in reflect2 | reddit.com/r/golang | 2022-03-16
  • sh

    A shell parser, formatter, and interpreter with bash support; includes shfmt (by mvdan)

    Project mention: similar to shellcheck? | reddit.com/r/bash | 2022-04-21

    There are also: - shfmt - sh - bash language server - bashate

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • jsonparser

    One of the fastest alternative JSON parser for Go that does not require schema

    Project mention: Zq: An Easier (and Faster) Alternative to Jq | news.ycombinator.com | 2022-04-26

    `jj` is a little tool I wrote that uses https://github.com/buger/jsonparser

  • dasel

    Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single tool. Supports conversion between formats and can be used as a Go package.

    Project mention: Zq: An Easier (and Faster) Alternative to Jq | news.ycombinator.com | 2022-04-26

    I would definitely add dasel to that list. It's become my de facto serialized data converter, and regularly use it to convert between csv, toml, yaml, json, and xml using jq-ish syntaxes.


  • ini

    Package ini provides INI file read and write functionality in Go

    Project mention: A userspace WireGuard client that exposes itself as a proxy | news.ycombinator.com | 2022-03-26
  • participle

    A parser library for Go

    Project mention: Is GO a good option to write a compiler/interpreter? | reddit.com/r/golang | 2021-11-27

    I made a domain specific language using https://github.com/alecthomas/participle what I found interesting is the grammar defined in structure annotations. After the parser runs, you get a fully instantiated structure based upon the input. I then invoke structure methods to do the work described in the DSL.

  • gofeed

    Parse RSS, Atom and JSON feeds in Go

    Project mention: Show HN: The Brutalist Report – A rolling snapshot of the day’s headlines | news.ycombinator.com | 2022-02-22

    The whole thing is written in Go on my end. Ingesting new headlines is handled in a goroutine that spawns within the process every 30 mins using a combo of the wonderful gofeed (https://github.com/mmcdole/gofeed) and colly (https://github.com/gocolly/colly) libraries.

    When loading the front page, you're loading a 1-minute-cached HTML page of it that was constructed out of headlines already in my PostgreSQL database that were put there by the ingestion goroutine.

    I like the idea of word clouds actually, I think you're on to something there. I think you just need to pre-generate them rather than doing it adhoc (if that's what you're doing here) for speed. Additionally, perhaps consider using sentiment in a way that orients stories based on positive and negative sentiment. Right now I am not seeing how I as a visitor/user can act on the sentiment analysis as it is presented now.

    It would be neat to see a collection of uplifting stories grouped together through the sentiment analysis.

    Anyway, food for thought. I hope you keep hacking away on it as it's just good fun to build things.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • goawk

    A POSIX-compliant AWK interpreter written in Go, with CSV support

    Project mention: Show HN: Adding proper CSV support to AWK | news.ycombinator.com | 2022-05-11

    I've now updated the benchmarks to avoid huge.csv: the write benchmarks now write a big 1GB, 20-column CSV and the read benchmarks use that same CSV: https://github.com/benhoyt/goawk/commit/07eb4505a7f64cffceeb...

  • when

    A natural language date/time parser with pluggable rules (by olebedev)

  • kong

    Kong is a command-line parser for Go (by alecthomas)

    Project mention: Coral, a friendly Cobra fork with nearly all its features, but only 4 dependencies | reddit.com/r/golang | 2022-02-02

    We switched all our cli tools from cobra/viper to kong. I can highly recommend it. Almost no deps and easy to use, a great replacement for cobra in my opinion.

  • PHP-Parser

    PHP parser written in Go (by z7zmey)

    Project mention: NoColor — validate the architecture of your PHP project | reddit.com/r/PHP | 2021-06-28

    Unfortunately, there are problems with using Go for parsing, it is a parsing library. We use https://github.com/z7zmey/php-parser which now fully supports PHP 7.4, but the developer is currently not active and it is not known when PHP 8 will be supported (most likely we will do it ourselves soon).

  • form

    :steam_locomotive: Decodes url.Values into Go value(s) and Encodes Go value(s) into url.Values. Dual Array and Full map support. (by go-playground)

  • gval

    Expression evaluation in golang

  • ojg

    Optimized JSON for Go

    Project mention: The fastest tool for querying large JSON files is written in Python (benchmark) | news.ycombinator.com | 2022-04-12
  • omniparser

    omniparser: a native Golang ETL streaming parser and transform library for CSV, JSON, XML, EDI, text, etc.

  • demoinfocs-golang

    High performance CS:GO demo parser for Go (demoinfo)

    Project mention: Is evaluating maps by number of pre-aim angles a good idea? | reddit.com/r/GlobalOffensive | 2021-12-20

    Cool! I've been using https://github.com/markus-wa/demoinfocs-golang so far for my other analyses. Where is your code?

  • graphql-go-tools

    Tools to write high performance GraphQL applications using Go/Golang.

    Project mention: Thunk-based Resolvers: How to build a powerful and flexible GraphQL Gateway | dev.to | 2022-03-11

    The same principle applies to REST APIs, which means they are supported as well. The REST API DataSource was probably the easiest to implement. That's because you don't have to "traverse" child fields to identify if the REST API call needs to be modified. If you compare the REST DataSource vs the implementation of the GraphQL DataSource, you'll see that the former is a lot simpler.

  • enmime

    MIME mail encoding and decoding package for Go

    Project mention: How to deal with selecting a lot of data from a large database? | reddit.com/r/sqlite | 2022-05-12

    extract text from mail body and important headers from email with awesome enmime package: https://github.com/jhillyerd/enmime

  • gronx

    Lightweight, fast and dependency-free Cron expression parser (due checker), task scheduler and/or daemon for Golang (tested on v1.13 and above) and standalone usage

  • gcfg

    read INI-style configuration files into Go structs; supports user-defined types and subsections

  • iso8601

    A fast ISO8601 date parser for Go

  • ofxgo

    Golang library for querying and parsing OFX

  • metricsql

    Standalone PromQL and MetricsQL parser

    Project mention: tstorage: A fast time-series database library | reddit.com/r/golang | 2021-06-01

    You can write a query parser with "github.com/VictoriaMetrics/metricsql". Actually I'm looking to write a tiny TSDB that supports PromQL with tstorage and this metricsql.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-05-12.

Go Parser related posts


What are some of the best open-source Parser projects in Go? This list will help you:

Project Stars
1 jsoniter 10,848
2 sh 4,724
3 jsonparser 4,545
4 dasel 3,230
5 ini 2,952
6 participle 2,440
7 gofeed 1,876
8 goawk 1,508
9 when 1,148
10 kong 932
11 PHP-Parser 865
12 form 522
13 gval 484
14 ojg 469
15 omniparser 452
16 demoinfocs-golang 399
17 graphql-go-tools 341
18 enmime 306
19 gronx 191
20 gcfg 161
21 iso8601 102
22 ofxgo 101
23 metricsql 95
Find remote jobs at our new job board 99remotejobs.com. There are 9 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives