issues
search
mdaines
/
grammophone
A tool for analyzing and transforming context-free grammars.
https://mdaines.github.io/grammophone
MIT License
206
stars
24
forks
source link
Improve parsing and display of escapes and nonprinting characters
#48
Closed
mdaines
closed
9 months ago
mdaines
commented
9 months ago
Addresses #46 and #47.
Escapes in symbols are interpreted when parsing. For example,
"\\"
will be interpreted as a single backslash.
Nonprinting characters such as spaces and control characters are displayed with a different style.
The space placeholder is now ␣ "OPEN BOX".
Nonprinting characters that are usually escaped with a C-style escape are displayed in that form. For example,
\n
.
Addresses #46 and #47.
"\\"
will be interpreted as a single backslash.\n
.