Write an AST diagram for my code

abstract syntax tree (AST) code needed using python...i need to parse the following graphviz code and need AST code generated by python:

digraph G {

main [shape=box];

main -> parse [weight=8];

parse -> execute;

main -> init [style=dotted];

main -> cleanup;

execute -> make_string;

init -> make_string;

main -> printf [style=bold,label="100 times"];

make_string [label="make a\nstring"];

node [shape=box,style=filled,color=".7 .3 1.0"];

execute -> compare;


I have attached the parser and lexer code. U can change the code if needed. I am looking for the AST code. Output might be something like below (Thats the output of some other simple code):

(list <'a', NAME> (list <'b', NAME> (list <'c', NAME> <'d', NAME>) <'e', NAME>) <'f', NAME>)

Færdigheder: Java, PHP, Python

Se mere: my code, ast, ast java, java code python, java ast, python php compare, simple code java, compare times php, change java php code, java diagram, tree java simple, list node java, diagram code, php diagram, php code cleanup, java shape, tree compare, diagram php, color code, code color, compare tree, write professional abstract, compare output php, write tree java, simple tree java

Om arbejdsgiveren:
( 1 bedømmelse ) Warsaw, United States

Projekt-ID: #6054047

3 freelancere byder i gennemsnit $25 for dette job


Hello sir. I have an experience in syntax analysis, I like Python and I'd like to work with you. Thank you. Regards, Alexander.

$25 USD in 3 dage
(9 bedømmelser)

Hi, Any update on your plans about the project ? Looking forward to hear from you soon. Regards Naeem ...................................................... Hi, Were you able to go through the proposal sent? Mere

$25 USD på 1 dag
(0 bedømmelser)

hi (list <'a', NAME> (list <'b', NAME> (list <'c', NAME> <'d', NAME>) <'e', NAME>) <'f', NAME>) as much as i understand, that code example would have input like that: a { b [c, d] e} f or more probably {[c,d]}, i Mere

$25 USD på 1 dag
(0 bedømmelser)