Skip to content

Add typilot to Endive adopters list#84

Merged
andreaTP merged 1 commit into
bytecodealliance:mainfrom
ixmoyren:ixmoyren-patch-1
Jul 6, 2026
Merged

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

Conversation

@ixmoyren

@ixmoyren ixmoyren commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

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
@andreaTP

andreaTP commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Amazing! Thanks a lot! 🙏

Noted the official website moved to .app: https://typst.app/

@andreaTP andreaTP merged commit 531333c into bytecodealliance:main Jul 6, 2026
25 checks passed
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.

2 participants