LorenDB
  • Member for 1 year, 11 months
  • Last seen this week
1, 2, miss a few, 99, 100
4 votes

Barrel, 31 34 bytes +n, +n, 'miss a few, '#44+#45+n, +n This is my own esolang, follow the link for more info. Increments the accumulator, prints it, implicitly prints some strings (, and miss a few, ...

View answer
Panic! at the Golf Club
3 votes

This isn't the shortest by any means, but here it is: C++ (g++), 14 bytes main(){throw;}

View answer
Can you give me half? (No digits)
2 votes

Barrel, 2 bytes ½ Evaluates to, and prints, 0.5. Not necessarily terribly imaginative, but probably one of the best solutions to this problem in Barrel.

View answer
Print a 10 by 10 grid of asterisks
2 votes

Barrel, 14 13 bytes ^42#10(#10p¶ Explanation: ^42 // push 42 to the accumulator #10 // do 10 times... ( // defines a code block which becomes a single instruction ...

View answer
Fibonacci function or sequence
2 votes

Barrel, 26 bytes Disclaimer: The language is newer than the question, but I didn't even think of golfing this until after I'd created the language. I did update the language after I originally wrote ...

View answer
Sing Happy Birthday to your favourite programming language
1 votes

Barrel, 112 bytes All this jumping eats up the bytes, I'm afraid. →1→2→3→1→2→3→1→4→3→1→2'!'!¤'Happy birthday'↑¤' to you'↑¤','¶↑¤', dear Barrel'↑ Basically, it defines a bunch of functions whose ...

View answer
Print 0 to 100 without 1-9 characters
1 votes

Barrel, 9 bytes #d(n+¶)n Explanation: # // as many times as... d // ...the ASCII value of 'd' (100)... ( ) // Create a single of instruction for the loop n // print the ...

View answer
Scream very loudly
1 votes

Barrel, 9 bytes (or 8 with newer instruction) ^A¤p←1 Explanation: ^A // Sets the accumulator to the ASCII codepoint of 'A'. ¤ ←1 // Creates a jump target and jumps back to it. p // Prints ...

View answer
Create a program that prints the number of characters it has, in words
0 votes

Barrel, 4 bytes four Implicitly prints the unknown instructions "four". However, this could potentially be voided by later modifications, so here's a safe 5-byter that uses a string: 'five

View answer
Implement a Truth-Machine
0 votes

Barrel, 10 bytes This makes use of the fact that the input will be only 0 or 1: λn?a:#∞n Explanation: λ // input into the accumulator n // print the accumulator ? : // if-else ...

View answer
Lolololololololololololol
0 votes

Barrel, 8 bytes L#∞(ol Implicitly prints L, then infinitely loops over implicitly printing ol. The parenthesis makes o and l into one statement, since a loop can only execute one statement. (In ...

View answer
Shortest code to produce non-deterministic output
0 votes

Barrel, 2 bytes |n Gets a random integer with | and prints it as a number with n.

View answer