Latest / Learning & reference

brzozowski

github.com · Open source · Quiet

Python sketch of a regex engine built on Brzozowski derivatives

Visit github.com ↗Share

  • formal languages
  • derivatives
  • brzozowski derivatives
  • regex engine python
  • regex internals
  • derivative regex
Stars
86
Forks
3
Open issues
0
Last commit
Found
3 years ago

GitHub figures as of . They are context, not a ranking.

brzozowski is a Python sketch of a regular expression engine based on Brzozowski derivatives, in under 150 lines of code. It is a compact example of how regex matching can be built from derivatives. It suits students of formal languages and anyone curious about regex internals.

Repository description on GitHub: “Brzozowski derivative python sketch”

What it does

  • Regex matcher built on Brzozowski derivatives in under 150 lines
  • Supports concatenation, alternation and Kleene star
  • Command-line use with a regex and a string

Good for

  • Learn how regex matching works with derivatives
  • Match a string against a simple regex from the command line

Suits: Students of formal languages and regex internals.

Worth knowing: The code is educational and not efficient, as its readme states

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw brzozowski on , when c0nstantine posted it to Show HN. GitHub listed no published releases for c0stya/brzozowski when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 103 points, 35 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 103 points, 35 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: c0stya/brzozowski
  2. Found: c0nstantine posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was brzozowski released?
No dated release record is available. Kip found it on Show HN on 7 Mar 2023.
Is brzozowski open source?
Its source is public on GitHub at c0stya/brzozowski; check the repository for licence terms.
What does brzozowski run on?
Command line.
Is brzozowski free?
It is open source, so the code is free to read and run; check the licence for terms.
Is brzozowski still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryc0stya/brzozowski
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-35053328. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Learning & reference

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.