4 ms·
It is quite possible to redifine much of the syntax with the cpp. Parsing without the cpp is hopeless. My favourite is Bourne's longing for Algol: https://minn
by rightbyte 5y ago
It is quite possible to redifine much of the syntax with the cpp. Parsing without the cpp is hopeless.
My favourite is Bourne's longing for Algol:
https://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/sh/mac.h https://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd...
- pfdietz 5y agoOf course parsing without cpp is, in general, hopeless. But for something like a structure-aware editor you don't need to parse it perfectly, just "good enough". Ditto for a source-to-source transformation system.