3 ms·
This is a neat project! I might take a look at this if/when I get started on my dream language. :p One constructive criticism, which may be only an unpopular o
by weberc2 9y ago
This is a neat project! I might take a look at this if/when I get started on my dream language. :p
One constructive criticism, which may be only an unpopular opinion, but I find creative operator overloading unnecessarily hard to read. And I don't think my opinion is entirely subjective since, by definition, you have to learn new semantics whereas a good function name would make the meaning obvious. Maybe this syntax would be familiar to people who are already familiar with formal grammar notations?
- dragostis 9y agoI agree with your point. I tried my best not to sway too far off of some of syntax I've seen in other PEG projects, while also keeping it compatible with Rust's standard macros. While pest does have this constraint any longer with the new beta, changing the grammar too much would have been a nuisance for anyone who had grammars written in the older versions.
- weberc2 9y agoUnderstood. Thanks for taking the time to explain!