An error occurred fetching the project authors.
  1. 28 Apr, 2009 2 commits
  2. 15 Mar, 2009 1 commit
  3. 18 Jan, 2009 2 commits
  4. 10 Jan, 2009 4 commits
  5. 23 Dec, 2008 1 commit
  6. 21 Dec, 2008 3 commits
  7. 14 Dec, 2008 1 commit
  8. 28 Nov, 2008 1 commit
  9. 16 Nov, 2008 1 commit
  10. 12 Nov, 2008 2 commits
  11. 24 Sep, 2008 1 commit
  12. 23 Sep, 2008 1 commit
  13. 22 Sep, 2008 1 commit
  14. 15 Aug, 2008 1 commit
    • Stefan Behnel's avatar
      Rewrite of the string literal handling code · 2e8a0084
      Stefan Behnel authored
      String literals pass through the compiler as follows:
      - unicode string literals are stored as unicode strings and encoded to UTF-8 on the way out
      - byte string literals are stored as correctly encoded byte strings by unescaping the source string literal into the corresponding byte sequence. No further encoding is done later on!
      - char literals are stored as byte strings of length 1. This can be verified by the parser now, e.g. a non-ASCII char literal in UTF-8 source code will result in an error, as it would end up as two or more bytes in the C code, which can no longer be represented as a C char.
      
      Storing byte strings is necessary as we otherwise loose the ability to encode byte string literals on the way out. They do not necessarily contain only bytes that fit into the source code encoding as the source can use escape sequences to represent them. Previously, ASCII encoded source code could not contain byte string literals with properly escaped non-ASCII bytes.
      
      Another bug that was fixed: in Python, escape sequences behave different in unicode strings (where they represent the character code) and byte strings (where they represent a byte value). Previously, they resulted in the same byte value in Cython code. This is only a problem for non-ASCII escapes, since the character code and the byte value of ASCII characters are identical.
      2e8a0084
  15. 13 Aug, 2008 1 commit
  16. 29 Jul, 2008 1 commit
  17. 26 Jul, 2008 1 commit
  18. 16 Jul, 2008 1 commit
  19. 08 Jul, 2008 1 commit
  20. 01 Jul, 2008 1 commit
  21. 19 Jun, 2008 3 commits
  22. 27 May, 2008 1 commit
    • Dag Sverre Seljebotn's avatar
      Focus on visitors rather than transforms; Transform.py renamed to Visitor.py · fcccb15f
      Dag Sverre Seljebotn authored
      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
      fcccb15f