Slang Building Solidity Compiler APIs from a Declarative Language Specification
summary
Slang provides a machine-readable Solidity spec and modular compiler APIs that cover over 70 Solidity versions (from 0.4.11 to 0.8.22), generated as EBNF grammar and JSON-encoded builtins. The Rust core ships an npm bridge; the alpha parser does error recovery and produces a byte-for-byte concrete syntax tree including whitespace and comments, and the roadmap adds a strongly typed AST, binding/type resolution, VS Code completion and refactoring, plus WASM/browser use.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:29Solidity evolution impact
- 7:16Formal language spec needed
- 9:20Solidity grammar progress
- 12:30Slang compiler APIs
- 16:50Slang parser API demo
- 19:39Resources and closing
related talks
41mBattle of the Languages
12mSlang Language Server: Accelerated, Reliable SystemVerilog Development
37mSolidity in 2022: Recent and Planned Features
25msolx: an LLVM-based Solidity toolchain
01h 02mProgramming Language Research for Technical and Social Good: What PL Can Do for Good?
33mHidden Gems of TypeScript compiler
22mEasier Lint Authoring with Semantic Search and (...)
13mBootstrapping a Compiler with Yul
