Pop-11 is a historical programming language created in 1999.

20Years Old 1,020Users 0Jobs

Example code from Wikipedia:

define RemoveElementsMatching(Element, Source) -> Result;
     lvars Index;
     [[%
     for Index in Source do
         unless Index = Element or Index matches Element then
             Index;
         endunless;
     endfor;
     %]] -> Result;
 enddefine;

 RemoveElementsMatching("the", [[the cat sat on the mat]]) => ;;; outputs [[cat sat on mat]]
 RemoveElementsMatching("the", [[the cat] [sat on] the mat]) => ;;; outputs [[the cat] [sat on] mat]
 RemoveElementsMatching([[= cat]], [[the cat]] is a [[big cat]]) => ;;; outputs [[is a]]
Edit

Last updated February 11th, 2019