Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 345 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 345 Bytes

Experimental type level parser combinator library for TypeScript 4.1

const parser_ab = rep0(read('a', 'b'))

// [parse result, not consumed input]
const abab_x: ['abab', 'x'] = parse(parser_ab, 'ababx', {})

See tests for usage.

解説記事