Interpreter

2006-02-03 Thread Darthrader (sent by Nabble.com)
If I want to write an interpreter for AST, what are _some_ of the things I would be required to do? Basically , how does an interpreter work? -- View this message in context: http://www.nabble.com/Interpreter-t1052476.html#a2736703 Sent from the gcc - Dev forum at Nabble.com.

Internpreter

2006-02-03 Thread Darthrader (sent by Nabble.com)
If I want to write an interpreter for AST, what are _some_ of the things I would be required to do? Basically , how does an interpreter work? -- View this message in context: http://www.nabble.com/Internpreter-t1052475.html#a2736701 Sent from the gcc - Dev forum at Nabble.com.

Re: Machine Dependance

2006-02-02 Thread Darthrader (sent by Nabble.com)
Hey Paolo thanx a lot.I got the info I required. Can u mention any links that i can use as a reference to understand the dump output of -fdump-tree-original-raw as AST? Thanx a lot. Darthrader -- View this message in context: http://www.nabble.com/Machine-Dependance-t1047440.html#a27256

Re: Machine Dependance

2006-02-02 Thread Darthrader (sent by Nabble.com)
Thanx for ur reply.I have a few more questions below: Paolo Bonzini-2 wrote: > > Darthrader (sent by Nabble.com) wrote: >> Is the AST[Abstract Syntax Tree] machine dependent? > > The nodes that are generated for the program as it is parsed are machine > independent.

AST

2006-02-02 Thread Darthrader (sent by Nabble.com)
Can someone give a good link to any information about the Abstract Syntax Tree. Any help will be appreciated. TIA, Darthrader -- View this message in context: http://www.nabble.com/AST-t1047504.html#a2722321 Sent from the gcc - Dev forum at Nabble.com.

Machine Dependance

2006-02-02 Thread Darthrader (sent by Nabble.com)
Is the AST[Abstract Syntax Tree] machine dependent? I read some where that it should be machine independent but when i compiled a c program and generated its AST using -fdump-tree-original-raw on gcc-4.0.0 , there were certain node values ,which were diifferent on different machines like algn,

Re: What do these mean?

2006-02-02 Thread Darthrader (sent by Nabble.com)
Thanx for ur reply Diego. Got a few more queries... What does the number '02' signify? Can I change that ? How? Darthrader -- View this message in context: http://www.nabble.com/What-do-these-mean--t1046908.html#a2720928 Sent from the gcc - Dev forum at Nabble.com.

What do these mean?

2006-02-02 Thread Darthrader (sent by Nabble.com)
Hi , Can someone please let me know what the extensions t02 & original mean in the filename test.c.t02.original after compiling test.c using the option fdump-tree-original-raw, generating an AST? Darth -- View this message in context: http://www.nabble.com/What-do-these-mean--t1046908.html#a2