all tasks

This commit is contained in:
Ingy döt Net 2013-04-11 01:07:29 -07:00
parent b83f433714
commit 68f8f3e56b
14735 changed files with 178959 additions and 0 deletions

View file

@ -0,0 +1,2 @@
tbl=: ('&quote;'; '&amp;'; '&lt;'; '&gt;') (a.i.'"&<>')} <"0 a.
esc=: [:; {&tbl@:i.~&a.

View file

@ -0,0 +1,3 @@
cmb=: [:; dyad define &.>
'<Character name="', (esc x), '">', (esc y), '</Character>', LF
)

View file

@ -0,0 +1 @@
xmlify=: '<CharacterRemarks>', LF, cmb, '</CharacterRemarks>'"_

View file

@ -0,0 +1,7 @@
names=: 'April'; 'Tam O''Shanter'; 'Emily'
remarks=: <;._2]0 :0
I'm > Tam and <= Emily
Burns: "When chapman billies leave the street ..."
Short & shrift
)

View file

@ -0,0 +1,6 @@
names xmlify remarks
<CharacterRemarks>
<Character name="April"> I'm &gt; Tam and &lt;= Emily</Character>
<Character name="Tam O'Shanter"> Burns: &quote;When chapman billies leave the street ...&quote;</Character>
<Character name="Emily"> Short &amp; shrift</Character>
</CharacterRemarks>