OCaml JavaScript

Open-source OCaml projects categorized as JavaScript | Edit details
Related topics: #C #Java #Compiler #Go #Python

Top 6 OCaml JavaScript Projects

  • GitHub repo reason

    Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems

    Project mention: Bleeter - UI for GTA V's microblogging site built using React and F# | reddit.com/r/reactjs | 2021-12-31

    I've not looked at it much myself beyond listening to a talk but if you're interested in Functional+React you may want to look at ReasonML, which is a variant of OCaml. It's written by Jordan Walke, who wrote the first version of React, and has strong React support.

  • GitHub repo semgrep

    Lightweight static analysis for many languages. Find bug variants with patterns that look like source code.

    Project mention: Grep one-liners as CI tasks | news.ycombinator.com | 2022-01-14

    The semgrep[1] tool seems like the logical next step, for when you've outgrown plain ol' grep.

    [1] https://semgrep.dev/

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo rescript-compiler

    The compiler for ReScript.

    Project mention: How to use Dependency Injection in Functional Programming | dev.to | 2022-01-16

    This isn’t true for all functional languages, though. In Elm, for example, this technique isn’t used because Elm does not have side effects since all functions are pure. In ReScript, however, you would because while it’s Functional, it still has the exact same side effect model as JavaScript because it compiles to JavaScript.

  • GitHub repo comby

    A tool for structural code search and replace that supports ~every language.

    Project mention: How Our Engineering Team Used Python's AST to Patch 100,000s of Lines of Code | reddit.com/r/programming | 2021-06-06

    One tool that I know of like this is called Comby - https://github.com/comby-tools/comby

  • GitHub repo genType

    Auto generation of idiomatic bindings between Reason and JavaScript: either vanilla or typed with TypeScript/FlowType.

    Project mention: From TypeScript to ReScript | news.ycombinator.com | 2022-01-12
  • GitHub repo js_of_ocaml

    Compiler from OCaml to Javascript.

    Project mention: Is there a statically typed functional programming language that doesn't take purity so seriously? | reddit.com/r/functionalprogramming | 2021-06-01

    TL;DR: Reason is, and always has been, independent of ReScript (formerly BuckleScript) and is still actively maintained. If you want to use Reason or OCaml to make native code you can. If you want to compile JS from OCaml or Reason you also still can, but you'll want to use either js_of_ocaml or a BuckleScript fork named Melange that was made in response to the BuckleScript/ReScript people's shenanigans. And if you only care about JS-like syntax and JS output, you can use ReScript.

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-01-16.

OCaml JavaScript related posts

Index

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

Project Stars
1 reason 9,558
2 semgrep 5,742
3 rescript-compiler 5,666
4 comby 1,362
5 genType 722
6 js_of_ocaml 720
Find remote JavaScript jobs at our new job board 99remotejobs.com. There are 16 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
www.sonarlint.org