You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dev-playground.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Implemented:
23
23
-`make dev-playground-build` verifies the local staged bundle and frontend production build.
24
24
-`compiler/jsoo/jsoo_playground_main.ml` exposes additive API version `7`.
25
25
-`rescript.compile(source)` stays compatible with the existing end-user playground.
26
-
-`rescript.compileWithDebug(source, outputs)` exposes requested internal artifacts for the developer playground.
26
+
-`rescript.compileWithDebug(source)` exposes internal artifacts for the developer playground.
27
27
- The local playground supports source editing, line numbers, lightweight ReScript highlighting, output tabs, settings, URL state, and loading the current checkout's compiler bundle through `playground-bundles/local`.
28
28
29
29
This follow-up adds the master-only GitHub Pages deployment:
@@ -155,8 +155,8 @@ Introduce an API version bump in `compiler/jsoo/jsoo_playground_main.ml`.
155
155
The initial v7 API should stay additive:
156
156
157
157
- Keep `rescript.compile(source)` unchanged for the end-user playground and existing CDN bundles.
158
-
- Add `rescript.compileWithDebug(source, outputs)` for developer tooling.
159
-
- Return the same success/error shape as `compile`, plus only the requested debug output string fields.
158
+
- Add `rescript.compileWithDebug(source)` for developer tooling.
159
+
- Return the same success/error shape as `compile`, plus all debug output string fields.
160
160
161
161
This keeps `rescript-lang.org/try` compatible while allowing the developer playground to feature-detect `api_version >= 7`.
0 commit comments