strings.parser: Add \` aka escaped backtick.

locals-and-roots
Doug Coleman 2016-06-13 12:00:14 -07:00
parent de823c48ea
commit 55bc0cb1b2
2 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@ ERROR: bad-escape char ;
{ char: \( char: \( } { char: \( char: \( }
{ char: \) char: \) } { char: \) char: \) }
{ char: \! char: \! } { char: \! char: \! }
{ char: \` char: \` }
} ?at [ bad-escape ] unless ; } ?at [ bad-escape ] unless ;
symbol: name>char-hook symbol: name>char-hook

View File

@ -4,7 +4,7 @@ USING: fry io io.encodings.utf8 interpolate io.launcher
multiline sequences ; multiline sequences ;
in: backticks in: backticks
SYNTAX: ` SYNTAX: \ `
"`" parse-multiline-string '[ "`" parse-multiline-string '[
_ interpolate>string _ interpolate>string
utf8 [ contents ] with-process-reader utf8 [ contents ] with-process-reader