The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
Expressions lib in .NET only handles expressions, not statements, nor type, field and method declarations. It also renders to IL.
The codedom does not render to IL (though i'm thinking of making a codedom for that) but it renders to one of X target languages (stock C# or VB but extensible), and it handles expressions, statements, types - basically entire groups of code "files" meant for the compiler.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
Could you make a version that I could write something in Fortran-77 and convert it to C#?
I only ask because I used to really enjoy writing in FORTRAN in the old days, but perhaps that was more because of what I was writing than what I was writing it in, hmmm... (An expert system for flight test analysis of jet fighters - whooooosh!)
Not really serious - just wondering.
- I would love to change the world, but they won’t give me the source code.
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun