[Mono-list] Re: Porting Rhino to C#

Steve Newman steve@snewman.net
Thu, 18 Jul 2002 12:27:45 -0700

>Date: Thu, 18 Jul 2002 10:14:03 -0700 (PDT)
>From: Eto Demerzal <demerzal@yahoo.com>
>To: mono-list@ximian.com
>Subject: [Mono-list] Porting Rhino to C#
>New to the list, but I just wanted everyone to know
>that I am starting a project to port the Rhino
>(Javascript) code to C#.  I have been doing Java
>development for over 6 years and when I took a look at
>Mono, I decided that I needed to learn the syntax of
>C#.  It is ridiculously similar to Java so it should
>not be a problem.  Plus, I needed something besides
>"Hello World" programs to get my feet wet.

Last year, I spent some time writing a JavaScript compiler in C#.  I eventually dropped the project, partly due to a profound lack of outside interest.  However, I got pretty far -- I have a working compiler that handles most of the  ECMAScript 3 language, and have implemented most of the core object model.  This is an implementation from scratch, not a port of Rhino, but it might be useful to you.  I'd be happy to send you a copy of the code and give you details as to its current status.  The current implementation compiles JavaScript to C# source code, but the code generator is well isolated behind a set of interfaces, and it should be easy to add direct-to-CIL support.

Here is a web page describing the project:


It is somewhat out of date; again, I'd be happy to give you up-to-date information if you're interested,

-- Steve Newman