Skip to content

Commit 7f5cebf

Browse files
committed
markdown linter
1 parent 4d9544a commit 7f5cebf

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

data/tool_pages/platform/2ct_00_native.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ If your target platform lacks native code support, the bytecode compiler provide
4545

4646
- [OCaml Manual: Native-code Compilation](https://ocaml.org/manual/latest/native.html) - Complete ocamlopt reference
4747
- [Using the OCaml Compiler Toolchain](https://ocaml.org/docs/using-the-ocaml-compiler-toolchain) - Practical compilation guide
48-
- [The Compiler Backend: Bytecode and Native code](https://ocaml.org/docs/compiler-backend) - Deep dive into compilation internals
48+
- [The Compiler Backend: Bytecode and Native code](https://ocaml.org/docs/compiler-backend) - Deep dive into compilation internals

data/tool_pages/platform/2ct_02_javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ Melange is ideal when you're building JavaScript-first applications and want sea
5656
## Community
5757

5858
- [Discuss OCaml Forums](https://discuss.ocaml.org/) - Ask questions in the Ecosystem category
59-
- [Melange Discord](https://discord.gg/reasonml) - Melange and Reason community
59+
- [Melange Discord](https://discord.gg/reasonml) - Melange and Reason community

data/tool_pages/platform/2ct_03_wasm.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ category: "Compilation Targets"
99
OCaml can compile to WebAssembly (WASM), enabling you to run high-performance OCaml code in web browsers, on the server, and in embedded environments with near-native speed.
1010

1111
## What is WebAssembly?
12+
1213
WebAssembly is a binary instruction format designed as a portable compilation target for programming languages. It provides:
1314
- Near-native performance in web browsers and standalone runtimes
1415
- Sandboxed execution environment for security
@@ -18,6 +19,7 @@ WebAssembly is a binary instruction format designed as a portable compilation ta
1819
## Available Tools
1920

2021
### wasm_of_ocaml
22+
2123
[wasm_of_ocaml](https://github.com/ocsigen/js_of_ocaml/blob/master/README_wasm_of_ocaml.md) compiles OCaml bytecode to WebAssembly. It provides:
2224
- Full OCaml language support, including the standard library and OCaml 5 effects
2325
- Compatibility with existing OCaml libraries
@@ -33,6 +35,7 @@ wasm_of_ocaml is ideal when you want to leverage existing OCaml code with WebAss
3335
Visit the [wasm_of_ocaml documentation](https://github.com/ocsigen/js_of_ocaml/blob/master/README_wasm_of_ocaml.md) in the Js_of_ocaml repository to learn how to install and set up wasm_of_ocaml, compile OCaml programs to WebAssembly, interact with JavaScript APIs from WASM, and deploy WASM modules in web applications.
3436

3537
### Wasocaml
38+
3639
[Wasocaml](https://github.com/OCamlPro/wasocaml) is an OCaml compiler that targets WebAssembly GC (WASM-GC). Developed by OCamlPro, it provides:
3740
- Direct compilation from OCaml's Flambda intermediate representation to WASM-GC
3841
- Native WebAssembly garbage collection support
@@ -48,16 +51,19 @@ Wasocaml is ideal when you need direct compilation to WebAssembly with garbage c
4851
Visit the [Wasocaml repository](https://github.com/OCamlPro/wasocaml) and [OCamlPro's blog posts](https://ocamlpro.com/blog/2022_12_14_wasm_and_ocaml/) to learn how to install the Wasocaml compiler switch, compile OCaml programs to WASM-GC, understand the compilation process and optimizations, and deploy to WebAssembly runtimes.
4952

5053
## Choosing a Tool
54+
5155
**Use wasm_of_ocaml** when you want to run existing OCaml bytecode in WebAssembly environments, need compatibility with Js_of_ocaml web bindings, or want a mature toolchain similar to Js_of_ocaml.
5256

5357
**Use Wasocaml** when you need direct compilation with Flambda optimizations, want to target the WebAssembly GC proposal, or are building performance-critical applications.
5458

5559
## Learn More
60+
5661
- [ocaml-wasm Organization](https://github.com/ocaml-wasm) - Coordination hub for OCaml WebAssembly efforts
5762
- [WebAssembly.org](https://webassembly.org/) - WebAssembly specification and documentation
5863
- [WASM-GC Proposal](https://github.com/WebAssembly/gc) - Garbage Collection proposal for WebAssembly
5964
- [OCamlPro WASM Blog Posts](https://ocamlpro.com/blog/tags/wasm/) - Technical deep dives on Wasocaml
6065

6166
## Community
67+
6268
- [Discuss OCaml Forums](https://discuss.ocaml.org/) - Ask questions in the Ecosystem category
63-
- [ocaml-wasm Updates](https://discuss.ocaml.org/tag/wasm) - Follow WebAssembly developments in OCaml
69+
- [ocaml-wasm Updates](https://discuss.ocaml.org/tag/wasm) - Follow WebAssembly developments in OCaml

data/tool_pages/platform/2ct_04_unikernels.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ To start building unikernels with OCaml, visit the [MirageOS Getting Started Gui
7878

7979
- [Discuss OCaml Forums](https://discuss.ocaml.org/) - Ask questions in the Ecosystem category
8080
- [MirageOS Mailing List](https://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel) - Development discussions
81-
- IRC: `#mirage` on Libera.Chat
81+
- IRC: `#mirage` on Libera.Chat

0 commit comments

Comments
 (0)