job search

dattaway at attaway.net dattaway at attaway.net
Thu Jul 25 23:07:05 CDT 2002


On Thu, 25 Jul 2002 crash3m at trelane.net wrote:

> which is more importent spelling capitilzasion punctootasion grammer.
> im not sure myself?
> :P

Your question has many answers, depending who you ask. Since RMS created
the famous doctor program and gcc, I thought I'd ask the authority and
compile your question in C and let it generate an answer:

dattaway at attaway dattaway $ gcc question.c 
question.c:1: parse error before `is'

Perl had no complains.  But had no comment either.  I'm not sure if Perl 
was doing something behind my back.

Python was more specific and had something to say about your grammer:

  File "question.py", line 1
    which is more importent spelling capitilzasion punctootasion grammer.
                          ^
SyntaxError: invalid syntax

Let's try answering your question by trying to assemble it in machine 
code:

00001                       00000000>           which is more importent 
spelling capitilzasion punctootasion grammer.
***** opcode expected.................................^
***** illegal label...................................^
00002 0000           F716       0000>           im not sure myself?
***** junk after operands...................................^
***** illegal label.........................................^
00003                                           :P
00001                       00000000>           which is more importent 
spelling capitilzasion punctootasion grammer.
***** illegal label...................................^
***** opcode expected.................................^
00002 0000           F716       0000            im not sure myself?
***** unbound label....................................^
***** junk after operands...................................^
***** illegal label.........................................^
00003                                           :P

00005 errors
00000 warnings

And the bash shell beat it to death:

00001                       00000000>           which is more importent 
spelling capitilzasion punctootasion grammer.
***** opcode expected.................................^
***** illegal label...................................^
00002 0000           F716       0000>           im not sure myself?
***** junk after operands...................................^
***** illegal label.........................................^
00003                                           :P
00001                       00000000>           which is more importent 
spelling capitilzasion punctootasion grammer.
***** illegal label...................................^
***** opcode expected.................................^
00002 0000           F716       0000            im not sure myself?
***** unbound label....................................^
***** junk after operands...................................^
***** illegal label.........................................^
00003                                           :P

00005 errors
00000 warnings

There you go!  Bad grammar and spelling is not an option!




More information about the Kclug mailing list