add verbosefuck.vbfk
added VerboseFuck to the list of languages
This commit is contained in:
160
v/verbosefuck.vbfk
Normal file
160
v/verbosefuck.vbfk
Normal file
@@ -0,0 +1,160 @@
|
||||
~!comment!~VerboseFuck, a BrainFuck derivative focussing on verbosity. see more at <http://esolangs.org/wiki/VerboseFuck>~!uncomment!~
|
||||
program.initialize();
|
||||
math.equation(program.errors.handler.activated = boolean(false));
|
||||
program.console.standardinput.openstream();
|
||||
program.console.standardoutput.openstream();
|
||||
define(defines.variable, variable(pointer));
|
||||
implanttype(pointer, types.pointer(to:types.byte));
|
||||
math.equation(pointer = void(0));
|
||||
program.memory.allocate(pointer, void(math.infinity), program.memory.memorytype.bidirectional);
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
define(defines.label, defines.label.createnew());
|
||||
conditional(block.if, boolean.inequality(deref(pointer), byte(0))) {
|
||||
math.equation(pointer = pointer + void(1));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(pointer = pointer + void(1));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(pointer = pointer + void(1));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(pointer = pointer + void(1));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(pointer = pointer - void(1));
|
||||
math.equation(pointer = pointer - void(1));
|
||||
math.equation(pointer = pointer - void(1));
|
||||
math.equation(pointer = pointer - void(1));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
};
|
||||
conditional(block.if, boolean.inequality(deref(pointer), byte(0))) {
|
||||
program.flow.labeledjump(defines.label.last());
|
||||
};
|
||||
undefine(defines.label, defines.label.last());
|
||||
math.equation(pointer = pointer + void(1));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
math.equation(pointer = pointer + void(1));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
math.equation(pointer = pointer + void(1));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
math.equation(pointer = pointer - void(1));
|
||||
math.equation(pointer = pointer - void(1));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(pointer = pointer + void(1));
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
math.equation(pointer = pointer + void(1));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
math.equation(pointer = pointer + void(1));
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
program.memory.deallocate(pointer, void(math.infinity), program.memory.memorytype.bidirectional);
|
||||
undefine(defines.variable, variable(pointer));
|
||||
program.console.standardoutput.closestream();
|
||||
program.console.standardinput.closestream();
|
||||
program.terminate();
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
Reference in New Issue
Block a user