lp://staging/~qicvg-dev/qicvg/recursive-visitor

Created by Dario Bertini and last modified
Get this branch:
bzr branch lp://staging/~qicvg-dev/qicvg/recursive-visitor
Members of QICVG Developers can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
QICVG Developers
Project:
QICVG
Status:
Experimental

Recent revisions

52. By Dario Bertini

Several fixes to the grammar and treewalker... at last we got a working translation of fractals and other recursive objects

51. By Dario Bertini

Fixed some problems when visiting path (and mismatched rect height/width)

50. By Dario Bertini

Fixes to the Main class and the teal color problem

49. By Dario Bertini

Merged main branch rvn 41 changes: Created new Main class to translate from and towards a file. (Also, small fixes to the templates)

48. By Dario Bertini

Wrote from scratch an AST visitor that successfully outputs svg even for recursive containers
Unfortunately there's still some problem with the recursive ouput, and the whole tree visitor has been written in a hurry and needs some heavy refactoring
(and maybe another rewrite from scratch, this time writing it as a simple tree grammar, but leveraging inheritance and many external methods instead of attempting to rewrite the AST, thus keeping the tree grammar lean and devoid of any semantic logic)

47. By Dario Bertini

Failed attempt of the unroller implementation, with several changes all around
After failing to make it work i'm giving up with this approach and i'm attempting a rewrite

46. By Dario Bertini

Due to a problem with the AST rewriting, now the container coords are evaluated directly in the unroller and then passed to the final treewalker
(couldn't evaluate directly all attributes in the unroller due to a problem, the same i had to workaround in the previous commit)
This means that the attributes cannot be resolved before the final treewalking, and thus it has been scrapped for the container grammar
(now only simple INTs are supported for the container's position)

45. By Dario Bertini

Added recursive indexrefresh method to QicvgTree and related changes
Made temporary fixes (dropping a printstacktrace, changing an ast child node)
Changed unroller tree rewriting (still don't know why it replicated some tokens)
Moved comments in the end of the test file: apparently, upon parsing these, the treewalker goes back to using the previous AST

44. By Dario Bertini

Fixed problem when constructing a new QicvgTree and commented out problematic test

43. By Dario Bertini

Implemented our own QicvgTree to handle node replication

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/qicvg
This branch contains Public information 
Everyone can see this information.

Subscribers