Minichan

Topic: Basically

BBW = FAT SWEATY COW started this discussion 13 years ago #31,170

10 PRINT "FUCK OFF"
20 GOTO 10
RUN

FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF
FUCK OFF

BREAK

Anonymous B joined in and replied with this 13 years ago, 3 minutes later[^] [v] #443,255


import java.util.*;


public abstract class BasicEmulator {


public interface Command { void run(); }


private int currentLine = 0;
private SortedMap<Integer, Command> commands = new TreeMap<Integer, Command>();


public Command PRINT(final String value) {
return new Command() {
public void run() { System.out.println(value); }
};
}
public Command GOTO(final int value) {
return new Command() {
public void run() { currentLine = value - 1; }
};
}


public void line(int line, Command command) {
commands.put(line, command);
}


public void execute() {
//lines();
int maxCommand = 0;
try {
maxCommand = commands.lastKey();
catch (Exception e) {}


for (currentLine=0; currentLine <= maxCommand; currentLine++) {
Command command = commands.get(currentLine);
if (command != null) command.run();
}
}


public static void main(String[] args) {
new BasicEmulator() {{
line(10, PRINT("FUCK OFF"));
line(20, GOTO(10));
}}.execute();
}
}

TheSheep !kJ.A4PF7.k joined in and replied with this 13 years ago, 21 minutes later, 25 minutes after the original post[^] [v] #443,256

@previous (B)
EnterpriseQualityFuckOff

Anonymous B replied with this 13 years ago, 30 minutes later, 55 minutes after the original post[^] [v] #443,257

@previous (TheSheep !kJ.A4PF7.k)
Emulators within emulators!

Meta !PARAdoxiHw joined in and replied with this 13 years ago, 35 minutes later, 1 hour after the original post[^] [v] #443,259

1337 H4X0R 5K1LLZ @OP

Falco !a7Q.SWNEJw joined in and replied with this 13 years ago, 5 hours later, 6 hours after the original post[^] [v] #443,283

LOAD “FUCKOFF”,8,1
:

Please familiarise yourself with the rules and markup syntax before posting.