Annulleret

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: php parse tree, my code, g-code, ast, ast java, java code python, java ast, python code java code, python php compare, parse python, simple code java, compare times php, python parser, parser code, python parse, java parser, change java php code, java diagram, tree java simple, list node java, diagram code, php diagram, php code cleanup, java shape, tree compare

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

Projekt-ID: #6054047

3 freelancere byder i gennemsnit $25 for dette job

shalala83eu

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)
3.5
AmirSohailgee

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)
0.0
Crivo

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)
0.0