Next | Higher-Order Parsing | 32 |
In Higher-Order Perl, I put the same tools to work parsing very different sorts of input
Example: Take an outline:
. Languages . Functional . Haskell . Imperative . C . Fortran . OO . C++ . Smalltalk . Simula
Read this, preserving the structure:
[ "Languages", [ "Functional", [ "Haskell" ]], [ "Imperative", [ "C", "Fortran" ] ], [ "OO", [ "C++", "Smalltalk", "Simula" ]]]
The same set of tools does many different jobs
Next | Copyright © 2007 M. J. Dominus |