js_of_ocaml
E554874
js_of_ocaml is a compiler and toolchain that translates OCaml bytecode into JavaScript, enabling OCaml programs to run in web browsers and other JavaScript environments.
All labels observed (1)
| Label | Occurrences |
|---|---|
| js_of_ocaml canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T5923929 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: js_of_ocaml Context triple: [OCaml, hasImplementation, js_of_ocaml]
-
A.
OCaml
OCaml is a statically typed functional programming language from the ML family, known for its powerful type system, pattern matching, and efficient native code compilation.
-
B.
ReasonML
ReasonML is a syntax and toolchain for the OCaml language that offers a JavaScript-friendly, type-safe alternative for building web and native applications.
-
C.
BuckleScript
BuckleScript is a JavaScript backend and toolchain that compiles OCaml/ReasonML code into highly optimized, readable JavaScript for web and Node.js development.
-
D.
ReScript compiler (historical)
The historical ReScript compiler is the original ReasonML-to-JavaScript compilation tool that later evolved into the standalone ReScript language and toolchain.
-
E.
coq gaulois
Coq gaulois is the French term for the Gallic rooster, a national emblem of France symbolizing courage, pride, and the French nation.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: js_of_ocaml Target entity description: js_of_ocaml is a compiler and toolchain that translates OCaml bytecode into JavaScript, enabling OCaml programs to run in web browsers and other JavaScript environments.
-
A.
OCaml
OCaml is a statically typed functional programming language from the ML family, known for its powerful type system, pattern matching, and efficient native code compilation.
-
B.
ReasonML
ReasonML is a syntax and toolchain for the OCaml language that offers a JavaScript-friendly, type-safe alternative for building web and native applications.
-
C.
BuckleScript
BuckleScript is a JavaScript backend and toolchain that compiles OCaml/ReasonML code into highly optimized, readable JavaScript for web and Node.js development.
-
D.
ReScript compiler (historical)
The historical ReScript compiler is the original ReasonML-to-JavaScript compilation tool that later evolved into the standalone ReScript language and toolchain.
-
E.
coq gaulois
Coq gaulois is the French term for the Gallic rooster, a national emblem of France symbolizing courage, pride, and the French nation.
- F. None of above. chosen
Statements (47)
| Predicate | Object |
|---|---|
| instanceOf |
OCaml-to-JavaScript compiler
ⓘ
software toolchain ⓘ |
| advantage |
high-level functional programming for front-end code
ⓘ
reuse of existing OCaml code in the browser ⓘ type-safe web development via OCaml type system ⓘ |
| buildIntegration |
dune
ⓘ
ocamlbuild ⓘ |
| category |
JavaScript compilation tool
ⓘ
cross-compiler ⓘ web development tool ⓘ |
| compatibleWith | OCaml compiler toolchain ⓘ |
| compilationStrategy | bytecode-to-JavaScript ⓘ |
| distribution | OPAM package ⓘ |
| domain |
front-end development
ⓘ
functional programming on the web ⓘ web programming ⓘ |
| ecosystem | OCaml ecosystem ⓘ |
| enables |
running OCaml programs in JavaScript environments
ⓘ
running OCaml programs in web browsers ⓘ |
| feature |
DOM bindings via OCaml libraries
ⓘ
JavaScript code optimization ⓘ dead code elimination ⓘ integration with OCaml build tools ⓘ source maps generation ⓘ |
| goal | allow OCaml code to run where only JavaScript is available ⓘ |
| inputFormat | OCaml bytecode ⓘ |
| license | open-source license ⓘ |
| outputFormat | JavaScript code ⓘ |
| programmingLanguage | OCaml NERFINISHED ⓘ |
| supports |
OCaml exceptions
ⓘ
OCaml functors ⓘ OCaml garbage-collected semantics ⓘ OCaml modules ⓘ OCaml objects ⓘ OCaml pattern matching ⓘ calling JavaScript from OCaml via bindings ⓘ calling OCaml-compiled functions from JavaScript ⓘ interop with existing JavaScript code ⓘ most of the OCaml standard library ⓘ |
| supportsEnvironment |
JavaScript runtime
ⓘ
Node.js NERFINISHED ⓘ web browser ⓘ |
| targetLanguage | JavaScript NERFINISHED ⓘ |
| typicalWorkflow | compile OCaml to bytecode then translate bytecode to JavaScript ⓘ |
| useCase |
client-side web applications in OCaml
ⓘ
sharing code between server-side OCaml and browser ⓘ single-page applications in OCaml ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: js_of_ocaml Description of subject: js_of_ocaml is a compiler and toolchain that translates OCaml bytecode into JavaScript, enabling OCaml programs to run in web browsers and other JavaScript environments.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.