Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 416 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 416 Bytes

idris-regex

Verified implementation of Brzozowski derivatives in Idris

The grammar is given by RegExp: Type -> Type. The semantics of regular expressions is specified by

RegExpSpec: RegExp a -> List a -> Type

Finally the file contains a verified matching procedure for deciding regular language membership

match : DecEq a => (xs : List a) -> (r : RegExp a) -> Dec (RegExpSpec r xs)