Commits

Author Commit Message Labels Comments Date
Armin Rigo
First try at an AnnotationHeap for the implementation of doc/translator/annotation.txt.
Seo Sanghyeon
TODO: import related
Armin Rigo
Removed completed tasks, added a note about doc/translation/annotation.txt.
Armin Rigo
Deleted a special-purpose exception class and replaced it with 'return'.
Armin Rigo
Added __eq__ on FrameBlock class.
Seo Sanghyeon
Documentation enhancements.
Seo Sanghyeon
Add call() and dis() to the frontend. Notes optional input_arg_types argument to pyrex() and cl().
Armin Rigo
New test, showing the slightly weird behavior of 'and' (see control flow graph).
holger krekel
removed stale old tool
Seo Sanghyeon
Fixeol
Seo Sanghyeon
Fix for 2.2. isinstance(X, bool) is illegal.
Seo Sanghyeon
documented what the hell complex and verbose transform codes are actually doing. let's refactor it. Python shall be an executable pseudocode!
Seo Sanghyeon
block.operations was a tuple, to make sure FlowObjSpace doesn't try to add operations after it "closed" a block. (Armin) But after the latest flowmodel refactoring, this idea is dropped, so now they shall be just a list. Thus this fix.
Seo Sanghyeon
snippet: cosmetic cltrans: more tests: if_list, yast buildcl: quote Lisp list
Seo Sanghyeon
Fixed stdout capturing in GenCL. It had broken IDLE.
Seo Sanghyeon
gencl, annotation: int/long test_cltrans: give types of arguments where appropriate
Seo Sanghyeon
gencl: With DEBUG being True GenCL does operations by comments. Semicolon style.
Michael Hudson-Doyle
fix bug: if lisp was on $PATH but cmuclinvoke.sh not, we didn't then look for sbcl.
Seo Sanghyeon
gencl: for debug, shows result of type inference as comments
Seo Sanghyeon
* reflow is gone. XXX all gone. please forget about it * gencl: lshift, list+list, long conv, optional input_arg_types * annotation: list+list, newlist, builtin call return type * buildcl: until readlisp is fixed, use Literal :) * snippet: powerset * test_cltrans: powerset working!
Seo Sanghyeon
The truth, the universe, and 42, none of them are an eternal emperor. Sorry. writelisp enhancements. Note: 95 does not stand for Windows 95. "jiu wu" means an emperor in classic Chinese.
Seo Sanghyeon
range and slice for gencl! gencl * typemap: list -> vector * op not/is_true: list -> (zerop (length... * prelude: python-slice, python-range * builtin_map: range -> python-range * op getslice: python-slice (with subseq) * for convinience: cur_annset test_cltrans * slice test "half_of_n" working! transform * transform_slice, as usual annotation * simplify_hooks is dead * if index is slice, arg and result is of same seq ty…
Seo Sanghyeon
gencl: newlist/newtuple, iter/next_and_flag, builtin.
Seo Sanghyeon
trivia
Armin Rigo
Couple of bug fixes
Rocco Moretti
Add a dir() function to builtins. This is modeled directly after CPython's dir function. It is currently incomplete. dir() with no args doesn't work yet, and trying to pull dir() of an object exposes some problem with the builtin isinstance() method. I don't have time to track down the errors at this point, but I'm committing it anyway, as it is unlikely to break anything which is currently working.
Rocco Moretti
Add facilities for dynamic loading of builtin modules. Meta information about the modules provided by the pypy/modules directory is now encoded in pypy.modules.__init__. A loader function in BaseObjectSpace reads this information and dynamically loads the builtin modules. There are facilities to alter module loading based on object space and other things such as platform. The sys and __builtin__ modules are special cased out of the loading proceedur…
Rocco Moretti
Add builtin_module_names attribute to sys, and adjust module loading to populate it.
Seo Sanghyeon
gencl: one line fix -- op_and_ to logand. test_cltrans: more PyrexTestCase-originated tests translator: import snippet as module so that you can dir() to see what are available. my_bool and my_range's already in snippet.
Seo Sanghyeon
gencl: emit_typecase! e.g. emit + for int addition, concatenate for str addition, conditional expression for unknown-type addition. buildcl: now one can pass argument types to make_cl_func. readlisp hack to handle string. annotation: str + str = str. snippet: all-time classic hello world. test_cltrans: tests for above changes.
  1. Prev
  2. Next