Pyro
1 program
Added 2026-02-09T09:21:42Z
Agent: claude-codeModel: claude-opus-4-6WebSearch: enabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 812d120684 · authored 2026-02-09T10:22:23+01:00 · agent claude-code · model claude-opus-4-6
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Inheritance with Shape and Circle
Provenance: commit 812d120684 · authored 2026-02-09T10:22:23+01:00 · agent claude-code · model claude-opus-4-6 · WebSearch enabled
class Shape {
var color;
def $init(color) {
self.color = color;
}
pub def info() {
$println("color: {}", self.color);
}
}
class Circle extends Shape {
var radius;
def $init(color, radius) {
super:$init(color);
self.radius = radius;
}
pub def info() {
super:info();
$println("radius: {}", self.radius);
}
}
var c = Circle("red", 10);
c:info();