Fake text message block error

broken image
broken image

pythontest1.py: line 7: syntax error near token `(' The line number referenced misleads the code maintainer /3įor example.Correct wording: 2 for each incorrect words.

broken image

(your point starts with 16, and divide by the corresponding factors for each inaccuracies) The error printed references to the backslashes, which makes a code maintainer will try to count the backslashes. The DATA section encodes the string of error message, and the hash %abcdef is the decode table.

broken image

program on the command line to compile AND run the program, that means, he cannot distinguish if the output comes from the compiler or the program itself.Īlso, assume your code maintainer will turn on syntax error messages.įor reference, here is an example I made: Also, the error must be as exact as possible, and should reference to the code correctly.įor complied languages, assume your code maintainer will do compile program.p &.

broken image

The error message should be misleading so that code maintainers will take days to find out that the error was faked, that means, you should obfuscate (and hide your intention). Write a program that prints out the syntax error message of the compiler or interpreter.