[Ur] Regular expressions DSEL?
Artyom Shalkhakov
artyom.shalkhakov at gmail.com
Sun Feb 19 22:28:16 EST 2017
Hello all,
'm doing form validation stuff, following examples on MDN. [1]
It seems like Ur/Web doesn't handle regular expressions?
I guess it should not be too diffcult to define a DSEL in Ur/Web (just AST
constructors and a few trusted functions: e.g. [compile : AST -> regexp],
where [regexp] is an abstract type, or maybe just a string :-)) and have it
work at least in the browser.
Could somebody point me in the right direction here?
--
Cheers,
Artyom Shalkhakov
[1]
https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/Constraint_validation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.impredicative.com/pipermail/ur/attachments/20170220/2f3aad27/attachment.html>
More information about the Ur
mailing list