You may well be right.
I was kind of hoping for an open source spell checker with the
capabilities - i run both Windows and Linux, and the target is an
embedded app without an os.
The OS you are using to develop the app would be the place to check. I
could whip something up on Linux easier than Windows. I'm sure people in
UNIX programming newsgroups would have some suggestions. Or it might be
better for something like a Perl or Python newsgroup (I'd use Perl, a
library and some cookbook algorithms to spell check the code).
I thought for a bit as to whether or not this would be off topic,
and came to the conclusion that it may well be, but as i am using
C i would need a spell checker that could parse C and understand
C at least to the level to understand that strings are to be
checked and that it should ignore anything else. So that was the
thought process, your right though, the post may have been better
placed in comp.software-eng or some other ng that deals with
tools, not language.
Think multi-tool. Use something like Perl to parse the code then pass the
text to something that can spell check straight text. I would imagine
someone has a parse routine or two you could modify and someone else has
written a library to spell check via Perl.
I like someone else's idea of putting the data into a different file and
then spell checking the file outside of the C environment. I was thinking
more of stuff I work on. Large project developed over many years. The
amount of text in it has grown to a huge amount. Writing a spell checker
to go through the legacy code would be a neat idea. We occassionally spot
a spelling mistake on a dialog or prompt. It would be nice to
systematically find all of them.
Now you got me think about something to do just for the fun of it. 8^)
Won't be in C language though.