- 22 Jul, 2014 9 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Ie if a class is defined in a function, and that class contains a function which references variables from the enclosing function, previously the classdef would not pass the closure through and things would fail. Now classdefs (and other scopes) can pass through closures even if they don't add their own variables to the closured-set. Also, fix some bugs along the way.
-
Kevin Modzelewski authored
Before we would write all local names into the class dict; this is close, but was including undefined names. Have to get help from the IR generator to determine the live names, so add a LOCALS opcode (CPython has a similar one), and use that to generate the dict that a classdef returns. The current support is not quite enough to support the locals() function, since even though we have that information available at the IR generator, it's not easy to make it available to the runtime.
-
Kevin Modzelewski authored
thanks Marius for the report
-
Kevin Modzelewski authored
Before it was part of the (type-agnostic) AST-walker, which didn't make sense.
-
Kevin Modzelewski authored
Not sure how these didn't show up before...
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
- 21 Jul, 2014 2 commits
-
-
Kevin Modzelewski authored
Fixed a bug causing unit tests to fail in my installation
-
Travis Hance authored
Fixed a bug causing unit tests to fail in my installation: the declaration of runtimeCall in stdlib.bc had a different name in place of `class.std::vector`, so looking the type up by hard-coding its name results in a type error when the instruction calling `runtimeCall` is constructed.
-
- 09 Jul, 2014 1 commit
-
-
Kevin Modzelewski authored
-
- 08 Jul, 2014 3 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Implement lambda expressions
-
Kevin Modzelewski authored
-
- 29 Jun, 2014 3 commits
-
-
https://github.com/dropbox/pystonMarius Wachtler authored
Conflicts: src/codegen/irgen/hooks.cpp src/codegen/irgen/irgenerator.cpp
-
Marius Wachtler authored
-
https://github.com/dropbox/pystonMarius Wachtler authored
Conflicts: src/codegen/irgen/hooks.cpp src/codegen/irgen/irgenerator.cpp src/core/types.h
-
- 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 1 commit
-
-
Kevin Modzelewski authored
-