Skip to content

Add typilot to Endive adopters list#84

Open
ixmoyren wants to merge 1 commit into
bytecodealliance:mainfrom
ixmoyren:ixmoyren-patch-1
Open

Add typilot to Endive adopters list#84
ixmoyren wants to merge 1 commit into
bytecodealliance:mainfrom
ixmoyren:ixmoyren-patch-1

Conversation

@ixmoyren

@ixmoyren ixmoyren commented Jul 4, 2026

Copy link
Copy Markdown

Typilot is an IntelliJ IDEA plugin for the Typst language, built on typst-syntax, endive, tinymist and lsp4ij.

In building the PSI tree for the IntelliJ platform language plugin, the core lexing and parsing are primarily driven by typst-syntax and endive. typst-syntax is the official parser maintained by the Typst project.

I compile the typst-syntax wrapper into WebAssembly, and then endive converts the wasm into bytecode for use by other modules in Typliot.

The approach for compiling the typst-syntax wrapper to WebAssembly is inspired by the lumis4j project. The difference from lumis4j is that the typst-syntax wrapper needs to handle structs and serialization (of course, once endive's Component Model matures, this workaround won't be necessary).

This project serves as a demonstration of integrating a Rust library into a Java/Kotlin project.

@ixmoyren ixmoyren requested a review from andreaTP as a code owner July 4, 2026 09:38
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