www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

e56b09d1a37d8830bd93ce152f045f46.asy (490B)


      1 import drawtree;
      2 
      3 
      4 size(4cm, 0);
      5 
      6 
      7 TreeNode root = makeNode("let");
      8 
      9 
     10 TreeNode bindings = makeNode(root, "bindings");
     11 
     12 
     13 TreeNode binding = makeNode(bindings, "binding");
     14 
     15 
     16 TreeNode bid = makeNode(binding, "id");
     17 
     18 
     19 TreeNode bexpr = makeNode(binding, "expr");
     20 
     21 
     22 TreeNode bindingddd = makeNode(bindings, "\vphantom{bg}\dots");
     23 
     24 
     25 TreeNode body = makeNode(root, "body");
     26 
     27 
     28 TreeNode bodyddd = makeNode(root, "\vphantom{bg}\dots");
     29 
     30 
     31 
     32 
     33 draw(root, (0,0));
     34 
     35 
     36 shipout(scale(2)*currentpicture.fit());