Ala'a (cmo-0)
2008-12-04 08:46:21 UTC
Hi,
i was reading the documentation for cl-who library and i have a
question in the 'syntax and semantics', it said:
"The first form following either the tag's name itself or an attribute
value which is not a keyword determines the beginning of the tag's
content. **This and all the following forms are subject to the
transformation rules we're just describing**." (the stars are added by
me)
my question is: what are the rules which will be applied to the
content? if it is the previous rules regarding constants, tags and
attr/val then shouldn't the content be printed by princ at runtime?
other thing i noticed in the line:
"Forms that look like (esc form1 form*) will be substituted with (let
((result form1)) (when result (write-string (escape-string result
s)))). "
shouldn't the last code snippet be like this:
(let ((result form1)) (when result (write-string (escape-string result) s)))
the last s should be shifted forward one parentheses
regards,
and thanks for the nice library and documentation combined!
Ala'a (cmo-0)
i was reading the documentation for cl-who library and i have a
question in the 'syntax and semantics', it said:
"The first form following either the tag's name itself or an attribute
value which is not a keyword determines the beginning of the tag's
content. **This and all the following forms are subject to the
transformation rules we're just describing**." (the stars are added by
me)
my question is: what are the rules which will be applied to the
content? if it is the previous rules regarding constants, tags and
attr/val then shouldn't the content be printed by princ at runtime?
other thing i noticed in the line:
"Forms that look like (esc form1 form*) will be substituted with (let
((result form1)) (when result (write-string (escape-string result
s)))). "
shouldn't the last code snippet be like this:
(let ((result form1)) (when result (write-string (escape-string result) s)))
the last s should be shifted forward one parentheses
regards,
and thanks for the nice library and documentation combined!
Ala'a (cmo-0)
--
It does not matter how fast your code is, if it does not work!
--
It does not matter how fast your code is, if it does not work!
It does not matter how fast your code is, if it does not work!
--
It does not matter how fast your code is, if it does not work!