Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Writing a DSL with Python.
It uses python itself as a DSL to make things like packet forging easy:
>>> Ether()/IP()/TCP()/"GET / HTTP/1.0\r\n\r\n" <Ether type=0x800 |IP frag=0 proto=TCP |<TCP |<Raw load='GET / HTTP/1.0\r\n\r\n' |>>>>
There are no comments on this comment yet.
It uses python itself as a DSL to make things like packet forging easy:
Here the / operator was overloaded to stack layers.