JSConf JP

esmeta: A Machine That Reads the ECMAScript Specification

LTTrack DJapanese

The ECMAScript specification is written in English, and ESMeta has parsed and type-checked it in the tc39/ecma262 CI since 2022. The tool reduced more than 50 type errors found at introduction to twelve and helped fix dozens of specification inconsistencies. Since 2025, CI has also detected new phrasing that machines cannot interpret at the pull-request stage.

This talk describes how ESMeta works and traces its development to the present using real pull requests, issues, and commits.