Pest: Building a Language Server
summary
Parser built with Pest (PEG grammar) with heavy TDD coverage, JSON/RPC handled by Parity’s implementation over stdio, and a WebAssembly browser parser demo proves cross‑platform deployment. Grammar sizes reach thousands of lines (2.5k–10k) and parse in under a second; throughput around 200 MB/s on JSON benchmarks. Pest lacks a native concurrent parser so parsing is guarded with Arc+Mutex. Current status: beta with an expected 10k user base.
AI-written summary · about
chapters (8)
- 0:00Intro
- 1:48Language server protocol - Why it's good
- 6:11Language server protocol - The future
- 8:57Rust Language Server - Supported editors
- 10:37Rust Language Server - Recommended Setup
- 11:07Rust Language Server - Collaborating
- 16:23Developing a Language Server - Why PEG? Why Post?
- 18:58Language server protocol - Challenges
related talks
15mBuilding Little Languages with Rust
41mParsing Safely, from 500MB/s to 2GB/s
31mPercy: Isomorphic Web Apps with Rust + WebAssembly
36mWriting a Zero-Copy Database Parser from the Ground Up
53mProgramming Power Paradox
38mRust on the frontend
53mProgramming Power Paradox
24m"Web Sites, Web Apps, and Web Assembly"
