ylixir / phap

Php Has Another Parser
GNU Lesser General Public License v3.0
4 stars 1 forks source link

reading parsers is awkward #8

Closed ylixir closed 5 years ago

ylixir commented 5 years ago

currently the interface looks like: p::or($thing1, $thing2). it is unnatural to read parsers like: "or thing one thing two".

english reads like "thing one or thing two". our interface should be able to be used like $thing1->or($thing2).

This would be far more literate.

ylixir commented 5 years ago

closed by #17