Skip to content

Commit 7c90cdf

Browse files
Rename files with .multi extension
1 parent 3b6e40f commit 7c90cdf

82 files changed

Lines changed: 153 additions & 152 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.multi linguist-language=Multilingual
File renamed without changes.

docs/content/en/codegen/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Codegen API Reference
55
path_segments:
66
- codegen
77
- api
8-
source_hash: f5184586a04b
8+
source_hash: 3f6353de973f
99
status: source
1010
permalink: /en/docs/codegen/api/
1111
---
@@ -189,7 +189,7 @@ The returned module imports `env.print_str`, `env.print_f64`, `env.print_bool`,
189189
### CLI: `build-wasm-bundle`
190190

191191
```bash
192-
multilingual build-wasm-bundle program.ml --out-dir wasm-out
192+
multilingual build-wasm-bundle program.multi --out-dir wasm-out
193193
```
194194

195195
This writes:

docs/content/en/codegen/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ locale: en
44
title: Python Code Generation
55
path_segments:
66
- codegen
7-
source_hash: 5929fb8cc4b6
7+
source_hash: fd90bc5e1c9b
88
status: source
99
permalink: /en/docs/codegen/
1010
---
@@ -16,7 +16,7 @@ The Python code generator (`PythonCodeGenerator`) is the primary backend for mul
1616
## Pipeline Position
1717

1818
```
19-
Source Language (.ml)
19+
Source Language (.multi)
2020
2121
▼ [Lexer + Parser + SurfaceNormalizer]
2222
Core AST
@@ -151,7 +151,7 @@ The primary WASM backend is `WATCodeGenerator`, which compiles the Core AST dire
151151
From the command line, `build-wasm-bundle` runs the full pipeline (WAT → binary → artifacts):
152152

153153
```bash
154-
multilingual build-wasm-bundle program.ml --out-dir wasm-out
154+
multilingual build-wasm-bundle program.multi --out-dir wasm-out
155155
# Produces: module.wat, module.wasm, host_shim.js, abi_manifest.json
156156
```
157157

@@ -165,7 +165,7 @@ See [WASM Architecture]({{ '/en/docs/wasm/architecture/' | relative_url }}) for
165165

166166
Full end-to-end transpile from Japanese to Python:
167167

168-
**Input** (Japanese, `program.ml`):
168+
**Input** (Japanese, `program.multi`):
169169

170170
{{snippet:codegen__py08}}
171171

docs/content/en/contributing/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ locale: en
44
title: Contributing & Development
55
path_segments:
66
- contributing
7-
source_hash: 48a6c71c7442
7+
source_hash: 7f671e38bc01
88
status: source
99
permalink: /en/docs/contributing/
1010
---
@@ -43,16 +43,16 @@ python -m pip install -e ".[dev,wasm]"
4343

4444
```bash
4545
multilingual repl
46-
multilingual run hello.ml
47-
multilg run hello.ml
46+
multilingual run hello.multi
47+
multilg run hello.multi
4848
```
4949

5050
Module form is still the safest during development:
5151

5252
```bash
5353
python -m multilingualprogramming repl
54-
python -m multilingualprogramming run hello.ml --lang fr
55-
python -m multilingualprogramming compile hello.ml
54+
python -m multilingualprogramming run hello.multi --lang fr
55+
python -m multilingualprogramming compile hello.multi
5656
python -m multilingualprogramming smoke --all
5757
```
5858

docs/content/en/contributing/multilingual-docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Multilingual Documentation Operations
55
path_segments:
66
- contributing
77
- multilingual-docs
8-
source_hash: 4f17f1104cac
8+
source_hash: 305c45520986
99
status: source
1010
permalink: /en/docs/contributing/multilingual-docs/
1111
---

docs/content/en/design/core-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Core Specification
55
path_segments:
66
- design
77
- core-spec
8-
source_hash: 5d4dce322e66
8+
source_hash: 8317a54eab29
99
status: source
1010
permalink: /en/docs/design/core-spec/
1111
---

docs/content/en/design/frontend-contracts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Frontend Contracts
55
path_segments:
66
- design
77
- frontend-contracts
8-
source_hash: 2a5dd692fb4e
8+
source_hash: f84f5bb29766
99
status: source
1010
permalink: /en/docs/design/frontend-contracts/
1111
---

docs/content/en/design/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ locale: en
44
title: Design & Architecture
55
path_segments:
66
- design
7-
source_hash: 20eca0b52594
7+
source_hash: 823b5568f18c
88
status: source
99
permalink: /en/docs/design/
1010
---
@@ -58,7 +58,7 @@ This makes boundary questions explicit:
5858
## Compilation Pipeline
5959

6060
```
61-
Source File (.ml)
61+
Source File (.multi)
6262
│ language="fr"
6363
6464
┌──────────────────┐

docs/content/en/design/related-work.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Related Work
55
path_segments:
66
- design
77
- related-work
8-
source_hash: 5d1b221665f1
8+
source_hash: e43442f24f94
99
status: source
1010
permalink: /en/docs/design/related-work/
1111
---

0 commit comments

Comments
 (0)