Vocabulary parser-combinators.simple Inputs None
Outputs Word description Return a parser that consumes a string enclosed in the '_' character from the input string. This is commonly used in markup languages to indicate italic faced text.
Examples USING: parser-combinators parser-combinators.simple prettyprint ;
"_foo_" italic-parser parse-1 ."foo"
USING: kernel parser-combinators parser-combinators.simple prettyprint sequences ;
"_foo_" italic-parser [ "<emphasis>" "</emphasis>" surround ] <@ parse-1 ."<emphasis>foo</emphasis>"
See also $see-also ,
digit-parser ,
integer-parser ,
string-parser ,
bold-parser ,
comma-list Definition
This documentation was generated offline from a
load-all
image. If you want, you can also
browse the documentation from within the UI developer tools . See
the Factor website
for more information.
Factor 0.100 x86.64 (2264, heads/master-8b61f72326, Apr 17 2024 04:25:24)