Skip to content

Commit

Permalink
Update documentation.
Browse files Browse the repository at this point in the history
Merge branch 'functions'
  • Loading branch information
billbudge committed Feb 15, 2025
2 parents decc289 + 24145db commit 9f2d451
Show file tree
Hide file tree
Showing 20 changed files with 513 additions and 585 deletions.
154 changes: 87 additions & 67 deletions examples/functioncharts/README.md

Large diffs are not rendered by default.

182 changes: 99 additions & 83 deletions examples/functioncharts/files/binary_search.txt

Large diffs are not rendered by default.

255 changes: 0 additions & 255 deletions examples/functioncharts/files/do_while2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -207,261 +207,6 @@
"dstPin": 1
}
]
},
{
"type": "functionchart",
"id": 17,
"typeString": "[,[v,v](n!)]",
"x": 338.1144485473633,
"y": 496.52832794189453,
"width": 512.6249647140503,
"height": 200.98238372802734,
"name": "n!",
"implicit": false,
"hideLinks": false,
"nodes": [
{
"type": "output",
"id": 18,
"typeString": "[v,]",
"x": 480.6249647140503,
"y": 51.12501525878906
},
{
"type": "element",
"id": 19,
"typeString": "[,v(2)]",
"x": 273.1846294403076,
"y": 50.18042469024658,
"name": "literal",
"hideLinks": false
},
{
"type": "input",
"id": 20,
"typeString": "[,v]",
"x": 273.88637828826904,
"y": 25.180389404296875
},
{
"type": "functionchart",
"id": 21,
"typeString": "[,[v(i),v]]",
"x": 98.81742095947266,
"y": 77.43900299072266,
"width": 186.9289426803589,
"height": 107.54338073730469,
"name": "",
"implicit": false,
"hideLinks": false,
"nodes": [
{
"type": "input",
"id": 22,
"typeString": "[,v(i)]",
"x": 8,
"y": 20.879284858703613
},
{
"type": "instance",
"id": 23,
"typeString": "[v,v](-1)",
"x": 61.92830181121826,
"y": 5.8870849609375,
"instancer": 31,
"srcPin": 0
},
{
"type": "use",
"id": 24,
"typeString": "[v{3},v]",
"x": 122.32667541503906,
"y": 42.36363697052002
},
{
"type": "output",
"id": 25,
"typeString": "[v,]",
"x": 154.9289426803589,
"y": 42.43963623046875
},
{
"type": "instance",
"id": 26,
"typeString": "[v,v]",
"x": 86.89274883270264,
"y": 75.54338073730469,
"instancer": 29,
"srcPin": 1
},
{
"type": "element",
"id": 27,
"typeString": "[vv,v](+)",
"x": 45.435340881347656,
"y": 40.77778339385986,
"name": "binop",
"hideLinks": false
}
],
"wires": [
{
"type": "wire",
"src": 24,
"srcPin": 0,
"dst": 25,
"dstPin": 0
},
{
"type": "wire",
"src": 23,
"srcPin": 0,
"dst": 24,
"dstPin": 0
},
{
"type": "wire",
"src": 22,
"srcPin": 0,
"dst": 23,
"dstPin": 0
},
{
"type": "wire",
"src": 22,
"srcPin": 0,
"dst": 27,
"dstPin": 0
},
{
"type": "wire",
"src": 26,
"srcPin": 0,
"dst": 24,
"dstPin": 1
},
{
"type": "wire",
"src": 27,
"srcPin": 0,
"dst": 26,
"dstPin": 0
}
]
},
{
"type": "instance",
"id": 28,
"typeString": "[v(start)v(end)[v,v]()(body),v(p)](for [start,end]-)",
"x": 323.56887340545654,
"y": 36.16047668457031,
"instancer": 10,
"srcPin": 0
},
{
"type": "element",
"id": 29,
"typeString": "[v,v[v,v]](let)",
"x": 50.75420379638672,
"y": 128.02854251861572,
"name": "let",
"hideLinks": false
},
{
"type": "element",
"id": 30,
"typeString": "[,v(1)]",
"x": 5.166900634765625,
"y": 142.3359727859497,
"name": "literal",
"hideLinks": false
}
],
"wires": [
{
"type": "wire",
"src": 20,
"srcPin": 0,
"dst": 28,
"dstPin": 0
},
{
"type": "wire",
"src": 28,
"srcPin": 0,
"dst": 18,
"dstPin": 0
},
{
"type": "wire",
"src": 21,
"srcPin": 0,
"dst": 28,
"dstPin": 2
},
{
"type": "wire",
"src": 19,
"srcPin": 0,
"dst": 28,
"dstPin": 1
},
{
"type": "wire",
"src": 29,
"srcPin": 0,
"dst": 27,
"dstPin": 1
},
{
"type": "wire",
"src": 30,
"srcPin": 0,
"dst": 29,
"dstPin": 0
}
]
},
{
"type": "functionchart",
"id": 31,
"typeString": "[,[v,v](-1)]",
"x": 352.0489845275879,
"y": 402.61147022247314,
"width": 109.3913459777832,
"height": 67.28055191040039,
"name": "-1",
"implicit": true,
"hideLinks": true,
"nodes": [
{
"type": "element",
"id": 32,
"typeString": "[,v(1)]",
"x": 8,
"y": 33.28055191040039,
"name": "literal",
"hideLinks": false
},
{
"type": "element",
"id": 33,
"typeString": "[vv,v](-)",
"x": 51.90553665161133,
"y": 8,
"name": "binop",
"hideLinks": false
}
],
"wires": [
{
"type": "wire",
"src": 32,
"srcPin": 0,
"dst": 33,
"dstPin": 1
}
]
}
],
"wires": []
Expand Down
Loading

0 comments on commit 9f2d451

Please sign in to comment.