Skip to content

Add scripting-language extraction coverage#57

Open
janrito wants to merge 1 commit into
compiled-languagesfrom
scripting-languages
Open

Add scripting-language extraction coverage#57
janrito wants to merge 1 commit into
compiled-languagesfrom
scripting-languages

Conversation

@janrito

@janrito janrito commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Close construct-coverage gaps for bash, javascript (js/ts/tsx), and ruby, and
add prose and markup fixtures.

Same audit as the compiled languages. The notable item is a correctness fix:
.tsx files were routed to the plain TypeScript grammar, which fails on JSX
and extracted nothing — they now use the TSX grammar. Alongside that, this
brings the three to full coverage (TS interface/enum, bash alias names
via the engine's name_extractor, ruby constructs) with cases, inline tests,
and samples, adds rst prose samples, and adds an html sample. It also adds an
inline test that a Markdown fenced block delegates through to embedded
javascript, exercising the injection path across two hops (markdown → html →
js).

Pinned by snapshots and extraction cases; the injection case is an inline
delegation test.


Stacked PRs (merge bottom → top): #54 · #55 · #56 · #57 · #58 · #59 · #60

Expand bash, javascript (js, ts, tsx), and ruby to full query coverage
with extraction cases, inline tests, and samples, and add rst prose
samples. Include an html sample and cover markdown-to-javascript
injection delegation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant