Data update

This commit is contained in:
Ingy döt Net 2024-10-16 18:07:41 -07:00
parent 81fd053722
commit 52a6ef48dd
10248 changed files with 63654 additions and 6775 deletions

View file

@ -50,8 +50,6 @@ OP TOHTML = ( REF NODE tree )STRING:
THEN
# the node has branches #
REF NODE child := child OF tree;
INT child number := 1;
INT mid child = ( child count + 1 ) OVER 2;
child := child OF tree;
result +:= tr + nl;
WHILE child ISNT nil node
@ -78,7 +76,7 @@ OP +:= = ( REF NODE n, REF NODE sibling node )REF NODE:
DO
sibling := sibling OF sibling
OD;
sibling OF sibling := sibling node
sibling OF sibling := sibling node # will get a potential scope violation warning #
END # +:= # ;
# appends a new sibling node to the node n, returns the sibling #
OP +:= = ( REF NODE n, STRING sibling value )REF NODE: n +:= new node( sibling value );