Data update

This commit is contained in:
Ingy döt Net 2026-02-01 16:33:20 -08:00
parent 5150844a7d
commit 4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions

View file

@ -1,44 +0,0 @@
interface Vocal {
public function speak():String;
}
interface Gravitational {
public function getWeight():Int;
}
abstract class Dog implements Vocal implements Gravitational {
public function speak():String {
return "Woof";
}
public function new() {}
}
class Chihuahua extends Dog {
public function getWeight():Int {
return 5;
}
}
class GreatDane extends Dog {
public function getWeight():Int {
return 150;
}
}
class Main {
static public function main():Void {
var dogs:Array<Dog> = [];
var david = new Chihuahua();
var goliath = new GreatDane();
dogs.push(david);
dogs.push(goliath);
for (dog in dogs) {
trace(dog.speak());
trace(dog.getWeight());
}
}
}

View file

@ -1,3 +0,0 @@
class abstraction()
abstract method compare(l,r) # generates runerr(700, "method compare()")
end