Quantcast
Channel: Questions in topic: "tree"
Viewing all articles
Browse latest Browse all 513

C# Tree Structure (stack, queue, any suggestions are welcome)

$
0
0
I would like to create a tree structure to explicitly represent equations in a parse tree. for example 6 = 4 + 2 is represented in a parse tree as / | \ = | / | \ 6 + | | 4 2 How do I create a tree structure in c# that can function with tags like this? For more information about parse trees see here : [link text][1] for more information about BNF : [link text][2] [1]: https://en.wikipedia.org/wiki/Parse_tree [2]: https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_form

Viewing all articles
Browse latest Browse all 513

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>