RSSAmplifier

Ryan Chandler · Jun 7, 2023

Write a lexer in PHP with Lexical

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

I recently released a new PHP package called "Lexical". It provides a set of attributes and objects to build regular expression based lexers in PHP. If you want to skip the blog post and go straight to the package, the repository is public on GitHub . As somebody who enjoys experimenting with parsers and text processing, writing lexers has become a somewhat regular task for me. The first step in…

Read on ryangjchandler.co.uk

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.