Hacker News new | ask | show | jobs
by MarkusWandel 517 days ago
Marginally related... has anyone ever ported the "typo" program to modern C?
2 comments

How about Go? I think that counts as "modern C" ;-)

This is pretty much the real thing: https://github.com/robpike/typo

(If you're crabby about it, this is similar: https://github.com/crate-ci/typos/)

Also 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