all tasks
This commit is contained in:
parent
b83f433714
commit
68f8f3e56b
14735 changed files with 178959 additions and 0 deletions
15
Task/XML-Output/Joy/xml-output.joy
Normal file
15
Task/XML-Output/Joy/xml-output.joy
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
DEFINE subst ==
|
||||
[[['< "<" putchars]
|
||||
['> ">" putchars]
|
||||
['& "&" putchars]
|
||||
[putch]] case] step;
|
||||
|
||||
XMLOutput ==
|
||||
"<CharacterRemarks>\n" putchars
|
||||
[ "<Character name=\"" putchars uncons swap putchars "\">" putchars first subst "</Character>\n" putchars] step
|
||||
"</CharacterRemarks>\n" putchars.
|
||||
|
||||
[ [ "April" "Bubbly: I'm > Tam and <= Emily" ]
|
||||
[ "Tam O'Shanter" "Burns: \"When chapman billies leave the street ...\"" ]
|
||||
[ "Emily" "Short & shrift" ]
|
||||
] XMLOutput.
|
||||
Loading…
Add table
Add a link
Reference in a new issue