Re: Obtaining the Python Control Flow Graph

2006-04-03 Thread Paul Boddie
[EMAIL PROTECTED] wrote: > > I was wondering if anyone had any advice on the best way to obtain a > control flow graph. I need the control flow graph because I am trying > figure out if there is a way to bound the integer ranges and list > lengths at compile time. Although I haven't actually been

Re: Obtaining the Python Control Flow Graph

2006-04-03 Thread Carl Friedrich Bolz
Hi! [EMAIL PROTECTED] wrote: > I have been looking for a good way to convert python code into a > control flow graph. > > I know of Python functions that will convert an expression into an > abstract syntax tree (i.e. ast = parser.expr('(x+5)*5') then t = > ast.totuple() then t), but I am not sur

Obtaining the Python Control Flow Graph

2006-04-02 Thread brianlum
Hi, I have been looking for a good way to convert python code into a control flow graph. I know of Python functions that will convert an expression into an abstract syntax tree (i.e. ast = parser.expr('(x+5)*5') then t = ast.totuple() then t), but I am not sure how to obtain a CFG. I've gone thr