[Parrot-users] C# 4.0 on Parrot?
Peter Lobsinger
plobsing at gmail.com
Tue Mar 8 23:45:15 UTC 2011
On Tue, Mar 8, 2011 at 2:49 PM, David <nonot100 at gmail.com> wrote:
>> If you are interested in putting together a C# compiler, it would be
>> an interesting project and hopefully not too hard to get started.
>>
>
> I'm not sure we have the same definition of "not too hard". Writing a
> compiler does not seem easy to me. Willing to read over any tutorials
> / guides you suggest, though.
Come on, as a Perl 5 hacker, show some hubris! You'd be surprised how
easy it can be to get to the point of a usable subset language. Most
of the difficulty in porting a language is in runtime semantics which
differ subtly.
> The common .net library is whole different kettle of fish. That comes
> later, I suppose. (Leaning on DotGNU/Mono?)
>
> Like I mentioned in my other email, as an old Perl 5 programmer, I'm
> aghast to find that Parrot _still_ does not have solid core PPR
> support. (a.k.a Perl/Python/Ruby)
Volunteers work on what they want to work on. It turns out Perl
hackers (the background of many of the early Parrot hackers) aren't
necessarily very motivated to implement, say Python. It also turns out
that Perl (the language of our early compiler tools) isn't necessarily
the language Python hackers want to work in. We've learned and are
moving away from that.
Let me emphasise again that this is a volunteer project. To my
knowledge, noone is coding for Parrot as their primary source of
income.
> Perhaps I am remembering wrong as it's been ~10 years, but I seem to
> recall that a cross-language common VM & core library was a stated
> goal for Perl 6's VM.
This is a ~10 year old project which has seen a lot of turnover. We
made mistakes and false starts and learned from them. New developers
came, old ones went; and with them came and went both objectives and
plans for accomplishing this. Parrot still aims to be a decent runtime
to target for dynamic languages, but what exactly that means and how
we should get there is different to the current developers.
In stead of focusing on what we lack, lets state what we have (my
opinions in some cases).
* the most complete implementation of Perl 6 (Rakudo)
* implementations of Ruby and Lua
* a perlish VM language (NQP)
* a generic C-family VM language (Winxed)
* a VM architecture that lends itself well to implementing an
interesting set of languages (eg: CPS, dynamic typing, etc...)
* an increadibly flexible and plugable core with a small but usable
bundled library and a small but growing ecosystem of add-ons
* an active community that places importance on the needs of many
languages, platforms, and usages.
That said, it is understandable that you may find Parrot's ecosystem
lacking in some way. I would encourage you to jump in and implement
the features you desire the most, as it is the best way to ensure that
your goals for this project are met.
> Has there been any recent work done to get this going?
Parrot is and continues to be a cross-language VM. We are continuously
making improvements, and many ongoing projects are in direct support
of better support for Perl 6, Ruby, and Python. For example, we're
currently redesigning the internals of our object system with the aim
of supporting the different semantics expected by Ruby and Javascript.
With regards to your concerns over Python, another implementation is
being organised, but is mostly in the planning stages at the moment.
As with other areas of the Parrot ecosystem, your participation would
be appreciated.
> Thanks
> _______________________________________________
> 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