summaryrefslogtreecommitdiff
path: root/Cython/CodeWriter.py
Commit message (Collapse)AuthorAgeFilesLines
* Trivial typo fixesUnknown2017-10-171-1/+1
| | | | | Most are non-user facing. Found using: `codespell -d -q 3`
* ExpressionWriter: Various enhancementsLisandro Dalcin2017-07-201-30/+52
| | | | | | | | | | * Simplify string handling using common code to handle prefixes * Fix rendering of empty sets as `set()` instead of ``{}` * Add support generator expressions * Use common code for comprehensions and generator expressions * Add support for Ellipsis rendered as `...` * Minor refactor to handling of unop/binop precedence * Fix rendering of multidimensional indexing
* Update embedsignature directiveLisandro Dalcin2017-07-191-0/+273
| | | | | * emit function annotations * implement ExpressionWriter visitor
* Delete trailing spacesmathbunnyru2017-01-121-2/+2
|
* whitespaceStefan Behnel2016-03-281-3/+3
|
* adapt 'unicode' usage to Py2/Py3Stefan Behnel2015-07-261-5/+6
|
* implement CodeWriter serialisation of 'normal' case for GeneralCallNodeStefan Behnel2014-07-271-3/+11
|
* Rename many of the pyrex_ options to cython_ (as several are Cython-specific).Robert Bradshaw2012-01-221-1/+1
|
* more import cleanupsStefan Behnel2011-11-131-4/+3
|
* More complete code writing.Robert Bradshaw2011-03-261-79/+267
|
* Remove trailing whitespace.Robert Bradshaw2010-12-131-27/+27
|
* seperated -> separatedCraig Citro2010-03-091-7/+7
|
* split BytesNode, UnicodeNode and StringNodeStefan Behnel2009-10-101-0/+1
|
* Improvements to TempsBlockNode interfaceDag Sverre Seljebotn2008-09-251-1/+1
|
* Introduce TempsBlockNode utility, improve TreeFragment-generated tempsDag Sverre Seljebotn2008-09-241-8/+18
|
* Cleared file executable bit that was set earlier by a mistakeDag Sverre Seljebotn2008-07-291-0/+0
|
* Buffer type checking cleanup/rewrite (now uses use_utility_code)Dag Sverre Seljebotn2008-07-261-0/+0
|
* code writer support for cascaded assignment nodes and string nodesStefan Behnel2008-07-191-1/+15
|
* Fix bugs for rhs -> default and exception handling.Robert Bradshaw2008-07-181-2/+2
|
* decorator support (partly by Fabrizio Milo)Stefan Behnel2008-07-101-0/+10
|
* Better exception info reading for with statementDag Sverre Seljebotn2008-06-181-4/+4
|
* More CodeWriter supportDag Sverre Seljebotn2008-06-171-0/+25
|
* Started on TempName support, more CodeWriterDag Sverre Seljebotn2008-06-171-5/+65
|
* MergeDag Sverre Seljebotn2008-05-271-2/+2
|
* Focus on visitors rather than transforms; Transform.py renamed to Visitor.pyDag Sverre Seljebotn2008-05-271-48/+51
| | | | | | | | | | Some changes in class hierarchies etc.; transforms no longer has a common base class and VisitorTransform is a subclass of TreeVisitor rather than the reverse. Also removed visitor use of get_child_accessors; child_attrs is accessed directly (because of claims of overengineering :-) ). --HG-- rename : Cython/Compiler/Transform.py => Cython/Compiler/Visitor.py
* New features: CodeWriter, TreeFragment, and a transform unit test framework.Dag Sverre Seljebotn2008-05-161-0/+202
See the documentation of each class for details. It is a rather big commit, however seperating it is non-trivial. The tests for all of these features all rely on using each other, so there's a circular dependency in the tests and I wanted to commit the tests and features at the same time. (However, the non-test-code does not have a circular dependency.)