June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -0,0 +1,22 @@
|
|||
: BEGIN-COLUMN ." <td>" ;
|
||||
: END-COLUMN ." </td>" ;
|
||||
|
||||
: BEGIN-ROW ." <tr>" BEGIN-COLUMN ;
|
||||
: END-ROW END-COLUMN ." </tr>" CR ;
|
||||
|
||||
: CSV2HTML
|
||||
." <table>" CR BEGIN-ROW
|
||||
BEGIN KEY DUP #EOF <> WHILE
|
||||
CASE
|
||||
10 OF END-ROW BEGIN-ROW ENDOF
|
||||
[CHAR] , OF END-COLUMN BEGIN-COLUMN ENDOF
|
||||
[CHAR] < OF ." <" ENDOF
|
||||
[CHAR] > OF ." >" ENDOF
|
||||
[CHAR] & OF ." &" ENDOF
|
||||
DUP EMIT
|
||||
ENDCASE
|
||||
REPEAT
|
||||
END-ROW ." </table>" CR
|
||||
;
|
||||
|
||||
CSV2HTML BYE
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
<table>
|
||||
<tr><td>Character</td><td>Speech</td></tr>
|
||||
<tr><td>The multitude</td><td>The messiah! Show us the messiah!</td></tr>
|
||||
<tr><td>Brians mother</td><td><angry>Now you listen here! He's not the messiah; he's a very naughty boy! Now go away!</angry></td></tr>
|
||||
<tr><td>The multitude</td><td>Who are you?</td></tr>
|
||||
<tr><td>Brians mother</td><td>I'm his mother; that's who!</td></tr>
|
||||
<tr><td>The multitude</td><td>Behold his mother! Behold his mother!</td></tr>
|
||||
</table>
|
||||
Loading…
Add table
Add a link
Reference in a new issue