Guest User

Untitled

a guest
Jun 13th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. ( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ )
  2. ( C and C++ style comments for Retro )
  3. ( Once loaded, you can do: )
  4. ( /* comment goes here */ )
  5. ( // comment goes here )
  6. ( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ )
  7.  
  8. with quotes'
  9. chain: comment'
  10. : */ ( - ) "%%" find drop @d->xt do &ok :devector &notfound :devector ;
  11. ;chain
  12.  
  13. : /* ( - ) &comment' .chain [ ] dup &ok :is &notfound :is ;
  14. hide comment'
  15. : // ( "- ) @whitespace whitespace off [ 10 accept ] dip !whitespace ;
  16. without
Add Comment
Please, Sign In to add comment