Source

pypy / pypy / translator / cli / cts.py

Author Commit Message Labels Comments Date
Antonio Cuni
- move test_cast_primitive to the base class, so it's tested also for ootype - teach the cli backend about the SHORT type, making test_cast_primitive and test_r_short_list passing - skip those two tests in the jvm backend
Antonio Cuni
(in-progress) copy the cli backend from the oo-jit branch
Antonio Cuni
- add support for reading static fields of .NET classes - add support to value types
Antonio Cuni
- use oounicode to convert from string to unicode - add support for unicode to cli backend
Antonio Cuni
implement weakrefs for gencli
Antonio Cuni
comment out references to WeakGcAddress; should these be replaced with something else?
Antonio Cuni
refactor how gencli represent .NET types: instead of using strings, use instances of our own class hierarchy; this add an additional layer between ootype's types and .NET types which will allow for much more flexibility in the future.
Antonio Cuni
mark "ole" as a keyword for ilasm
Antonio Cuni
a much saner way to escape keywords
Antonio Cuni
- add support to driver for building libraries instead of standalone executables (i.e., allowing more than one entry-point) - first steps to write a gencli's frontend which allow to compile a rpython module to a .NET dll; the draft name is SilveRPython, suggestions are welcome :-)
Antonio Cuni
Make dict of voids working better
Antonio Cuni
make iteration over dict of voids working
Antonio Cuni
the check_virtual_method backendopt allow backends to statically dispatch some oosends that else would be dispatched at runtime. It gives about 15% speedup on gencli.
Carl Friedrich Bolz
(cfbolz, antocuni reviewing): try to make the name-only static methods work with cli.
Antonio Cuni
Added the possibility to inspect the native exception objects.
Antonio Cuni
Added support for handling native exceptions when using .NET-types. It's a bit involved because .NET exceptions don't share a common root with RPython exceptions, so we need to cheat a bit by creating a fake class that will be recognized by the backend and rendered as appropriate. This means, for example, that instead of writing something like this: try: f() except CLR.System.Exception: ... we need to create the fake object first. SystemException = Nat…
Antonio Cuni
More boxing & more tests
Antonio Cuni
Initial support for boxing object.
Antonio Cuni
oops... this seems to have broken ~160 CLI tests: fixed!
Antonio Cuni
Support for overloads of NativeInstance bound methods.
Antonio Cuni
Python2.3 compatibility
Antonio Cuni
Implement DictOfVoid::ll_copy.
Antonio Cuni
Do not longer use the WeakRef workaround because the mono bug has been solved.
Antonio Cuni
Workaround for a Mono bug which prevents to call set_Target() on WeakReferences.
Antonio Cuni
prepend 'class' here, too.
Antonio Cuni
Prepend 'class' here and there to make Microsoft ilasm happy.
Antonio Cuni
A bit of refactoring: - make sure that classes and records have an unique name when in the same namespace; - rename all the 'classdef' attributes into 'INSTANCE': classdef was there for historical reasons; - don't use a global cts and database for EntryPoints, but let GenCli passing it to them.
Antonio Cuni
More keywords (no more left, I hope)
Antonio Cuni
Added the full list of ilasm keywords.
Antonio Cuni
Added support for iteration on dictionaries with void values.
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next