view tests/blog.ur @ 970:8371d12ae63f

Hopefully complete refactoring of Jscomp to output ASTs; partial implementation of interpreter in runtime system (demo/alert works)
author Adam Chlipala <adamc@hcoop.net>
date Tue, 22 Sep 2009 12:23:21 -0400
parents 787d4931fb07
children
line wrap: on
line source
fun main wrap =
    let
        fun edit id =
            let
                val r = 0
                fun save () = <xml/>
            in
                wrap (save ())
            end
    in
        edit 0
    end

fun wrap (inside : xbody) = return <xml/>

val main () = main wrap