Data update

This commit is contained in:
Ingy döt Net 2023-12-16 21:33:55 -08:00
parent 35bcdeebf8
commit 74c69a0df6
2427 changed files with 31826 additions and 3468 deletions

View file

@ -1,3 +0,0 @@
public class Animal {
// ...
}

View file

@ -1,3 +0,0 @@
public class Cat extends Animal {
// ...
}

View file

@ -1,3 +0,0 @@
public class Dog extends Animal {
// ...
}

View file

@ -1,3 +0,0 @@
public class Lab extends Dog {
// ...
}

View file

@ -1,3 +0,0 @@
public class Collie extends Dog {
// ...
}

View file

@ -0,0 +1,15 @@
public class Animal {
// ...
}
public class Cat extends Animal {
// ...
}
public class Dog extends Animal {
// ...
}
public class Lab extends Dog {
// ...
}
public class Collie extends Dog {
// ...
}

View file

@ -1,3 +0,0 @@
class Animal{
//functions go here...
}

View file

@ -1,3 +0,0 @@
class Dog extends Animal {
//functions go here...
}

View file

@ -1,3 +0,0 @@
class Cat extends Animal {
//functions go here...
}

View file

@ -1,3 +0,0 @@
class Lab extends Dog {
//functions go here...
}

View file

@ -1,3 +0,0 @@
class Collie extends Dog {
//functions go here...
}

View file

@ -0,0 +1,15 @@
class Animal{
//functions go here...
}
class Dog extends Animal {
//functions go here...
}
class Cat extends Animal {
//functions go here...
}
class Lab extends Dog {
//functions go here...
}
class Collie extends Dog {
//functions go here...
}

View file

@ -1,3 +0,0 @@
public class Drums{
//functions go here...
}

View file

@ -1,3 +0,0 @@
public class LatinKit extends Drums{
//functions go here...
}

View file

@ -1,3 +0,0 @@
public class ElectronicKit extends Drums{
//functions go here...
}

View file

@ -1,3 +0,0 @@
public class Congas extends LatinKit{
//functions go here...
}

View file

@ -1,3 +0,0 @@
public class TechnoDrums extends ElectronicKit{
//functions go here...
}

View file

@ -0,0 +1,15 @@
public class Drums{
//functions go here...
}
public class LatinKit extends Drums{
//functions go here...
}
public class ElectronicKit extends Drums{
//functions go here...
}
public class Congas extends LatinKit{
//functions go here...
}
public class TechnoDrums extends ElectronicKit{
//functions go here...
}

View file

@ -1,3 +0,0 @@
class
ANIMAL
end

View file

@ -1,5 +0,0 @@
class
DOG
inherit
ANIMAL
end

View file

@ -1,5 +0,0 @@
class
CAT
inherit
ANIMAL
end

View file

@ -1,5 +0,0 @@
class
LAB
inherit
DOG
end

View file

@ -1,5 +0,0 @@
class
COLLIE
inherit
DOG
end

View file

@ -0,0 +1,23 @@
class
ANIMAL
end
class
DOG
inherit
ANIMAL
end
class
CAT
inherit
ANIMAL
end
class
LAB
inherit
DOG
end
class
COLLIE
inherit
DOG
end

View file

@ -1,3 +0,0 @@
class Animal{
//contents go here...
}

View file

@ -1,3 +0,0 @@
class Dog extends Animal{
//contents go here...
}

View file

@ -1,3 +0,0 @@
class Cat extends Animal{
//contents go here...
}

View file

@ -1,3 +0,0 @@
class Lab extends Dog{
//contents go here...
}

View file

@ -1,3 +0,0 @@
class Collie extends Dog{
//contents go here...
}

View file

@ -0,0 +1,15 @@
class Animal{
//contents go here...
}
class Dog extends Animal{
//contents go here...
}
class Cat extends Animal{
//contents go here...
}
class Lab extends Dog{
//contents go here...
}
class Collie extends Dog{
//contents go here...
}

View file

