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

Add comma support #93

Closed
satouriko opened this issue Dec 18, 2019 · 4 comments
Closed

Add comma support #93

satouriko opened this issue Dec 18, 2019 · 4 comments
Labels
punctuation-marks 。「」『』、,“”

Comments

@satouriko
Copy link

目前文言只支持句号这一种标点符号。我觉得可以支持读号作为另一种分隔符,在语法上与句号无异,但使用起来可以使文章更清晰,可读性更强。

吾有一數、曰三、名之曰「甲」。
為是「甲」遍。
	吾有一言、曰「「問天地好在。」」。書之。
云云。
@duskmoon314
Copy link

I think this is a good idea.

In my memory, after Song, people used and and they mean 句读. Usually means a sentence is end in my memory.

Also, , and so on can be taken into discussion.

又诗人以“兮”字入于句限,《楚辞》用之,字出于句外。寻兮字承句,乃语助馀声。舜咏《南风》,用之久矣,而魏武弗好,岂不以无益文义耶!至于“夫惟盖故”者,发端之首唱;“之而于以”者,乃札句之旧体;“乎哉矣也”者,亦送末之常科。据事似闲,在用实切。巧者回运,弥缝文体,将令数句之外,得一字之助矣。外字难谬,况章句欤。
——《文心雕龙》

@LingDong-
Copy link
Member

Thanks a lot for the suggestions from both of you! I think you have a good point.
Will incorporate the mark into the syntax. For and I think it might be better to reserve them for actual functionality rather than no-ops.

@JLChnToZ
Copy link

JLChnToZ commented Dec 18, 2019

I think you should add and too

@LingDong- LingDong- added the punctuation-marks 。「」『』、,“” label Dec 24, 2019
@antfu
Copy link
Member

antfu commented Dec 30, 2019

Fixed in v0.1.2. Closing now. If you got any questions, free feel to reopen it.

@antfu antfu closed this as completed Dec 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
punctuation-marks 。「」『』、,“”
Projects
None yet
Development

No branches or pull requests

5 participants