Skip to content

Commit

Permalink
Prepare for v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
goodmami committed Sep 29, 2021
1 parent 7b9868b commit 8f2bc74
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 14 deletions.
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,28 @@
# Change Log

## [Unreleased][unreleased]
## [v0.3.0][]

**Release date: 2021-09-28**

### Added

* `pe.Match.span()` ([#12])
* `pe.actions.Pair` ([#13])
* `negate` parameter on `pe.operators.Class`
* "Common" optimizations (currently only negated character classes)
via the `pe.COMMON` flag
* `pe.scanners` module for the low-level text scanners

### Changed

* Changed `pe.Match.pos` to `pe.Match.start()` ([#12])
* Changed `pe.Match.end` to `pe.Match.end()` ([#12])
* `-` is no longer an escapable character
* `pe.machine` is now distributed as a compiled extension module

### Fixed

* `pe.machine` is now working again and passing the tests


## [v0.2.0][]
Expand Down Expand Up @@ -61,6 +73,7 @@ descent parser and a work-in-progress state-machine parser.
[unreleased]: ../../tree/develop
[v0.1.0]: ../../releases/tag/v0.1.0
[v0.2.0]: ../../releases/tag/v0.2.0
[v0.3.0]: ../../releases/tag/v0.3.0

[#7]: https://github.com/goodmami/pe/issues/7
[#9]: https://github.com/goodmami/pe/issues/9
Expand Down
23 changes: 11 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# <img src="docs/logo.png" width="60" alt="pe logo" /> Parsing Expressions

[![PyPI Version](https://img.shields.io/pypi/v/pe)](https://pypi.org/project/pe)
![Development Status](https://img.shields.io/pypi/status/pe)
![Python Support](https://img.shields.io/pypi/pyversions/pe)
[![Python Package](https://github.com/goodmami/pe/workflows/Python%20package/badge.svg)](https://github.com/goodmami/pe/actions?query=workflow%3A%22Python+package%22)
<p align="center">
<img src="https://raw.githubusercontent.com/goodmami/pe/main/docs/_static/pe-logo.svg" alt="pe logo">
<br>
<strong>Parsing Expressions</strong>
<br>
<a href="https://pypi.org/project/pe/"><img src="https://img.shields.io/pypi/v/pe.svg" alt="PyPI link"></a>
<img src="https://img.shields.io/pypi/pyversions/pe.svg" alt="Python Support">
<a href="https://github.com/goodmami/pe/actions?query=workflow%3A%22Python+package%22"><img src="https://github.com/goodmami/pe/workflows/Python%20package/badge.svg" alt="tests"></a>
</p>

---

**pe** is a library for parsing expressions, including [parsing
expression grammars] (PEGs). It aims to join the expressive power of
Expand Down Expand Up @@ -31,13 +37,6 @@ example:
* [Example Parsers](examples/)


## Current Status

Please note that **pe** is very new and is currently *alpha*-level
software. The API or behavior may change significantly as things are
finalized.


## Features and Goals

* Grammar notation is backward-compatible with standard PEG with few extensions
Expand Down
12 changes: 12 additions & 0 deletions docs/_static/pe-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pe/_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
Meta-information about pe.
"""

__version__ = '0.2.0'
__version__ = '0.3.0'

# Note: most of this file's contents has moved to setup.cfg

0 comments on commit 8f2bc74

Please sign in to comment.