Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 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