Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. C# Interpreter

C# Interpreter

Scheduled Pinned Locked Moved The Lounge
questioncsharppythonwindows-adminlinux
7 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dario Solera
    wrote on last edited by
    #1

    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)

    P A E 3 Replies Last reply
    0
    • D Dario Solera

      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)

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • D Dario Solera

        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)

        A Offline
        A Offline
        Arjan Schouten
        wrote on last edited by
        #3

        Snippet Compiler?[^]

        Arjan

        1 Reply Last reply
        0
        • D Dario Solera

          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)

          E Offline
          E Offline
          Ed Poore
          wrote on last edited by
          #4

          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.

          D M 2 Replies Last reply
          0
          • E Ed Poore

            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.

            D Offline
            D Offline
            Dario Solera
            wrote on last edited by
            #5

            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)

            E 1 Reply Last reply
            0
            • D Dario Solera

              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)

              E Offline
              E Offline
              Ed Poore
              wrote on last edited by
              #6

              That's the only problem I found with it, but SciTE does prompt you to save the file before executing it if it hasn't already been saved so it might do what you want.  Just involves a few more clicks.

              1 Reply Last reply
              0
              • E Ed Poore

                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.

                M Offline
                M Offline
                Matt Gerrans
                wrote on last edited by
                #7

                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

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups