Fifth-generation programming language: Difference between revisions

Content deleted Content added
No edit summary
Eggsyntax (talk | contribs)
Added Ruby to list of languages with Regexp
Line 17:
The [[regexp]] syntax forms a ___domain-specific 5GL. Rather than defining an algorithm, the programmer specifies, by means of specialized syntax, a pattern to match text against (i.e., constraints). The regex pattern is compiled and run against text, returning the token(s) desired by the programmer.
 
Regular expressions exist in Perl, Python, Java, Ruby, .NET, PHP, SED, AWK, C and ECMAScript. The difficulty level and repetitive nature of searching text and returning desired tokens makes regular expressions one of the few ubiquitous examples of a 5GL (___domain-specific though it is).
 
==See also==