# \#javascript

**URL:** https://discuss.ocaml.org/tag/javascript/247.md

[Latest](https://discuss.ocaml.org/latest.md) · [Categories](https://discuss.ocaml.org/categories.md) · [Tags](https://discuss.ocaml.org/tags.md)

---

## [Nashorn/Rhino (in JVM) equivalent](https://discuss.ocaml.org/t/nashorn-rhino-in-jvm-equivalent/16400)

<div class="topic-metadata">

**Author:** [@Gowthaman\_Basuvaraj](https://discuss.ocaml.org/u/Gowthaman_Basuvaraj)\
**Replies:** 3\
**Last updated:** [April 1, 2025, 8:45am UTC](https://discuss.ocaml.org/t/nashorn-rhino-in-jvm-equivalent/16400 "2025-04-01T08:45:32Z")

</div>

After being in the learning Phase for soo long, i am looking to start a small Web Application in ocaml. However, one requirement is “allow userscripts” i.e in the app users will write scripts (in javascript) and the app…

---

## [Could we add a tiny OCaml interpreter to Numworks graphical calculators?](https://discuss.ocaml.org/t/could-we-add-a-tiny-ocaml-interpreter-to-numworks-graphical-calculators/7652)

<div class="topic-metadata">

**Author:** [@Naereen](https://discuss.ocaml.org/u/Naereen)\
**Replies:** 13\
**Last updated:** [October 23, 2024, 3:43pm UTC](https://discuss.ocaml.org/t/could-we-add-a-tiny-ocaml-interpreter-to-numworks-graphical-calculators/7652 "2024-10-23T15:43:52Z")

</div>

Hello there, Let’s start with a teaser: could we add a tiny OCaml interpreter to Numworks (https://www.numworks.com/) graphical calculators?? It should be possible!! I’ve been interested in Python and OCaml since the …

---

## [What are the limits and prerequisites of using dependencies with melange?](https://discuss.ocaml.org/t/what-are-the-limits-and-prerequisites-of-using-dependencies-with-melange/13688)

<div class="topic-metadata">

**Author:** [@shonfeder](https://discuss.ocaml.org/u/shonfeder)\
**Replies:** 2\
**Last updated:** [February 28, 2024, 8:43am UTC](https://discuss.ocaml.org/t/what-are-the-limits-and-prerequisites-of-using-dependencies-with-melange/13688 "2024-02-28T08:43:08Z")

</div>

I am trying to explore melange. But I am quite confused about its prerequisites, and neither the issues, documentation, or repo have been able to clarify for me so far. When I try to define a simple skeleton application…

---

## [Ahrefs is now built with Melange](https://discuss.ocaml.org/t/ahrefs-is-now-built-with-melange/12107)

<div class="topic-metadata">

**Author:** [@jchavarri](https://discuss.ocaml.org/u/jchavarri)\
**Replies:** 10\
**Last updated:** [November 9, 2023, 3:19pm UTC](https://discuss.ocaml.org/t/ahrefs-is-now-built-with-melange/12107 "2023-11-09T15:19:10Z")

</div>

Hello! Since last September, the Melange, Dune, and Ahrefs development teams have been working to enhance the integration between Dune and Melange. As a company that uses a lot of OCaml in the backend, Ahrefs saw an opp…

---

## [\[ANN\] First release of opam-check-npm-deps plugin 1.0.0](https://discuss.ocaml.org/t/ann-first-release-of-opam-check-npm-deps-plugin-1-0-0/12898)

<div class="topic-metadata">

**Author:** [@jchavarri](https://discuss.ocaml.org/u/jchavarri)\
**Replies:** 1\
**Last updated:** [August 24, 2023, 12:02pm UTC](https://discuss.ocaml.org/t/ann-first-release-of-opam-check-npm-deps-plugin-1-0-0/12898 "2023-08-24T12:02:47Z")

</div>

I am happy to announce on behalf of the Ahrefs and Melange teams the first release 1.0.0 of the opam-check-npm-deps opam plugin. This plugin aims to solve a simple limitation: how to allow libraries written for either M…

---

## [ANN: Melange 1.0 – compile OCaml / ReasonML to JavaScript](https://discuss.ocaml.org/t/ann-melange-1-0-compile-ocaml-reasonml-to-javascript/12305)

<div class="topic-metadata">

**Author:** [@anmonteiro](https://discuss.ocaml.org/u/anmonteiro)\
**Replies:** 10\
**Last updated:** [July 3, 2023, 3:55pm UTC](https://discuss.ocaml.org/t/ann-melange-1-0-compile-ocaml-reasonml-to-javascript/12305 "2023-07-03T15:55:18Z")

</div>

The Melange team and I are thrilled to announce the release of Melange 1.0 today, marking a major milestone in the life of the project. This release represents the culmination of many months of hard work and incredible c…

---

## [A short review of fmlib\_browser (web frontend library)](https://discuss.ocaml.org/t/a-short-review-of-fmlib-browser-web-frontend-library/12384)

<div class="topic-metadata">

**Author:** [@R\_Huxton](https://discuss.ocaml.org/u/R_Huxton)\
**Replies:** 0\
**Last updated:** [June 12, 2023, 3:58pm UTC](https://discuss.ocaml.org/t/a-short-review-of-fmlib-browser-web-frontend-library/12384 "2023-06-12T15:58:06Z")

</div>

This is probably better as a blog article, but I’m guessing anyone who is interested is quite likely to find it here. It’s just some short notes on my first impressions (as an ocaml beginner) of the fmlib\_browser web-app…

---

## [ATD now supports TypeScript](https://discuss.ocaml.org/t/atd-now-supports-typescript/9735)

<div class="topic-metadata">

**Author:** [@mjambon](https://discuss.ocaml.org/u/mjambon)\
**Replies:** 0\
**Last updated:** [April 27, 2022, 12:21am UTC](https://discuss.ocaml.org/t/atd-now-supports-typescript/9735 "2022-04-27T00:21:04Z")

</div>

ATD is a language for specifying typed interfaces for communicating across programming languages. It turns concrete type definitions (“schema”) into code for each language. This code can read and write JSON safely, relie…

---

## [Illegal invocation when calling alert function using js\_of\_ocaml](https://discuss.ocaml.org/t/illegal-invocation-when-calling-alert-function-using-js-of-ocaml/9701)

<div class="topic-metadata">

**Author:** [@mooreryan](https://discuss.ocaml.org/u/mooreryan)\
**Replies:** 5\
**Last updated:** [April 20, 2022, 4:57pm UTC](https://discuss.ocaml.org/t/illegal-invocation-when-calling-alert-function-using-js-of-ocaml/9701 "2022-04-20T16:57:51Z")

</div>

I’m using js\_of\_ocaml (4.0.0) to compile OCaml to JS and using the brr library (0.0.3) to interact with the browser, but I ran into some interesting behavior. (For reference, here is the original GitHub issue about this…

---

## [Structuring FRP (specifically Note) applications](https://discuss.ocaml.org/t/structuring-frp-specifically-note-applications/8645)

<div class="topic-metadata">

**Author:** [@Gopiandcode](https://discuss.ocaml.org/u/Gopiandcode)\
**Replies:** 18\
**Last updated:** [October 28, 2021, 6:36pm UTC](https://discuss.ocaml.org/t/structuring-frp-specifically-note-applications/8645 "2021-10-28T18:36:50Z")

</div>

Hi, I’ve recently been playing around with Note and Brr\_note on a toy project of some moderate complexity and have run into issues with structuring my signals and events and have found myself questioning if the structure…

---

## [Building Ahrefs codebase with Melange](https://discuss.ocaml.org/t/building-ahrefs-codebase-with-melange/7941)

<div class="topic-metadata">

**Author:** [@jchavarri](https://discuss.ocaml.org/u/jchavarri)\
**Replies:** 0\
**Last updated:** [May 31, 2021, 8:16am UTC](https://discuss.ocaml.org/t/building-ahrefs-codebase-with-melange/7941 "2021-05-31T08:16:34Z")

</div>

At Ahrefs, we make extensive use of OCaml and ReScript —previously known as BuckleScript. So we have been following the latest developments in the ReScript ecosystem with great interest. A few months ago, António Montei…

---

## [Bigstringaf\_blit\_from\_bytes not implemented](https://discuss.ocaml.org/t/bigstringaf-blit-from-bytes-not-implemented/6524)

<div class="topic-metadata">

**Author:** [@orbitz](https://discuss.ocaml.org/u/orbitz)\
**Replies:** 4\
**Last updated:** [October 1, 2020, 7:36pm UTC](https://discuss.ocaml.org/t/bigstringaf-blit-from-bytes-not-implemented/6524 "2020-10-01T19:36:36Z")

</div>

I’m trying to use something that in jsoo that uses angstrom parser but getting the following error. Looking through the trail of PRs it seems like work has been put into support bigstringaf on JSOO. Anyone know what th…

---

## [Where do I look for docs now that Bucklescript is gone?](https://discuss.ocaml.org/t/where-do-i-look-for-docs-now-that-bucklescript-is-gone/6283)

<div class="topic-metadata">

**Author:** [@Danielo\_Rodriguez](https://discuss.ocaml.org/u/Danielo_Rodriguez)\
**Replies:** 14\
**Last updated:** [August 24, 2020, 11:39am UTC](https://discuss.ocaml.org/t/where-do-i-look-for-docs-now-that-bucklescript-is-gone/6283 "2020-08-24T11:39:59Z")

</div>

I don’t know what’s wrong with compile to Js languages, but every time I want to give them a try they are always in the middle of a major rewrite/rebrand/overhaul with breaking changes and incompatible stuff that renders…

---

## [JS\_of\_OCaml vs Bucklescript](https://discuss.ocaml.org/t/js-of-ocaml-vs-bucklescript/2293)

<div class="topic-metadata">

**Author:** [@egoholic](https://discuss.ocaml.org/u/egoholic)\
**Replies:** 32\
**Last updated:** [October 31, 2018, 2:26am UTC](https://discuss.ocaml.org/t/js-of-ocaml-vs-bucklescript/2293 "2018-10-31T02:26:08Z")

</div>

Hello, dear community! Currently we have 2 options to write frontend-related code in OCaml: js\_of\_ocaml and bucklescript. I have no experience with this two libraries and I want to pick one. Has anybody tried both of th…

---

## [Interactive SVG](https://discuss.ocaml.org/t/interactive-svg/2296)

<div class="topic-metadata">

**Author:** [@jnavila](https://discuss.ocaml.org/u/jnavila)\
**Replies:** 7\
**Last updated:** [July 18, 2018, 7:02pm UTC](https://discuss.ocaml.org/t/interactive-svg/2296 "2018-07-18T19:02:15Z")

</div>

I need to display an SVG which is interactive (i.e. reacts to user inputs on mouse and keyboard). What are the options right now? Neither js\_of\_ocaml nor bucklescript seem to handle correctly events for SVG.
