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
{{ message }}
Repository navigation
Commit b3c4184
Browse filesBrowse the repository at this point in the historyBrowse files
Represent %raw, %ffi and %%raw with parsetree nodes (#8879)
* Represent %raw, %ffi and %%raw with parsetree nodes
`Pexp_raw` (with a `Raw_expression` / `Raw_function` kind) and `Pstr_raw` hold
the JavaScript source as written, so `Pconst_raw_source` is gone. PPXs still see
the extensions, and v0 templates now keep their decoding.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NP47qMfjMbjUTKZDsLthDo
Signed-off-by: Christoph Knittel <ck@cca.io>
* Decode braced %raw strings as before
A braced string payload is an ordinary string, with or without a PPX.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NP47qMfjMbjUTKZDsLthDo
Signed-off-by: Christoph Knittel <ck@cca.io>
* Escape raw sources printed as templates
A source that needs a template now escapes backquotes, ${ and backslashes,
and attributed templates stay templates through the v0 bridge.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NP47qMfjMbjUTKZDsLthDo
Signed-off-by: Christoph Knittel <ck@cca.io>
---------
Signed-off-by: Christoph Knittel <ck@cca.io>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments