Pop-11 is a programming language created in 1999.
#1961on PLDB | 25Years Old |
POP-11 is a reflective, incrementally compiled programming language with many of the features of an interpreted language. It is the core language of the Poplog programming environment developed originally by the University of Sussex, and recently in the School of Computer Science at the University of Birmingham which hosts the Poplog website. POP-11 is an evolution of the language POP-2, developed in Edinburgh University and features an open stack model (like Forth, among others). Read more on 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]]
Feature | Supported | Example | Token |
---|---|---|---|
Multiple Inheritance | ✓ |