The Blog

PHP

PHP

Implementing a Customer Domain Specific Language Parser in PHP

John Koster
John Koster
February 15, 2021

Implementing a custom domain specific language parser in PHP, from scratch. Our language parser will parse a custom query filter language.

PHP

Xdebug and var_dump

John Koster
John Koster
July 13, 2015

If you are using Xdebug with PHP and are using the var_dump function it is important to note that Xdebug will limit var_dump 's depth when dumping information ...

PHP

PHP Slow Response Times

John Koster
John Koster
February 1, 2015

Microsoft .NET Framework Download Locations

PHP

Lambdas And Closures

John Koster
John Koster
June 25, 2014

Some intermediate to veteran developers will recognize the anonymous function, or lambda function (a function without a name) that we are passing to the get ...

PHP

Passing Data to PHP Anonymous Functions

John Koster
John Koster
October 29, 2013

PHP version 5.3 introduced a new feature called anonymous functions, or lambda functions. They allow for greater flexibility and offer a clean, expressive ...

Latest posts

Where Things get Good: Moving on to Forte Development Phase 1

Wrapping up Forte Phase 0 with the lexer and parser now in private alpha, and kicking off Phase 1 wi...

Read more
Forte Update: Backtracking, Metadata, HTML Validation, and More

A Forte development update: the parser now supports backtracking, improvements to node metadata, ide...

Read more
Parsing HTML and Blade Attributes in Forte

Wrapping up attribute parsing in Forte's HTML parser, from simple HTML attributes to complex, edge-c...

Read more
Switch Statements and Parser Extensions in Forte

Exploring how Forte's parser extensions can be used to handle complex Blade directives like nested s...

Read more
Parsing Blade Comments in Forte

Digging into parsing Blade and HTML comments while building Forte's HTML parser for Laravel Blade.

Read more
Thoughts on HTML Elements and Blade Components in Forte

This week I’m tackling Forte's HTML parser - consolidating Blade, Flux, and Livewire components into...

Read more