Fifth-generation programming language: Difference between revisions

Content deleted Content added
Line 15:
 
==Regular Expressions==
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. visual basic
 
Regular expressions exist in Perl, Python, Java, .NET, PHP, sedSED, awkAWK, 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==