sedlex VS query-json

Compare sedlex vs query-json and see what are their differences.

sedlex

An OCaml lexer generator for Unicode (by ocaml-community)

query-json

Faster, simpler and more portable implementation of `jq` in Reason (by davesnx)
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
sedlex query-json
2 4
251 591
0.8% 0.0%
5.8 3.8
27 days ago about 1 year ago
OCaml Reason
MIT License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

sedlex

Posts with mentions or reviews of sedlex. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-01-29.
  • Tsonnet #1 - JSON literals
    2 projects | dev.to | 29 Jan 2025
    Disclaimer: it's worth noting that ocamllex is not unicode friendly. I want Tsonnet to support unicode, but I'm postponing this complexity for later. Perhaps using the sedlex package for that.
  • query-json: A story of cross-compilation with Reason
    8 projects | dev.to | 12 Oct 2020
    Started with the goal to create something useful and learn during the process. Was very interested in learning about how to write parsers and compilers using the OCaml stack: menhir and sedlex, compile it to any architecture and try to compile it to JavaScript.

query-json

Posts with mentions or reviews of query-json. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-21.
  • Gojq: Pure Go Implementation of Jq
    8 projects | news.ycombinator.com | 21 Aug 2022
    It's very possible it could be faster; jq seems to actually be fairly unoptimized. This implementation in OCaml was featured on HN a while back and it trashes the original jq in performance: https://github.com/davesnx/query-json

    After seeing that one I did my own (less-complete) version in Rust and managed to squeeze out even more performance: https://github.com/brundonsmith/jqr

  • query-json: A story of cross-compilation with Reason
    8 projects | dev.to | 12 Oct 2020
    You can see more examples in the parsing tests

What are some alternatives?

When comparing sedlex and query-json you can also consider the following projects:

yojson - Low-level JSON parsing and pretty-printing library for OCaml

tylr - a tiny tile-based editor

js_of_ocaml - Compiler from OCaml to Javascript.

bs-emotion - BuckleScript bindings to Emotion

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured

Did you know that OCaml is
the 41st most popular programming language
based on number of references?