Starting to like Arc

For general programming, I don’t know if Arc will hold up against python.

But one thing that Arc has the advantage of is that macros almost eliminate the need for special-purpose libraries that implement some DSL such as html templating.

This is a sketch of an html page I’m wanting to write

(html 
    (head
        (title "What's up")
        (script "mystuff.arc")
        (jscript "/javascript/native.js")
        (css "mycss.arc"))
    (body
        (form 
            (text-field 
                (name "what") (label "Remind me to")
                (gray-hint "Pay my phone bill") 
                (hover-hint "This will be the subject of your email"))
            (fuzzy-time-field "time")
            (nice-button "Remember to remind me, go!"))
        (footer "Find the source code on " (link "gitbut" github-url*))
        ))

It’s just a form on a page; nothing really that fancy. Let’s see if I can implement the lower levels of this so that such a code would render the page exactly the way I’d expect it to.