Semantic Diff

#9364 Use the standard library and Location in the parser instead of ext

1 commit

0aef0e215707dbffe7cb3dfa2ca9525db92ed69e..pr-9364

20e017c78 · cknitt + Claude · Nov 20, 2026, 22:14 UTC

Use the standard library and Location in the parser instead of ext

The parser library used a few ext helpers directly: Ext_list.map, filter_map and fold_left, which are List functions, two small identifier checks from Ext_ident, and Warnings.loc as a type annotation. It now uses List, its own copies of the two checks in Res_scanner, and Location.t, which is the same type. The parser reaches ext only through Location now. Ext_ident.is_uident had no other user and is removed.