A fascinating article by Oleg Kiselyov on delimited continuations:
We demonstrate the conversion of a regular parser to an incremental one in byte-code OCaml.
The converted, incremental parser lets us parse from a stream that is only partially known. The parser may report what it can, asking for more input.
When more input is supplied, the parsing resumes. The converted parser is not only incremental but also undoable and restartable.
If, after ingesting a chunk of input the...
Beyond pure Prolog: Power and danger
One of the sections of Oleg Kiselyov's Prolog and Logic Programming page, on Beyond pure Prolog: power and danger, points out (i) term introspection (in the guise of the var/1 predicate) can...
Devis Lucato's Blog: Select: Inversion of Control
In a recent post to his blog Devis Lucato introduces the "Inversion of Control" design pattern and shares an implementation he's created as an illustration - a Service Locator called Select....
Learning About Dependency Injection and PHP - Ralph...
Over the past few years, there are a few concepts and programming patterns that have muscled their way into the hearts and minds of PHP developers from other languages and programming...
Post new comment