Parse simple expressions
Fixes #388 Builds on top of #390
For what it's worth, I'm including this patch in https://github.com/ampproject/amp-wp/pull/7487 and it is passing all tests in our project.
@oliverklee was this closed as well as other PRs (e.g. #185 and #193) just because the master branch was deleted?
@westonruter Oh no! It indeed was. ;-(
I have now reinstated the legacy master branch and will reopen the PRs in a minute. So sorry for this.
I have now reinstated the legacy
masterbranch and will reopen the PRs in a minute. So sorry for this.
I would prefer we delete the master branch and just change all the PRs to point to main instead.
@sabberworm Oh, I wasn't aware that this was possible in the first place! Will do.
I have now moved all PRs over to main and dropped the master branch again.
I like this. I'd be happy for this to be merged. @oliverklee, @sabberworm WDYT?
On further looking, a class-specific unit test is also needed for the new class (inherited from the terribly misnomered TestCase - Rename That!).
Also, according to the original commit message, this builds on on top of #390. So we should get that in first and then rebase.
#390 is closed now and seems like it's no longer needed. There shouldn't be anything else blocking the merge of this PR :)
Let me know if you have any concerns