@ -1,3 +1,15 @@
class Animal {
// ...
}
class Cat extends Animal {
// ...
}
class Dog extends Animal {
// ...
}
class Lab extends Dog {
// ...
}
class Collie extends Dog {
// ...
}

View file

@ -1,3 +1,14 @@
class Cat extends Animal {
// ...
}
class Animal ()
end
class Dog : Animal ()
end
class Cat : Animal ()
end
class Lab : Dog ()
end
class Collie : Dog ()
end

View file

@ -1,3 +0,0 @@
class Dog extends Animal {
// ...
}

View file

@ -1,3 +0,0 @@
class Lab extends Dog {
// ...
}

View file

@ -1,3 +0,0 @@
class Collie extends Dog {
// ...
}

View file

@ -1,14 +0,0 @@
class Animal ()
end
class Dog : Animal ()
end
class Cat : Animal ()
end
class Lab : Dog ()
end
class Collie : Dog ()
end

View file

@ -1 +1,9 @@
coclass 'Animal'
coclass 'Dog'
coinsert 'Animal'
coclass 'Cat'
coinsert 'Animal'
coclass 'Lab'
coinsert 'Dog'
coclass 'Collie'
coinsert 'Dog'

View file

@ -1,2 +1,4 @@
coclass 'Dog'
coinsert 'Animal'
coinsert_Dog_ 'Animal'
coinsert_Cat_ 'Animal'
coinsert_Lab_ 'Dog'
coinsert_Collie_ 'Dog'

View file

@ -1,2 +0,0 @@
coclass 'Cat'
coinsert 'Animal'

View file

@ -1,2 +0,0 @@
coclass 'Lab'
coinsert 'Dog'

View file

@ -1,2 +0,0 @@
coclass 'Collie'
coinsert 'Dog'

View file

@ -1,4 +0,0 @@
coinsert_Dog_ 'Animal'
coinsert_Cat_ 'Animal'
coinsert_Lab_ 'Dog'
coinsert_Collie_ 'Dog'

View file

@ -1,3 +0,0 @@
public class Animal{
//functions go here...
}

View file

@ -1,3 +0,0 @@
public class Dog extends Animal{
//functions go here...
}

View file

@ -1,3 +0,0 @@
public class Cat extends Animal{
//functions go here...
}

View file

@ -1,3 +0,0 @@
public class Lab extends Dog{
//functions go here...
}

View file

@ -1,3 +0,0 @@
public class Collie extends Dog{
//functions go here...
}

View file

@ -0,0 +1,15 @@
public class Animal{
//functions go here...
}
public class Dog extends Animal{
//functions go here...
}
public class Cat extends Animal{
//functions go here...
}
public class Lab extends Dog{
//functions go here...
}
public class Collie extends Dog{
//functions go here...
}

View file

@ -1,3 +0,0 @@
function Animal() {
// ...
}

View file

@ -1,4 +0,0 @@
function Dog() {
// ...
}
Dog.prototype = new Animal();

View file

@ -1,4 +0,0 @@
function Cat() {
// ...
}
Cat.prototype = new Animal();

View file

@ -1,4 +0,0 @@
function Collie() {
// ...
}
Collie.prototype = new Dog();

View file

@ -1,4 +0,0 @@
function Lab() {
// ...
}
Lab.prototype = new Dog();

View file

@ -1,4 +0,0 @@
Animal.prototype.speak = function() {print("an animal makes a sound")};
var lab = new Lab();
lab.speak(); // shows "an animal makes a sound"

View file

@ -0,0 +1,28 @@
function Animal() {
// ...
}
function Dog() {
// ...
}
Dog.prototype = new Animal();
function Cat() {
// ...
}
Cat.prototype = new Animal();
function Collie() {
// ...
}
Collie.prototype = new Dog();
function Lab() {
// ...
}
Lab.prototype = new Dog();
Animal.prototype.speak = function() {print("an animal makes a sound")};
var lab = new Lab();
lab.speak(); // shows "an animal makes a sound"

