Hi Andy,
Thanks for the pointer. This is definitely very useful for me!
-tony


From: Andy Knowles <[EMAIL PROTECTED]>
Reply-To: "Unmoderated discussion of advanced .NET topics."
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] ILASM support lib
Date: Thu, 5 Aug 2004 15:29:56 +0800

Hi,
For 3), have a look at antlr.  It's a parser generator implemented in java,
c++ and c# (emitting a parser in the appropriate language each time).

I've only used the java version, but its very powerful.

www.antlr.org

Andy

----- Original Message -----
From: "Tony Hal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 04, 2004 10:18 AM
Subject: [ADVANCED-DOTNET] ILASM support lib


I am planning to write a compiler for a simple language using managed codes which emits managed assembly. I don't want to start everything from scratch, I want to leverage the code support from library/tool/existing codes if available.

Questions to ilasm experts out there:

1. Is there a library for emitting metadata & il codes directly to the pe
files ? The workaround is to have the tool generate the ilasm text file
first, and then feed it to ilasm.exe to generate the pe file. But this is
not desirable.

2. Similar to 1, except this is for the peverify.exe functionalities.
Basically I am looking for mdvalidator and ilverifier programmatic access.

3. Is there a managed code tool for parser generator (like yacc/bison) ?
(The generated parser is preferrably in C#).


Thanks /tony

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com
Some .NET courses you may be interested in:

Essential .NET: building applications and components with CSharp
August 30 - September 3, in Los Angeles
http://www.develop.com/courses/edotnet

View archives and manage your subscription(s) at http://discuss.develop.com

=================================== This list is hosted by DevelopMentorŪ http://www.develop.com Some .NET courses you may be interested in:

Essential .NET: building applications and components with CSharp
August 30 - September 3, in Los Angeles
http://www.develop.com/courses/edotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to