Advertisement
beckadam

ripoem

Aug 10th, 2020
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1.  
  2. # ripoem; a poetic language focused on dark humour
  3.  
  4.  
  5. # basic syntax
  6. Each line ends with a comma, period, semicolon, question mark, or exclamation mark.
  7. However, commas are also used to end argument blocks.
  8. Comments are defined as a line following a colon and ending with any valid end character.
  9. Every word in the line must have meaning, unless it is a comment.
  10. All words can be modified using other words.
  11.  
  12.  
  13. # Arguments
  14. Argument words starting with a capital letter are interpreted as a string.
  15. Argument words which have meaning are interpreted as such.
  16. Numbers are represented by either 0-9 or zero to nine, preceeded by `the`.
  17. ex: `the one`
  18. Arguments are seperated by amperstands.
  19.  
  20.  
  21. # Examples
  22.  
  23. - Simple hello world program:
  24. `hello is my Hello World, hello I say!`
  25. - Output:
  26. `Hello World!`
  27.  
  28. - Counter:
  29. `counter is my count; count up my increment; counter I say! perform from second execution.`
  30.  
  31. - Fibbonacci sequence:
  32. `fibber is the one; repn is the one; fibber I say, fibber added repn, repn is last fibber; perform from third execution;`
  33.  
  34. # keywords
  35. Did you really think there would be any here? :P
  36. The only static things in this language are the punctuation symbols.
  37.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement