- 18 Apr, 2014 4 commits
-
-
Filipe Gonçalves authored
Fixing the subtle "bug" apparently makes pyston fail some tests, so I'm backing out on this. It doesn't make much sense that the reverse of NotEq is NotEq, and the reverse of Eq is Eq... this needs to be rechecked by someone that knows the code better than me.
-
Filipe Gonçalves authored
- Fixed subtle bug in getReverseOpName(): the reverse of AST_TYPE::NotEq and the reverse of AST_TYPE::Eq were wrong (ironically, they were reversed!)
-
Filipe Gonçalves authored
- Added zsh dependency - Fixed subtle typo in LLVM + clang section
-
Kevin Modzelewski authored
-
- 17 Apr, 2014 2 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
- 16 Apr, 2014 6 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Found some bugs in the name analyzer around listcomps; got the unittests back up and running so I can write some more
-
Kevin Modzelewski authored
It all feel pretty hacked together though... definitely not confident that I've gotten all of them.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
I guess I had gotten those instructions from somewhere, that said to just clone from trunk. I ran into an issue installing gold through the instructions and thought it might have been that, but I think it was the bison issue I mention now in the instructions. Probably better to leave it at a real release instead of tracking trunk and having every run of the Pyston install giving a different output.
-
Kevin Modzelewski authored
-
- 15 Apr, 2014 7 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Should support: - multiple comprehensions - multiple if conditions - nested control flow expressions - OSR'ing from the list comprehension Though it tends to hit the OSR bug in the previous commit. Some extra changes that could have been split out: - use pointers-to-const instead of references-to-const for attribute-name passing, to make it harder to bind to a temporary name that will go away. - add a 'cls_only' flag to getattr / getattrType to not have to special-case clsattrs (or simply get it wrong, in the case of getattrType)
-
Kevin Modzelewski authored
-
- 14 Apr, 2014 4 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Make the tester blow up if CPython exits with a negative exit code, which indicates some non-Python-level problem
-
Kevin Modzelewski authored
Makes it qucker to run; fixes #20.
-
Kevin Modzelewski authored
Also, set -Wno-extern-c-compat to silence libunwind-related warnings. Fixes #27, hopefully for real this time.
-
- 13 Apr, 2014 1 commit
-
-
Kevin Modzelewski authored
This doesn't surface if you install libunwind globally since clang will ignore errors from system libraries; this change should fix it for people who are installing libunwind locally (as is the goal). Fixes #27
-
- 11 Apr, 2014 5 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
In particular, lower all control-flow-involving expressions (such as boolops, list comprehensions, if expressions) into actual control flow. This requires unfolding the AST into a flat structure, since the control-flow-expression can be nested inside other expressions, including other control-flow-expressions. The IRGenerator was doing this before, but was leading to duplication because it's very similar to what the CFG generator already has to do. Doing this earlier in the pipeline means that more analysis passes can work on the lowered expressions, rather than having to be taught how they work. In particular, the name analysis does not need to have to special case the fact that list comprehensions may set names -- but aren't guaranteed to if they don't get executed or the iterator is empty. I tried implementing list comprehensions without doing this, and a bunch of the work was in reimplementing the logic that the analyzers already implement. As a side benefit, deopts become much easier since the AST is already unfolded; this change gets rid of the messy fake-variable-setting way that the IRGenerator was unfolding the AST to get this same effect.
-
- 10 Apr, 2014 3 commits
-
-
Kevin Modzelewski authored
fix text formatting
-
Kevin Modzelewski authored
Update README.md
-
Kevin Modzelewski authored
List ccache as required in INSTALLING
-
- 08 Apr, 2014 3 commits
-
-
Bengt Lüers authored
-
Bengt Lüers authored
Should fix #22.
-
Kevin Modzelewski authored
Many args ir fix
-
- 07 Apr, 2014 5 commits
-
-
Alex Şuhan authored
-
Alex Şuhan authored
-
Kevin Modzelewski authored
This shows up for both pull requests and creating new issues; make this more clear that the CLA only applies to pull requests if you come from the issue page.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-