- 27 Jun, 2014 2 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Not completely correct/working yet, but finally start doing classes the right way.
-
- 26 Jun, 2014 11 commits
-
-
Kevin Modzelewski authored
Should probably give up on hacking it like this and just handle classdef scopes for real.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Some basic fixes
-
Kevin Modzelewski authored
(was previously only working at the global scope)
-
Kevin Modzelewski authored
Pretty similar to #78
-
Eitan Adler authored
-
Eitan Adler authored
- find could not possibly have worked prior
-
Kevin Modzelewski authored
(Though most libraries will probably crash)
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
- 25 Jun, 2014 8 commits
-
-
Marius Wachtler authored
-
Kevin Modzelewski authored
Fix make check: Order includes alphabetical
-
Kevin Modzelewski authored
Fix reversing of >, <, <= and >= compare operations
-
Marius Wachtler authored
Just noticed that they are also wrong
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
- 24 Jun, 2014 7 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Required a bit of refactoring in terms of how parameter specifiers are passed around.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Well not sure if it's a deadlock; I think we try to re-entrantly acquire the codegen lock, which then confuses it later?
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
GC: Register None
-
- 23 Jun, 2014 5 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Implement chained comparisons
-
https://github.com/xiafan68/pystonKevin Modzelewski authored
Merges #88 Conflicts: src/core/threading.cpp
-
Kevin Modzelewski authored
Not sure why greg_t got changed from 'long' to 'long long' in newer versions of glibc; just cast it to be compatible
-
Kevin Modzelewski authored
Build fix
-
- 20 Jun, 2014 1 commit
-
-
Vinzenz Feenstra authored
Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
-
- 19 Jun, 2014 3 commits
-
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Kevin Modzelewski authored
Implementation is pretty straightforward for now: - find all names that get accessed from a nested function - if any, create a closure object at function entry - any time we set a name accessed from a nested function, update its value in the closure - when evaluating a functiondef that needs a closure, attach the created closure to the created function object. Closures are currently passed as an extra argument before any python-level args, which I'm not convinced is the right strategy. It's works out fine but it feels messy to say that functions can have different C-level calling conventions. It felt worse to include the closure as part of the python-level arg passing. Maybe it should be passed after all the other arguments? Closures are currently just simple objects, on which we set and get Python-level attributes. The performance (which I haven't tested) relies on attribute access being made fast through the hidden-class inline caches. There are a number of ways that this could be improved: - be smarter about when we create the closure object, or when we update it. - not create empty pass-through closures - give the closures a pre-defined shape, since we know at irgen-time what names can get set. could probably avoid the inline cache machinery and also have better code.
-
- 18 Jun, 2014 3 commits
-
-
xiafan_linux authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-