graylex offers a means to do string operations on input streams without slurping all input at once by using Common Lisp Gray Streams, fixed-sized and flexible buffers.

This is especially interesting for lexical analysis ("lexing") where input files can be exuberant, e.g. SQL dumps weighing hundreds of Megabytes.

The package contains a usage example, GRAYLEX-M4-EXAMPLE and the project cl-m4 demonstrates real-world usage.

Categories: lexer, Gray streams, stream

Author: Alexander Kahl

Source repository:

ASDF-install package (obsolete)