Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
release 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ylixir committed Mar 10, 2019
1 parent a181440 commit 9b84fb4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ylixir/phap",
"description": "Php Has Another Parser",
"type": "library",
"version": "0.5.0",
"version": "0.6.0",
"license": "LGPL-3.0-or-later",
"authors": [
{
Expand Down
16 changes: 16 additions & 0 deletions docs/_posts/2019-03-09-release-0.6.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
layout: post
---

This release says goodbye to the OOP programming interface. It's been an awkward fit for a combinator library.
It has also proved to be too much work to maintain docs and tests for two interfaces with nothing but aesthetic
benefit.

I have also renamed the `or` and `and` functions to `alternatives` and `sequence` respectively. This should help to retain
the natural language flow found in the OOP interface. It also brings our
vocatulary more in line with other ecosystems.

The `end` function has been reconfigured to not take a parser as input. Use it with `sequence`

I have also added more example code in the `tests/Integration` folder. This includes an example of matching paremtheses (context free grammar)
along with a more elaborate example in the form of a json parser.

0 comments on commit 9b84fb4

Please sign in to comment.