query-json: A story of cross-compilation with Reason

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • Onboard AI - ChatGPT with full context of any GitHub repo.
  • WorkOS - The modern API for authentication & user identity.
  • query-json

    Faster, simpler and more portable implementation of `jq` in Reason

    There're probably better ways of achieving it since I made the implementation very unsafe davesnx/query-json/js/Js.re.

  • bs-emotion

    BuckleScript bindings to Emotion

    I had a little idea about the theory, but very vague and useless and was the righ time to learn more since I created styled-ppx which is a ppx (Pre*Processor Ex*tension) that allows CSS-in-Reason/OCaml. Needs to parse the CSS and have a backend that compiles to bs-emotion.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • jsoo-react

    js_of_ocaml bindings for ReactJS. Based on ReasonReact.

    You won't have the facility to write frontend code with React, but I'm sure it will change soon since there's a current implementation of React in jsso jsoo-react.

  • sedlex

    An OCaml lexer generator for Unicode

    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.

  • yojson

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

    js_of_ocaml is a compiler that can be plugged to the OCaml's one and It makes it possible to run pure OCaml programs into JavaScript. As you can see, query-json uses menhir, sedlex and yojson

  • js_of_ocaml

    Compiler from OCaml to Javascript.

    The compilation to JavaScript is the sweet section of this blog post since we are using OCaml (under the hood while writing Reason), and it allows us to compile directly to JavaScript using js_of_ocaml.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts