This is an overview of the most horrible Stratego code that has been written. Feel free to add your own code! ;)
Tuples and Concrete Object Syntax
If you don't want anyone to understand your code:
- don't use whitespace,
- use tuples, preferable in combination with Snd and Fst,
- switch from quotation to anti-quotation as much as possible
![ %>[ <%, <[ !%><a href=<% Snd %>><% Fst %></a><% | map(!%>| <a href=<% Snd %>><% Fst %></a><%) ]> ,%> ]<% ]
(author:
RobVermaas)
Combining Term wrap and Term project
To transform a java method term to a string using term wraps and term projections:
<?Id(<!String([Chars(<id>)])>)>fname
(author:
ReneDeGroot)
Revision: r1.2 - 28 Apr 2005 - 22:24 - Main.wiki