Execute CopyPasta Language: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (start as draft) |
m (Disguised profanity (see Talk page).) |
||
Line 9: | Line 9: | ||
| style="text-align:center"| <code>Copy</code> || Copy the text of the following line to the clipboard |
| style="text-align:center"| <code>Copy</code> || Copy the text of the following line to the clipboard |
||
|- |
|- |
||
| style="text-align:center"| <code>CopyFile</code> || Copy the text of the file cited in the following line to the clipboard or in the case where the next line is |
| style="text-align:center"| <code>CopyFile</code> || Copy the text of the file cited in the following line to the clipboard or in the case where the next line is TheF*ckingCode copies the code to the clipboard |
||
|- |
|- |
||
| style="text-align:center"| <code>Duplicate</code> || Duplicate the text in the clipboard as many times as the following line specifies |
| style="text-align:center"| <code>Duplicate</code> || Duplicate the text in the clipboard as many times as the following line specifies |
Revision as of 14:19, 25 September 2019
Execute CopyPasta Language is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.
- Task
Implement a CopyPasta Language interpreter or compiler. These are the commands used by CopyPasta Language:
Command | Description |
---|---|
Copy |
Copy the text of the following line to the clipboard |
CopyFile |
Copy the text of the file cited in the following line to the clipboard or in the case where the next line is TheF*ckingCode copies the code to the clipboard |
Duplicate |
Duplicate the text in the clipboard as many times as the following line specifies |
Pasta! |
Display the clipboard and stop the program |