Skip to content

Instantly share code, notes, and snippets.

@darkf
Created February 29, 2012 01:02
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save darkf/1936681 to your computer and use it in GitHub Desktop.
Web DSL for Possum, WIP
html
body {
p "hi there"
h1 ":)"
}
(* Web DSL *)
(* helper functions *)
defun make-sym tag is
defun f x is
print concat concat "<" tag ">"
print x
print concat concat "</" tag ">"
end
set-global-symbol tag ref f
end
make-sym "h1"
h1 "test"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment