Writing a simple lexer in PHP Writing a simple lexer in PHP / tutorial / free


This tutorial shows you how to write a lexer in PHP. It starts with a theoretical explanation of DSLs and how a lexer should work. Then it moves on to an actual explanation on how to implement a regex-based lexer in PHP.
1 favorite
submitted almost 6 years ago, by daschl
Writing a simple lexer in PHP popular tutorial


Login or to comment.

Tutorials are any resources you learn from.

Examples: an intro to html5 screencast, a pdf about git, photoshop effects tutorials, meta-programming in ruby, lambda calculus, higher-order fixed-point combinators.

Tools are websites, apps or services used -on- your project (indirectly), to aid the process.

Examples: A color scheme generator, email marketing software, usability heat maps, css3 code generators, a downloadable png compressor.

Assets are downloadable files used -in- your projects, usually as code, textures, or images.

Examples: a jquery sticky menu, photoshop brushes, background textures, mvc frameworks, twitter bootstrap, 960 grid system.