3 ms·
Lisp and ML represent quite different models of computation. For a register machine, C can be pretty beautiful. It's funny you talk about parsing command line
by vezzy-fnord 11y ago
Lisp and ML represent quite different models of computation.
For a register machine, C can be pretty beautiful.
It's funny you talk about parsing command line options. Plan 9 solved that problem well with the arg(2) macros. [1]
In fact, Plan 9 in general is a premier example of really clean and elegant ANSI C-compatible code. [2]
[1] http://man.cat-v.org/plan_9/2/arg http://man.cat-v.org/plan_9/2/arg
[2] e.g. https://github.com/0intro/plan9/blob/master/sys/src/libndb/ndbhash.c https://github.com/0intro/plan9/blob/master/sys/src/libndb/n...