Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,3 +1,5 @@
|
|||
/// a program to produce a visual representation of some tree.
|
||||
|
||||
import system'routines;
|
||||
import extensions;
|
||||
|
||||
|
|
@ -17,7 +19,7 @@ class Node
|
|||
<= new(value, new Node[](0));
|
||||
|
||||
constructor new(Node[] children)
|
||||
<= new(emptyString, children);
|
||||
<= new(EmptyString, children);
|
||||
|
||||
get() = theValue;
|
||||
|
||||
|
|
@ -48,7 +50,7 @@ extension treeOp
|
|||
= self.writeTree(node,"");
|
||||
}
|
||||
|
||||
public program()
|
||||
public Program()
|
||||
{
|
||||
var tree := Node.new(
|
||||
new Node[]{
|
||||
|
|
@ -60,5 +62,5 @@ public program()
|
|||
Node.new("e")
|
||||
});
|
||||
|
||||
console.writeTree(tree).readChar()
|
||||
Console.writeTree(tree).readChar()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue