| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
various PIR updates
Phase2 halfway
my new changes
factored out list comp simplifier from pirate.py and put it in siple.py
added notes for AssName for list comps
Python 2.4
Revert change passing 'self' as argument #1 - part 1: caller
Short circuit operators __call__ pass self as first argument save/restore nested exceptions try/finally
Class properties, set generator 'next' property
rethrow, not in, vararg/keywork w/ methods, print >>, assignment chaining, try else
is / is not
set __name__ on functions
Pass 'self' as the first argument on method calls
pybuiltin is now autoloaded, new "new" operator, another reachable fix
reachable, StopIteration fixes
Non-member generators
Subroutine calling convention changes, remove dead code
Add trace option
Subclassing & generators with arguments
Use a more consistent syntax for slices
Fix methods
Parallel assignment
More exception support, condition fix
Print exception object directly
Support __pow__
Optimize if statements
multiple 'ors' forloops over strings empty returns returns within generators
Streamline "return None"
Streamline: eliminate Key, reg-to-reg access to parms, and kill dead code
More varargs, for loop, anti-aliasing...
varargs
Indentation fixes, more unreachable code elimination
backquote slice unicode, long, complex use iter in for
Rough in complex support
Reuse local lexicals
Optimize if, while statements
fix subscripts support "in" operator
Handle multiple assign
$PMC variables $INT variables push_eh label instead of set_eh sub PyNone instead of None @ANON / @MAIN streamline generators reduce # of labels on if eliminate unreachable code reuse type constants eliminate find_lex for recently assigned locals
Inline pirate.imc
Take advantage of the builtin range function
make use of PyBuiltin PMC
PyDict now raises KeyError instead of returning None
Inline __py__raise
Take advantage of getattribute support in the PyClass PMC
s/__py__print/print_item/g
Resynch with the latest Parrot. All tests should pass.
A more comprehensive test, with partial fixes (the remaining fixes require changes to the various PMCs).
String quoting
None support
Tuple support
Boolean support
Allow the pirate command to be run anywhere.
applied sam ruby's patch to fix the + operator
print the HEAD/FOOT on -d
basic objects and builtins
batch: got generator implementation working again
calling conventions for __py__print and __py_catch
cleaned up generator stuff
- Added 'for...else'; fixed 'for' (was broken; test was at end of loop) - Added 'while...else' - Added "visitAugAssign" - it just rewrites the tree and calls visitAssign. Note: Once we're using real pyobjects, __iadd__ etc should be tried first. - Removed PASM code from visitFor (seemed to be remenants of older code) - Changed shebang to "#!/usr/bin/env python" (the standard python shebang). - Corrected "not kwargs and not varargs" logic typo - Stopped IMC comments being outputted after "setline xxx" this kills IMCC for some reason. [checked in by michal with minor tweaks to reconcile with dash's changes]
removed need for 'dest' argument, and other refactorings. (code by dash, checked in by michal)
batch: brought code up to date with current parrot
added microthreads test
bugfix: arg order
added more tests for assigning from lists
added PARROT_INLINE and fixed x=[] bug
got del working
added commented-out test for catching StopIteration
got generators working
added stubs for del statement (not possible yet in parrot)
refactoring to use .imcObject
finished ops except for // ** and
cleaned up @TODOs
cleaned up docstring
swicthed loops to % locals()
minor refactoring with assignments
refactored assignments and got l,l,l=r working
got try...finally working
got simple try...except working
implemented assert
got dicts and raise working
got list comprehensions working
got global working
got tuples working (as lists)
got closures working
various function-related improvements
s/imcc/parrot/
removed old result variables
got rid of extend(), made expressions modify self
added compiler's line numbers to bytecode
added leo's stdin and .include pirate.imc patches
got def statment working
added pass
switched to parrot calling conventions
removed _ prefix from cmp labels and trailing newline from the piped output
code cleanup
got anonymous lambdas working
PerlNum -> PerlInt
added lambda
function calls\!
added boolean logic
got continue working
added break statement
added for loops, command line options
added support for declaring/printing lists
got euclid test working
code cleanup
added comparisons
allow print without newline
added while loop
added simple math expressions
added assignment
endif typo fix
added elif
allowed multiple if/elif blocks
allowed multiple if/elif blocks
initial checkin
Initial revision
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
| No admin address has been configured | ViewVC Help |
| Powered by ViewVC 1.0.5 |