Mercurial > urweb
view tests/jsparse.ur @ 1697:cb0f05bdc183
Refactor SQL parsing code from Iflow to Sql, add querydml parser.
author | Edward Z. Yang <ezyang@mit.edu> |
---|---|
date | Mon, 12 Mar 2012 12:00:23 -0700 |
parents | c270fb847dc2 |
children |
line wrap: on
line source
fun main () = s <- source "13"; return <xml><body> <ctextbox source={s}/> <dyn signal={v <- signal s; return (case read v : option int of None => <xml>None</xml> | Some n => <xml>Some {[n]}</xml>)}/> </body></xml>