# We compiled our TypeScript parser to WASM

DevFeed: [We compiled our TypeScript parser to WASM](<https://devfeed.tech/articles/we-compiled-our-typescript-parser-to-wasm-17859.md>)

Original publisher: [Read original article](<https://encore.dev/blog/typescript-parser-wasm>)

Author: Ivan Cernja

Published: 2026-07-15T00:00:00Z

Content type: article

Language: en

Sources: [Encore Updates](<https://devfeed.tech/sources/encore-updates.md>)

Topics: [Parser](<https://devfeed.tech/topics/parser.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [wasm](<https://devfeed.tech/topics/wasm.md>), [browser](<https://devfeed.tech/topics/browser.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [parsing](<https://devfeed.tech/tags/parsing.md>), [rust](<https://devfeed.tech/tags/rust.md>), [typescript](<https://devfeed.tech/tags/typescript.md>), [wasm](<https://devfeed.tech/tags/wasm.md>)

## AI overview

Encore describes compiling its Rust parser for TypeScript infrastructure declarations to WebAssembly so it can run in the browser. The browser-based parser supports reproducing parser errors from code snippets and shared links, and powers the tsparser.encore.dev playground.

## Source excerpt

How we compiled the Rust parser that reads infrastructure out of Encore code so it runs in the browser, and how we use it to reproduce the parser errors people report.