[Parrot-users] C# 4.0 on Parrot?
Andrew Whitworth
wknight8111 at gmail.com
Tue Mar 8 19:00:29 UTC 2011
Hello David, welcome to Parrot!
At the moment there is no project around to have a C# compiler running
on Parrot. There is no reason I can think of why such a thing could
not exist, however. Obviously it would be much easier to implement a
compiler for the C# syntax than it would be to implement any fraction
of the standard library.
Parrot provides a number of features which would meet or exceed the
requirements for C#: Exceptions, GC, multiple inheritance, ability to
override primitive operations, etc. Some things which Parrot does not
provide and would need to be added are things like a compile-time type
checker and type inference engine. I suspect C# Generics would not be
fun to implement, at least not in an efficient way.
In the converse, there is a project called "ParrotSharp" [1] which
embeds Parrot into C#. That project is very young but functional.
If you are interested in putting together a C# compiler, it would be
an interesting project and hopefully not too hard to get started.
--Andrew Whitworth
[1] https://github.com/Whiteknight/parrotsharp
On Tue, Mar 8, 2011 at 1:07 PM, David <nonot100 at gmail.com> wrote:
> Hello,
>
> This may have been addressed already, but my use of Google did not
> pull up any recent results.
>
> Are there any plans afoot to get C# 4.0 (including it's "dynamic"
> features) running on the Parrot VM?
>
> I do understand that the traditional target for C# (the CLR) is a very
> different beast compared to Parrot. Is it an insurmountable
> difference?
>
> Thank you
> _______________________________________________
> Parrot-users mailing list
> Parrot-users at lists.parrot.org
> http://lists.parrot.org/mailman/listinfo/parrot-users
>
More information about the Parrot-users
mailing list