link = location text alt-text title-text + link ->
  .tpl[
        <a target=_blank href="</ link : string />" 
           alt="</ alt-text : string />" title="</ link-title : string />"
        ></ text : string /></a>
      ]
      <
        link : location
        text : text
        alt-text : a-txt
        link-title : t-txt
      >
      (
        str -> link = str
      )
  ' a-txt = remove-quotes alt-text,
    t-txt = remove-quotes title-text
;

link :: _, _, _, ''
link :: _, _, '', ''