Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
0f954a4256c3122918b9ef0d17f587a0003ee45e
/
Tools
/
compiler
4ebf3be
a few small optimizations that seem to give a 5-10% speedup; the
by Jeremy Hylton
· 24 years ago
eefaeb7
move pruneNext method to correct object (doh!)
by Jeremy Hylton
· 24 years ago
314e3fb
Change the graph structure to contain the code generator object for
by Jeremy Hylton
· 24 years ago
a59ac0a
If a function contains a doc string, remove the doc string node from
by Jeremy Hylton
· 24 years ago
7cff7fe
Many changes.
by Jeremy Hylton
· 24 years ago
628d289
Generated from rev 1.1 of ast.txt
by Jeremy Hylton
· 24 years ago
66d2c1f
Small optimizations in dispatch method: 1) lookup node's __class__ once
by Jeremy Hylton
· 24 years ago
821eee3
Support for generation of ast.py from simple description of node
by Jeremy Hylton
· 24 years ago
ac148b5
run the std regression test suite using bytecode produced by the compiler
by Jeremy Hylton
· 24 years ago
e7f710c
add -d option that dumps entire AST before compiling
by Jeremy Hylton
· 24 years ago
9c048f9
Now supports entire Python 2.0 language and still supports Python
by Jeremy Hylton
· 24 years ago
4e1be72
Fix SF bug #116263: support for from .. import *
by Jeremy Hylton
· 24 years ago
b769e80
read in a .pyc file and disassemble the code objects
by Jeremy Hylton
· 24 years ago
572bdce
change 2-space indent to 4-space indent
by Jeremy Hylton
· 24 years ago
9c36a41
distutils setup script
by Jeremy Hylton
· 24 years ago
92f3972
patch by Neil Schemenauer to improve (fix?) line number generation
by Jeremy Hylton
· 24 years ago
2051608
Update magic number.
by Jeremy Hylton
· 24 years ago
46cc7c0
Bring Tools/compiler almost up to date. Specifically:
by Thomas Wouters
· 24 years ago
7daf04d
replace most calls to emit 'SET_LINENO' will call to method set_lineno
by Jeremy Hylton
· 24 years ago
8612f1c
update my email address
by Jeremy Hylton
· 24 years ago
fd342bf
add a bit more legal junk
by Greg Stein
· 24 years ago
ffe968b
This script demonstrates use of the visitor interface of the compiler package.
by Jeremy Hylton
· 24 years ago
be317e6
patches from Mark Hammond
by Jeremy Hylton
· 24 years ago
0a4f1ff
patches from Mark Hammond
by Jeremy Hylton
· 24 years ago
36cc6a2
complete rewrite
by Jeremy Hylton
· 24 years ago
f635abe
simplify visitor walker class
by Jeremy Hylton
· 24 years ago
b631b8e
fix list.append problems
by Jeremy Hylton
· 24 years ago
e4d6293
change name of Set method: items -> elements (avoids confusion with dict)
by Jeremy Hylton
· 24 years ago
0c3208a
compiler command-line interface moved here from compiler.pycodegen
by Jeremy Hylton
· 24 years ago
f728f9a1
import compile function form pycodegen
by Jeremy Hylton
· 24 years ago
7fab23e
rename compile.py to pycodegen.py
by Jeremy Hylton
· 24 years ago
8c78341
add a doc string import some useful functions from contained modules
by Jeremy Hylton
· 24 years ago
9812e7b
fix import to refer to compiler package
by Jeremy Hylton
· 24 years ago
abd7ebf
revise arguments for addCode method on lnotab. take several numbers
by Jeremy Hylton
· 24 years ago
fa974a9
change node Classdef to Class
by Jeremy Hylton
· 24 years ago
ed95861
factor out the tree walking/visitor code that was in compile.py
by Jeremy Hylton
· 24 years ago
772dd41
satisfy the tabnanny (thanks to MH for noticing the problem)
by Jeremy Hylton
· 25 years ago
efd0694
changes to _lookupName
by Jeremy Hylton
· 25 years ago
3ec7e2c
the previous quick hack to fix def foo((x,y)) failed on some cases
by Jeremy Hylton
· 25 years ago
7708d69
add varargs and kwargs flags to Lambda nodes
by Jeremy Hylton
· 25 years ago
873bdc1
satisfy the tabnanny
by Jeremy Hylton
· 25 years ago
ad9a86f
support for arglists with implicit tuple unpacks
by Jeremy Hylton
· 25 years ago
3d9f5e4
more robust assignment of lineno for keyword args
by Jeremy Hylton
· 25 years ago
2ce27b2
fix argcount generation for arg lists containing tuple unpacks
by Jeremy Hylton
· 25 years ago
65d4ea0
add flatten helper function
by Jeremy Hylton
· 25 years ago
4f6bcd8
finish first impl of code generator
by Jeremy Hylton
· 25 years ago
1ebba96
fix creation of Ellipsis node
by Jeremy Hylton
· 25 years ago
410e840
add a little debugging support when new.code raises SystemError
by Jeremy Hylton
· 25 years ago
d603dee
add line numbers to nodes in the except clause (when possible)
by Jeremy Hylton
· 25 years ago
ca1ad18
tidy up tryexcept and tryfinally nodes
by Jeremy Hylton
· 25 years ago
9e1cd68
edit a doc string (real intent is to test out rsync install)
by Jeremy Hylton
· 25 years ago
a46fb38
get rid of spurious print
by Jeremy Hylton
· 25 years ago
126960b
looks like everything is working except for try/except (pystone
by Jeremy Hylton
· 25 years ago
17988d2
LeftShift & RightShift: fix reprs, change attr names to left and right
by Jeremy Hylton
· 25 years ago
bf6267e
rename several of the generic attribute names for nodes. new node attrs are:
by Jeremy Hylton
· 25 years ago
4290779
(), [], and {} should not be represented as constant expressions, they
by Jeremy Hylton
· 25 years ago
a505812
split compile.py into two files
by Jeremy Hylton
· 25 years ago
3050d51
change MODULE_NAMESPACE/FUNCTION_NAMESPACE stuff to have a single flag
by Jeremy Hylton
· 25 years ago
76d01b8
add support for Lambda nodes
by Jeremy Hylton
· 25 years ago
4eb504c
add loop handling via
by Jeremy Hylton
· 25 years ago
95b8614
add an __len__ to Set and Stack
by Jeremy Hylton
· 25 years ago
3e0910c
add namespace attr to CodeGenerator, can be either MODULE_NAMESPACE or
by Jeremy Hylton
· 25 years ago
5e0ce53
add ExampleASTVisitor:
by Jeremy Hylton
· 25 years ago
69926ea
add remove method to set
by Jeremy Hylton
· 25 years ago
4024560
add optional verbose arg to walk function. it overrides the global
by Jeremy Hylton
· 25 years ago
156a975
make all unary operators have a single child node called expr
by Jeremy Hylton
· 25 years ago
1851901
add spaces to comparison names is not and not in to match dis
by Jeremy Hylton
· 25 years ago
53187f3
now produces valid pyc files for a least a trivial subset of the language.
by Jeremy Hylton
· 25 years ago
aa9d2d6
constants from transformer
by Jeremy Hylton
· 25 years ago
9605c11
move constants out of transformer so that they can be shared with ast
by Jeremy Hylton
· 25 years ago
0fdffcf
rapid evolution towards producing real .pyc files (even though I don't
by Jeremy Hylton
· 25 years ago
8b6323d
checking in initial weekend's work
by Jeremy Hylton
· 25 years ago
106a02d
make p2c a package
by Jeremy Hylton
· 25 years ago
f968e85
three files from the p2c cvs tree. the message here indicates the
by Jeremy Hylton
· 25 years ago