News for hackers. Stuff that matters.
Re:On Repl-Driven Programming (2020) by waf on Friday May 06, 2022 @12:44AM (#31281400)
For what it's worth, modern C# can evaluate top-level statements with no other ceremony. The following is a valid standalone C# program:

  Console.WriteLine("Hello");
For REPLs, there are options like (my own) https://github.com/waf/CSharpRepl which stand on top of the Roslyn compiler infrastructure, which is quite extensive and can easily evaluate standalone functions and statements.

It's still nowhere close to the REPLs of lisp and smalltalk, but it's a step in a more flexible direction.

Re:On Repl-Driven Programming (2020) by Jtsummers on Friday May 06, 2022 @12:51AM (#31281431)
True, I'd forgotten about that. That was in the last major release, right?