Live data from Hacker News

CShell: A simple, yet powerful, C# scripting IDE

cshell.net

21–30 of 90 posts

Re: CShell: A simple, yet powerful, C# scripting IDE

#23
post #9

A combined REPL and editor for C# looks useful. I will try it next time I have some spare time. The name is confusing. A C shell already exists ( http://en.wikipedia.org/wiki/C_shell ). An alternative name could be CSharpShell. Btw, while googling that name, I found CsharpRepl, which seems to be a somewhat similar tool.

[deleted]

Re: CShell: A simple, yet powerful, C# scripting IDE

#24

I've just started using scriptcs ( http://scriptcs.net/ ) and this looks pretty similar. I'm not sure about the name. CShell implies C not C#.

Looks like uppercased CS is a play on a file extension and a shortcut sometimes used for C#. Personally, I read it as CS-hell.

Re: CShell: A simple, yet powerful, C# scripting IDE

#25

Not very often you find a hedge fund behind an open source project. I guess it makes sense really, as many quants will be happy to mess around in a python shell, having a C# shell will probably play nicer with the rest of the companies infrastructure.

There are a few hedge funds that are quite happy to contribute open-source to the world.

Blue Mountain Capital for example;

https://github.com/BlueMountainCapital

One of their projects is Deedle; an F#/C#-equivalent of the Python 'Pandas' data frame package. Which would in fact make a nice complement to CShell I imagine.

Jane Street would be another choice: http://janestreet.github.io/

Their work on OCaml is currently trending on HN.

There are others I am sure, don't have any links handy.

Who'd a thunk it, hedge funds occasionally produce some social good ;-)

Re: CShell: A simple, yet powerful, C# scripting IDE

#27
post #3

I should look into it, but it seems to support multiple lines. So the ideal use case would be to add a seperate window into Visual Studio

Wouldn't that more or less be the Immediate Window that Visual Studio already has? Other than the multiple lines you mention. :) I took a look at this to see if it can replace LinqPad, which is similar. LinqPad allows for more than C# alone (VB.net, SQL, C# and F#) but it has no code completion (unless you buy it) which CShell does have. This seems like a useful tool!

I highly recommend buying a LINQPad licence. I use it several times a day now and it's so much better with the extra features.

My favourite feature is the ability to point it at a DLL which has an entity data model in it - and then work with that model 'live' as if you were inside app code.

Normally, to do that, you'd have to put a breakpoint in your app and use VS's Immediate window - which doesn't support useful stuff like lambdas.

Re: CShell: A simple, yet powerful, C# scripting IDE

#28
post #5

What "I/O error occurred"? I mean the IntelliSense hint on the screenshot.

Looks to me like the description of `System.IO.IOException`, which is the possible exception. I would guess the tool tips are slightly broken in that it doesn't list the exception class name or put it on a new line. There you go, simple thing to contribute a fix for!

Good point, I might go ahead and make a patch.
Post reply on HN