C# Interpreter
-
No, it's not a programming question. I just wanted to know if someone of you knows a good C# 2.0 interpreter, something I could use to perform tests on-the-fly. I googled a while, but I didn't find anything fitting my needs. It should be simple and work just like IronPython, but in C# (I and Python are not good friends) :) Something strongly-typed would be the best for me. Currently I'm using Windows PowerShell, but it's not very handy for that purpose (too verbose, and too shell-like, obviously). I know I could do it myself (I already did something similar ages ago) but I don't have the time. Any suggestion? Thanks.
________________________________________________ Personal Blog [ITA] - Tech Blog [ENG] Developing ScrewTurn Wiki 2.0 (1.0.10 is out)
-
No, it's not a programming question. I just wanted to know if someone of you knows a good C# 2.0 interpreter, something I could use to perform tests on-the-fly. I googled a while, but I didn't find anything fitting my needs. It should be simple and work just like IronPython, but in C# (I and Python are not good friends) :) Something strongly-typed would be the best for me. Currently I'm using Windows PowerShell, but it's not very handy for that purpose (too verbose, and too shell-like, obviously). I know I could do it myself (I already did something similar ages ago) but I don't have the time. Any suggestion? Thanks.
________________________________________________ Personal Blog [ITA] - Tech Blog [ENG] Developing ScrewTurn Wiki 2.0 (1.0.10 is out)
There's http://www.codeproject.com/csharp/csi.asp[^] and there's also http://www.paxscript.net/[^]. I don't think that they are fully .NET 2 compliant, but they should offer you a useful starting point.
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.
-
No, it's not a programming question. I just wanted to know if someone of you knows a good C# 2.0 interpreter, something I could use to perform tests on-the-fly. I googled a while, but I didn't find anything fitting my needs. It should be simple and work just like IronPython, but in C# (I and Python are not good friends) :) Something strongly-typed would be the best for me. Currently I'm using Windows PowerShell, but it's not very handy for that purpose (too verbose, and too shell-like, obviously). I know I could do it myself (I already did something similar ages ago) but I don't have the time. Any suggestion? Thanks.
________________________________________________ Personal Blog [ITA] - Tech Blog [ENG] Developing ScrewTurn Wiki 2.0 (1.0.10 is out)
Arjan
-
No, it's not a programming question. I just wanted to know if someone of you knows a good C# 2.0 interpreter, something I could use to perform tests on-the-fly. I googled a while, but I didn't find anything fitting my needs. It should be simple and work just like IronPython, but in C# (I and Python are not good friends) :) Something strongly-typed would be the best for me. Currently I'm using Windows PowerShell, but it's not very handy for that purpose (too verbose, and too shell-like, obviously). I know I could do it myself (I already did something similar ages ago) but I don't have the time. Any suggestion? Thanks.
________________________________________________ Personal Blog [ITA] - Tech Blog [ENG] Developing ScrewTurn Wiki 2.0 (1.0.10 is out)
Shameful plug: http://www.codeproject.com/csharp/CSharpScript.asp[^] :-> Fully .NET 2 compliant (should also support .NET 3 as well but not tested because I only just thought of it :doh:) Also allows creation of functions / methods etc as if they were in a static class, which is all it does essentially so might be useful for testing. Only disadvantage is that you have to save stuff to a file, I found the fastest way to do stuff is to use SciTE to write the code and then execute it. If only SciTE didn't have to save the stuff to a file before executing it (or at least saved it to a temporary file) then it'd be great.
-
Shameful plug: http://www.codeproject.com/csharp/CSharpScript.asp[^] :-> Fully .NET 2 compliant (should also support .NET 3 as well but not tested because I only just thought of it :doh:) Also allows creation of functions / methods etc as if they were in a static class, which is all it does essentially so might be useful for testing. Only disadvantage is that you have to save stuff to a file, I found the fastest way to do stuff is to use SciTE to write the code and then execute it. If only SciTE didn't have to save the stuff to a file before executing it (or at least saved it to a temporary file) then it'd be great.
It seems nice, I'll give it a try as soon as possible. Saving the script in a file might not be a problem if I could find a way to automate the process.
________________________________________________ Personal Blog [ITA] - Tech Blog [ENG] Developing ScrewTurn Wiki 2.0 (1.0.10 is out)
-
It seems nice, I'll give it a try as soon as possible. Saving the script in a file might not be a problem if I could find a way to automate the process.
________________________________________________ Personal Blog [ITA] - Tech Blog [ENG] Developing ScrewTurn Wiki 2.0 (1.0.10 is out)
-
Shameful plug: http://www.codeproject.com/csharp/CSharpScript.asp[^] :-> Fully .NET 2 compliant (should also support .NET 3 as well but not tested because I only just thought of it :doh:) Also allows creation of functions / methods etc as if they were in a static class, which is all it does essentially so might be useful for testing. Only disadvantage is that you have to save stuff to a file, I found the fastest way to do stuff is to use SciTE to write the code and then execute it. If only SciTE didn't have to save the stuff to a file before executing it (or at least saved it to a temporary file) then it'd be great.
Google[^] turns up a few more: Scripting with C#[^] C# Script (the missing puzzle piece)[^] IronPython is an excellent tool for working with .NET. The only advantage I could think of for C# Script would be that you could copy your experimental code into your project as you go.
Matt Gerrans