lp:~rhamph/+junk/hognose

Created by Adam Olsen and last modified

Experiment involving global static analysis of python code

Get this branch:
bzr branch lp:~rhamph/+junk/hognose
Only Adam Olsen can upload to this branch. If you are Adam Olsen please log in for upload directions.

Related bugs

Related blueprints

Branch information

Owner:
Adam Olsen
Status:
Experimental

Recent revisions

113. By Adam Olsen <rhamph@tetromino>

* Rename Expr.activate to Expr.update_versions
* Move Era.activate to Expr.activate, making versions and era into optional keyword arguments

112. By Adam Olsen <rhamph@tetromino>

* add values.BoundMethod
* make OpCall also handle BoundMethods
* finish attribute reading (for the builtin append method)
* Make SequenceValue.append() work

111. By Adam Olsen <rhamph@tetromino>

* Add parsing for list literals
* Rename OpConst to OpNum
* Delete unused and presumably broken expr_nonetype
* Convert attribute parsing tests to use list literal

110. By Adam Olsen <rhamph@tetromino>

* Implement parsing of attribute reading, but only for builtin methods
* Some work towards evaluating said attribute reading, but incomplete and untested

109. By Adam Olsen <rhamph@tetromino>

* Abandon attempt to add normal_strs/magic_strs to SequenceValues. The design is fundamentally flawed in that it only gave me distinct attribute names, not distinct values to associate with each attribute name.

108. By Adam Olsen <rhamph@tetromino>

* Make sure SequenceValue.__init__ uses TRACK_ITEMS rather than hardcoding 8
* Make SequenceValue handle being passed a longer seq than TRACK_ITEMS
* Add more SequenceValue tests

107. By Adam Olsen <rhamph@tetromino>

* Rename Values to Value, including in IntValues, SequenceValues, FunctionValues, and UnwindTargetValues
* Make values.Int, values.List, and values.Function factory functions
* Make Value.__repr__() use those factory functions when possible
* Convert most uses of Values+IntValues over to the Int factory. A few that also use unassigned=True remain.

106. By Adam Olsen <rhamph@tetromino>

* Remove reduce again. Replace it with a loop that's slightly more verbose, but is easier to understand because of course it doesn't use reduce.

105. By Adam Olsen <rhamph@tetromino>

* Abandon Values' impossible argument. Not worth the pain.
* Simplify IntValues.element_floordiv() by using reduce. It DOES happen!

104. By Adam Olsen <rhamph@tetromino>

* Start of SequenceValues

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 with rich root (needs bzr 1.0)
This branch contains Public information 
Everyone can see this information.

Subscribers