View file

@ -1,2 +0,0 @@
-- parent script "Animal"
-- ...

View file

@ -1,7 +0,0 @@
-- parent script "Dog"
property ancestor
on new (me)
me.ancestor = script("Animal").new()
return me
end

View file

@ -1,7 +0,0 @@
-- parent script "Cat"
property ancestor
on new (me)
me.ancestor = script("Animal").new()
return me
end

View file

@ -1,7 +0,0 @@
-- parent script "Lab"
property ancestor
on new (me)
me.ancestor = script("Dog").new()
return me
end

View file

@ -1,7 +0,0 @@
-- parent script "Collie"
property ancestor
on new (me)
me.ancestor = script("Dog").new()
return me
end

View file

@ -0,0 +1,34 @@
-- parent script "Animal"
-- ...
-- parent script "Dog"
property ancestor
on new (me)
me.ancestor = script("Animal").new()
return me
end
-- parent script "Cat"
property ancestor
on new (me)
me.ancestor = script("Animal").new()
return me
end
-- parent script "Lab"
property ancestor
on new (me)
me.ancestor = script("Dog").new()
return me
end
-- parent script "Collie"
property ancestor
on new (me)
me.ancestor = script("Dog").new()
return me
end

View file

@ -1,3 +0,0 @@
Section Header
+ name := ANIMAL;
// ...

View file

@ -1,5 +0,0 @@
Section Header
+ name := CAT;
Section Inherit
- parent : ANIMAL := ANIMAL;
// ...

View file

@ -1,5 +0,0 @@
Section Header
+ name := DOG;
Section Inherit
- parent : ANIMAL := ANIMAL;
// ...

View file

@ -1,5 +0,0 @@
Section Header
+ name := LAB;
Section Inherit
- parent : DOG := DOG;
// ...

View file

@ -1,5 +0,0 @@
Section Header
+ name := COLLIE;
Section Inherit
- parent : DOG := DOG;
// ...

View file

@ -0,0 +1,23 @@
Section Header
+ name := ANIMAL;
// ...
Section Header
+ name := CAT;
Section Inherit
- parent : ANIMAL := ANIMAL;
// ...
Section Header
+ name := DOG;
Section Inherit
- parent : ANIMAL := ANIMAL;
// ...
Section Header
+ name := LAB;
Section Inherit
- parent : DOG := DOG;
// ...
Section Header
+ name := COLLIE;
Section Inherit
- parent : DOG := DOG;
// ...

View file

@ -1,4 +0,0 @@
class animal =
object (self)
(*functions go here...*)
end

View file

@ -1,5 +0,0 @@
class dog =
object (self)
inherit animal
(*functions go here...*)
end

View file

@ -1,5 +0,0 @@
class cat =
object (self)
inherit animal
(*functions go here...*)
end

View file

@ -1,5 +0,0 @@
class lab =
object (self)
inherit dog
(*functions go here...*)
end

View file

@ -1,5 +0,0 @@
class collie =
object (self)
inherit dog
(*functions go here...*)
end

View file

@ -0,0 +1,24 @@
class animal =
object (self)
(*functions go here...*)
end
class dog =
object (self)
inherit animal
(*functions go here...*)
end
class cat =
object (self)
inherit animal
(*functions go here...*)
end
class lab =
object (self)
inherit dog
(*functions go here...*)
end
class collie =
object (self)
inherit dog
(*functions go here...*)
end

View file

@ -1,3 +0,0 @@
package Animal;
#functions go here...
1;

View file

@ -1,5 +0,0 @@
package Dog;
use Animal;
@ISA = qw( Animal );
#functions go here...
1;

View file

@ -1,5 +0,0 @@
package Cat;
use Animal;
@ISA = qw( Animal );
#functions go here...
1;

View file

@ -1,5 +0,0 @@
package Lab;
use Dog;
@ISA = qw( Dog );
#functions go here...
1;

View file

