Good stuff for programming geeks
[ start | index | login or register ]
start > comment-PXSL-1

Comment-PXSL-1 commented PXSL

Created by rmz. Last edited by rmz 1497 days ago. Viewed 738 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
Nice! Whereas this has a kinda python-like syntax, it reminds me of a lisp-like XML shorthand I had used before.

(doc keywords="x y z" (title "my title") (body id="db13" "This is multi- line text. ))

and

(declare type="fn" (ci f) (lambda (bvar (ci "x")) (apply (plus) (apply (power) (ci "x") (cn "2")) (ci "x") (cn "2"))))

Too bad your blogging thing can't put in the line breaks and indentation. Suffice it to say, indent it exactly like lisp. Just 2-characters-per-tag longer than PXSL, but it doesn't depend on the indentation, so you can write stuff like

(table (tr (td "a") (td "b")))

all on one line.

2 comments (by rmz, tmoertel) | post comment
community.moertel.com | Copyright © 2003–07 Moertel Consulting