« earlier | later » Page 1 of 3
picol, a Tcl interpreter in 550 lines of C code
As it says. Nothing fancy, but this is a nice example of a small language.
to cmp409 compiler interpreter parsing tcl ... on 06 January 2018
Understanding and Writing Compilers
Richard Bornat's 1979 book on writing compilers. Substantially more accessible than the dragon book. The examples are mostly in BCPL, which (as usual) I'm dead impressed with; for a typeless language it's very clean and clearly suited to the purpose.
to bcpl compiler etext parsing retrocomputing syntax ... on 26 January 2016
Ian Bicking: a blog :: lxml: an underappreciated web scraping library
Useful overview of lxml, which is the module I really ought to use for random XML/HTML parsing.
SNOBOL4.ORG: SNOBOL4 Resources
SNOBOL is interesting in that it's a dynamically-typed language with (what these days we'd call) a combinator parser built in -- although it's not a structured language. Free implementations exist.
to language-design parsing programming snobol software ... on 27 October 2009
Some interesting parser/compiler stuff for Haskell.
to compiler grammar haskell parsing research ... on 06 June 2009
LEPL - A Parser Library for Python 3 (and 2.6) — LEPL v2.0.2 documentation
Parsec for Python, basically.
polyparse: alternative parser combinator libraries
... which appear to be like Parsec, but with a cut operator rather than a try operator. Worth looking at.
to compilation haskell parsing research ... on 24 June 2008
Building parser combinators in an OO language (in this case, Smalltalk).
Niklaus Wirth, "Compiler Construction"
Wirth's book on writing single-pass compilers. Not ground-breaking, but it's a good introduction to the subject.
« earlier | later » Page 1 of 3
tasty by Adam Sampson.