@ -1,5 +0,0 @@
package Collie;
use Dog;
@ISA = qw( Dog );
#functions go here...
1;

View file

@ -1,17 +0,0 @@
use MooseX::Declare;
class Animal {
# methods go here...
}
class Dog extends Animal {
# methods go here...
}
class Cat extends Animal {
# methods go here...
}
class Lab extends Dog {
# methods go here...
}
class Collie extends Dog {
# methods go here...
}

View file

@ -0,0 +1,47 @@
package Animal;
#functions go here...
1;
package Dog;
use Animal;
@ISA = qw( Animal );
#functions go here...
1;
package Cat;
use Animal;
@ISA = qw( Animal );
#functions go here...
1;
package Lab;
use Dog;
@ISA = qw( Dog );
#functions go here...
1;
package Collie;
use Dog;
@ISA = qw( Dog );
#functions go here...
1;
# The same using the [http://search.cpan.org/perldoc?MooseX::Declare MooseX::Declare] module:
use MooseX::Declare;
class Animal {
# methods go here...
}
class Dog extends Animal {
# methods go here...
}
class Cat extends Animal {
# methods go here...
}
class Lab extends Dog {
# methods go here...
}
class Collie extends Dog {
# methods go here...
}

View file

@ -1,14 +1,12 @@
(notonline)-->
<span style="color: #008080;">without</span> <span style="color: #008080;">js</span> <span style="color: #000080;font-style:italic;">-- (class)</span>
<span style="color: #008080;">class</span> <span style="color: #000000;">Animal</span>
<span style="color: #008080;">private</span> <span style="color: #004080;">string</span> <span style="color: #000000;">species</span>
<span style="color: #008080;">end</span> <span style="color: #008080;">class</span>
<span style="color: #008080;">class</span> <span style="color: #000000;">Dog</span> <span style="color: #008080;">extends</span> <span style="color: #000000;">Animal</span>
<span style="color: #008080;">public</span> <span style="color: #008080;">procedure</span> <span style="color: #000000;">bark</span><span style="color: #0000FF;">()</span>
<span style="color: #7060A8;">puts</span><span style="color: #0000FF;">(</span><span style="color: #000000;">1</span><span style="color: #0000FF;">,</span><span style="color: #008000;">"woof\n"</span><span style="color: #0000FF;">)</span>
<span style="color: #008080;">end</span> <span style="color: #008080;">procedure</span>
<span style="color: #008080;">end</span> <span style="color: #008080;">class</span>
<span style="color: #008080;">class</span> <span style="color: #000000;">Lab</span> <span style="color: #008080;">extends</span> <span style="color: #000000;">Dog</span> <span style="color: #008080;">end</span> <span style="color: #008080;">class</span>
<span style="color: #008080;">class</span> <span style="color: #000000;">Collie</span> <span style="color: #008080;">extends</span> <span style="color: #000000;">Dog</span> <span style="color: #008080;">end</span> <span style="color: #008080;">class</span>
<span style="color: #008080;">class</span> <span style="color: #000000;">Cat</span> <span style="color: #008080;">extends</span> <span style="color: #000000;">Animal</span> <span style="color: #008080;">end</span> <span style="color: #008080;">class</span>
<!--
without js -- (class)
class Animal
private string species
end class
class Dog extends Animal
public procedure bark()
puts(1,"woof\n")
end procedure
end class
class Lab extends Dog end class
class Collie extends Dog end class
class Cat extends Animal end class

View file

@ -1 +0,0 @@
animal = ()

View file

@ -1 +0,0 @@
dog = (| parent* = animal |)

View file

@ -1 +0,0 @@
cat = (| parent* = animal |)

View file

@ -1 +0,0 @@
lab = (| parent* = dog |)

View file

@ -1 +0,0 @@
collie = (| parent* = dog |)

View file

@ -0,0 +1,5 @@
animal = ()
dog = (| parent* = animal |)
cat = (| parent* = animal |)
lab = (| parent* = dog |)
collie = (| parent* = dog |)