Compile `attrs` to a JavaScript string that evaluates to the attributes in the desired format.
`options` MUST include the following properties:
-`terse`: whether or not to use HTML5-style terse boolean attributes
-`runtime`: callback that takes a runtime function name and returns the source code that will evaluate to that function at runtime
-`format`: output format; must be `html` or `object`
`attrs` is an array of attributes, with each attribute having the form of `{ name, val, mustEscape }`. `val` represents a JavaScript string that evaluates to the value of the attribute, either statically or dynamically.