|
definition: |
parse :: LangParser
parse po st = let (par, _) = parsen po (lex st) [0] 1
in return (liftPM (\p -> "( captureG 0 (" ++ showRegex p ++ "))")
par)
|
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
The parse function allows the translation of extended regular expression
to normal Curry code.
@param po - The position of the ERE code
@param st - The ERE code
@return A string containg normal curry code with the same semantics as the
original ERE code
|
|
failfree: |
<FAILING> |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_) |-> _}
|
|
name: |
parse |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
CPP.ICode.ParsePos.Pos -> String -> Prelude.IO (CPP.ICode.ParseMonad.PM String) |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |