Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
17
Task/Tokenize-a-string/Plain-English/tokenize-a-string.plain
Normal file
17
Task/Tokenize-a-string/Plain-English/tokenize-a-string.plain
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
To run:
|
||||
Start up.
|
||||
Split "Hello,How,Are,You,Today" into some string things given the comma byte.
|
||||
Join the string things with the period byte giving a string.
|
||||
Destroy the string things.
|
||||
Write the string on the console.
|
||||
Wait for the escape key.
|
||||
Shut down.
|
||||
|
||||
To join some string things with a byte giving a string:
|
||||
Get a string thing from the string things.
|
||||
Loop.
|
||||
If the string thing is nil, exit.
|
||||
Append the string thing's string to the string.
|
||||
If the string thing's next is not nil, append the byte to the string.
|
||||
Put the string thing's next into the string thing.
|
||||
Repeat.
|
||||
Loading…
Add table
Add a link
Reference in a new issue