Skip to content

Commit 655856e

Browse files
committed
feat: pkl and compat pages
1 parent 54359b9 commit 655856e

File tree

4 files changed

+27
-1
lines changed

4 files changed

+27
-1
lines changed

Writerside/e.tree

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<toc-element topic="Installation.md"/>
1212
<toc-element topic="GettingStarted.md"/>
1313
<toc-element topic="Language-Guides.topic">
14+
<toc-element topic="Compatibility.md"/>
1415
<toc-element topic="Polyglot.md">
1516
<toc-element topic="101-Environment.md"/>
1617
<toc-element topic="101-Filesystem.md"/>
@@ -24,6 +25,7 @@
2425
</toc-element>
2526
<toc-element toc-title="Guides by Language">
2627
<toc-element topic="JavaScript.md">
28+
<toc-element topic="TypeScript.md"/>
2729
<toc-element topic="Node-API.md">
2830
<toc-element topic="node-assert.md"/>
2931
<toc-element toc-title="Async Hooks" />
@@ -66,9 +68,9 @@
6668
<toc-element toc-title="Web Streams API" />
6769
</toc-element>
6870
</toc-element>
69-
<toc-element topic="TypeScript.md"/>
7071
<toc-element topic="Python.md"/>
7172
<toc-element topic="Ruby.md"/>
73+
<toc-element topic="Pkl.md"/>
7274
<toc-element topic="Experimental.md"/>
7375
</toc-element>
7476
<toc-element topic="Container-Images.md"/>

Writerside/topics/Compatibility.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Compatibility
2+
3+
%product% is **alpha-quality software**, meaning it has not yet reached a level of stability where correct operation is
4+
guaranteed or even typical.
5+
6+
The language engines used by %product% are based on [GraalVM](https://graalvm.org)
7+
[Truffle](https://www.graalvm.org/latest/graalvm-as-a-platform/language-implementation-framework/). Truffle engines
8+
aren't necessarily compatible by default with their corresponding regular language engines.
9+
10+
Refer to the table below for resources regarding compatibility in each language.
11+
12+
| Language | Stability | %product%'s Engine | Stock Engine | Notes |
13+
|--------------------------------|--------------------------------------------------------------------|-------------------------------------------------------------------------|------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|
14+
| [JavaScript](JavaScript.md) | ![Beta](https://img.shields.io/badge/-beta-purple) | [GraalJs](https://github.com/oracle/graaljs) | [V8](https://v8.dev/) | ECMA2023-compatible. [Node API](Node-API.md) compat pending. |
15+
| [WebAssembly](Experimental.md) | ![Alpha](https://img.shields.io/badge/-alpha-blue) | [GraalWasm](https://github.com/oracle/graal/blob/master/wasm/README.md) | [V8](https://v8.dev/) | |
16+
| [Python](Python.md) | ![Alpha](https://img.shields.io/badge/-alpha-blue) | [GraalPython](https://github.com/oracle/graalpython) | [CPython](https://github.com/python/cpython) | Roughly **~48% compatible** with PyPI top 500. See [here](https://www.graalvm.org/python/compatibility/). |
17+
| [Ruby](Ruby.md) | ![Alpha](https://img.shields.io/badge/-alpha-blue) | [TruffleRuby](https://github.com/oracle/truffleruby) | [MRI](https://rvm.io/interpreters/ruby) | Passes ~**97% of `ruby/spec`**. See [here](https://www.graalvm.org/latest/reference-manual/ruby/Compatibility/) |
18+
| [LLVM](Experimental.md) | ![Experimental](https://img.shields.io/badge/-experimental-orange) | [Sulong](https://github.com/oracle/graal/tree/master/sulong) | [LLVM Runtime](https://llvm.org/) | |
19+
| [TypesScript](TypeScript.md) | ![Experimental](https://img.shields.io/badge/-experimental-orange) | [TSC](https://github.com/microsoft/typescript) | [TSC](https://github.com/microsoft/typescript) | |
20+
| [Pkl](Pkl.md) | ![Experimental](https://img.shields.io/badge/-experimental-orange) | [Apple Pkl](https://github.com/apple/pkl) | [Apple Pkl](https://github.com/apple/pkl) | |

Writerside/topics/Experimental.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ construction upstream, as part of [GraalVM](https://graalvm.org).
88
| JVM | [Espresso](https://www.graalvm.org/latest/reference-manual/java-on-truffle/) | ![Experimental](https://img.shields.io/badge/-experimental-orange) **Linux amd64 only.** |
99
| LLVM | [Sulong](https://www.graalvm.org/latest/reference-manual/llvm/) | ![Experimental](https://img.shields.io/badge/-experimental-orange) |
1010
| WebAssembly | [GraalWasm](https://www.graalvm.org/latest/reference-manual/wasm/) | ![Experimental](https://img.shields.io/badge/-experimental-orange) |
11+
| Pkl | [Apple Pkl](https://github.com/apple/pkl) | ![Experimental](https://img.shields.io/badge/-experimental-orange) |
1112

1213
Several experimental engines support multiple dialects.
1314

Writerside/topics/Pkl.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Pkl
2+
3+
Coming soon.

0 commit comments

Comments
 (0)