Python to Scene Graph
Opened this issue · 1 comments
lborg019 commented
I'm on it
alaingalvan commented
@lborg019, The AST conforms to a certain schema, and will need to be converted to a scene with actors.
let ast = import_from_python("./mypythonfile.py");
for node in ast {
match node {
Node::Module(data) => {
scene.add(Module::new(data));
},
// Match other types of modules
// Repeat some stuff recursively
_ => ()
}
}