Quantcast
Channel: Make a slow error quine maker! - Code Golf Stack Exchange
Browsing latest articles
Browse All 14 View Live

Answer by bigyihsuan for Make a slow error quine maker!

Go, 4 errorsLevel 1package mainfunc main() {println(a)}Attempt This Online!Level 2# command-line-arguments../code.go:3:9: undefined: aAttempt This Online!Level 3../code.go:1:1: illegal character U+0023...

View Article



Answer by Infigon for Make a slow error quine maker!

JavaScript (Google Chrome): 6 levelsInteresting how no one realized that eval would work! I started out with this strange script: throw "=eval('throw 1')"The trick was to set the variable Uncaught...

View Article

Answer by oeuf for Make a slow error quine maker!

K (ngn/k), 4f:{Error 1:'parse f:{ ^Error 2:'parse ^ ^Error 3:'value'parse ^Error 4:'value'value ^Which for some reason repeats itself.{ also works with the same amount of attempts needed.

View Article

Answer by pacman256 for Make a slow error quine maker!

Vyxal 3Initial programgError 1Traceback (most recent call last): File "/home/Vyxal/mysite/vyxal/main.py", line 195, in execute_vyxal exec(code, locals() | globals()) File "<string>", line 1, in...

View Article

Answer by elipszilon for Make a slow error quine maker!

JS in Firefox 66.0; 3 error levelsInput: 6?4;Error #1 = Input #2: missing : in conditional expressionError #2 = Input #3: expected expression, got keyword 'in'Error #3 = Input #4 = Error #4: unexpected...

View Article


Answer by mbomb007 for Make a slow error quine maker!

Java, 5These are very long... so I verified string equality using a Python script, and I generated this formatted post, so I wouldn't have to manually insert tabs on 400 lines.Initial Programclass Main...

View Article

Answer by mbomb007 for Make a slow error quine maker!

Ruby, 5Initial Programq1undefined local variable or method `q' for #<Context:0x00000001045d70>(repl):1:in `initialize'2(repl):2: syntax error, unexpected tIDENTIFIER, expecting...

View Article

Image may be NSFW.
Clik here to view.

Answer by Ismael Miguel for Make a slow error quine maker!

Javascript, 3 error levelsThis isn't that 'cleaver' or anything, but I found it rather weird...Error 0 (original):document.appendChild(HTMLAllCollection)Error 1:HierarchyRequestErrorError...

View Article


Answer by DLosc for Make a slow error quine maker!

Pip 0.15.05.29, over 10100,000Technically not valid because it requires the -w flag for warning output. That being said, Pip by design doesn't display any runtime errors unless they actually crash the...

View Article


Answer by jimmy23013 for Make a slow error quine maker!

Bash, 9223372036854775810Inspired by Doorknob's answer.a='"2>/dev/null;if(((i=$((i-1)))>0));then $(declare -p a);$a;else 1;fi #"'i=2**63eval $aIt should be run with bash < file.sh, or use the...

View Article

Answer by Doorknob for Make a slow error quine maker!

Bash, 3cpVery rudimentary shell script to test it:llama@llama:~$ s=$(bash -c 'cp' 2>&1); olds=asdf; while [ "$s" != "$olds" ]; do echo $s; echo '-----'; olds=$s; s=$(bash -c $s 2>&1);...

View Article

Answer by Alex A. for Make a slow error quine maker!

R, 5Initial program:1i*"5"Error 1:Error in (0+1i) * "5" : non-numeric argument to binary operatorError 2:Error: unexpected 'in' in "Error in"Error 3:Error: unexpected string constant in "Error...

View Article

Answer by Alex A. for Make a slow error quine maker!

Julia, 3A simple one just to get the ball rolling...Initial program:inquisitionError 1:inquisition not definedIt may not be defined, but if it's Spanish, it's also unexpected. Nobody expects the...

View Article


Make a slow error quine maker!

As part of his answer to Make an Error Quine!, @Falko proposed the following algorithm:How to create your own solution in 2 minutes?Open a new file in an IDE of your choice.Bang your head onto the...

View Article
Browsing latest articles
Browse All 14 View Live




Latest Images