Summary
###########################################################################
File: expander.icn
Subject: Procedures to convert character pattern expressions
Author: Ralph E. Griswold
Date: May 2, 2001
###########################################################################
This file is in the public domain.
###########################################################################
pfl2str(pattern) expands pattern-form expressions, which have the form
[<expr><op><expr>]
to the corresponding string.
The value of <op> determines the operation to be performed.
pfl2gxp(pattern) expands pattern-form expressions into generators
that, when compiled and evaluated, produce the corresponding
string.
pfl2pwl(pattern) converts pattern-form expressions to Painter's
weaving language.
##########################################################################n
Links: strings, weaving
###########################################################################
Procedures:
error, form1, form2, galt, lit, pfl2gxp, pfl2pwl, pfl2str, prepare, pwl2pfl, pwlcvt, spray, str
Links:
strings.icn, weaving.icn
This file is part of the (main) package.
Source code.
error(expr1, expr2)
form1(wexpr, op)
form2(wexpr1, op, wexpr2)
galt(s)
lit(s)
pfl2gxp(pattern, arg)
: pattern form to generating expression
pfl2pwl(pattern)
: pattern form to Painter expression
pfl2str(pattern)
: pattern-form to plain string
prepare(wexpr)
preprocess pwl
pwl2pfl(wexpr)
: Painter expression to pattern form
pwlcvt(wexpr)
spray(inter)
str(s)
This page produced by UniDoc on 2021/04/15 @ 23:59:54.