Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow user to escape brackets with '\' #22

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from
Open

Allow user to escape brackets with '\' #22

wants to merge 2 commits into from

Conversation

lookingfora
Copy link

Brackets are reserved by the syntax tree parser, but some users (such as myself) want to use brackets in node strings (such as to signify that a value is "virtual").

This will ignore brackets preceded with \ when building the tree, then remove backslashes preceding bracket characters before displaying text. Other backslashes will remain unchanged.

@mshang
Copy link
Owner

mshang commented Nov 5, 2015

Seems reasonable, but what do you think about making backslash escape everything and not just brackets, with double backslash being a literal backslash, like how it's done in most programming languages?

@MCMCMC
Copy link

MCMCMC commented Jan 3, 2025

Seems reasonable, but what do you think about making backslash escape everything and not just brackets, with double backslash being a literal backslash, like how it's done in most programming languages?

I love this app! Please add this functionality to the canon branch! I also need it for tense etc. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants