← Back to context Comment by MarkusWandel 1 year ago Marginally related... has anyone ever ported the "typo" program to modern C? 3 comments MarkusWandel Reply yencabulator 1 year ago 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/) o11c 1 year ago For reference, https://github.com/robpike/typo/blob/master/unix/typo.c MikeTheGreat 1 year ago 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
yencabulator 1 year ago 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/)
o11c 1 year ago For reference, https://github.com/robpike/typo/blob/master/unix/typo.c MikeTheGreat 1 year ago 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
MikeTheGreat 1 year ago 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
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/)
For reference, https://github.com/robpike/typo/blob/master/unix/typo.c
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