VeriBasic

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

VeriBasic is a programming language, inspired by Verilog and PHP.

Example

// Connect two positive logic signals to AND-gate to LED Diode via basic wire
<?veribasic
$andGate = new AndGate(VCC,VCC);
$ledDiode = new LEDDiode();
$wir000 = new BasicWire($andGate,$ledDiode);
turnOn();
lookAt($ledDiode);
?>

Outputs true or an image of a red lightning LED diode.