4 ms·
Marginally related... has anyone ever ported the "typo" program to modern C?
by MarkusWandel 2y ago
Marginally related... has anyone ever ported the "typo" program to modern C?
- o11c 2y agoFor reference, https://github.com/robpike/typo/blob/master/unix/typo.c https://github.com/robpike/typo/blob/master/unix/typo.c
- MikeTheGreat 2y agoAlso for reference, for those who aren't familiar with typo and don't want to read the C source code listed above (side-comment: citing the comment-free source code 'for reference' is hilarious. Thank you for the laugh :) ) https://github.com/robpike/typo/blob/master/typo.png https://github.com/robpike/typo/blob/master/typo.png
- yencabulator 2y agoHow about Go? I think that counts as "modern C" ;-) This is pretty much the real thing: https://github.com/robpike/typo https://github.com/robpike/typo (If you're crabby about it, this is similar: https://github.com/crate-ci/typos/ https://github.com/crate-ci/typos/)