-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Escape quote (「」) in string #84
Comments
If quote notations |
how about using something like |
草 |
@shyoshyo I like your solution! Or perhaps we can wrap String.fromCharCode to do the trick. |
Is 「二」not better than「兩」? |
Before there is a escape syntax, you can do like this:
|
In a lot of programming language, we can use backslash to prevent interpreter from interpreting a quote (
"
,'
) as the end of string.I think that
wenyan-lang
also need feature like thisFor example, if I want to print
問「天地」好在。
, maybe we can use syntax like this吾有一言。曰「「問\「天地\」好在。」」。書之。
But put backslash straightly seems doesn't fit with the wenyan philosophy :/
The text was updated successfully, but these errors were encountered: