Allow comments within chains in grammar
While working with glicol, I found that it was very useful to structure my chains with one node per line, where I could (theoretically) comment out each line to try things out. However, this is not allowed with the current grammar, as comments can't exist in the middle of chains.
To accommodate for this, I changed the grammar to allow comments in the middle of chains, and added a test to verify that this works. I think that this makes sense as a part of the grammar, but am obviously open to suggestions.
合并状态:已合并 合并于 2024-04-29 关闭于 2024-04-29 0 条评论