Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/waf/replay-csharp
An editable C# REPL (Read Eval Print Loop) powered by Roslyn and .NET Core
https://github.com/waf/replay-csharp
csharp developer-tools repl roslyn wpf
Last synced: 22 days ago
JSON representation
An editable C# REPL (Read Eval Print Loop) powered by Roslyn and .NET Core
- Host: GitHub
- URL: https://github.com/waf/replay-csharp
- Owner: waf
- License: mit
- Created: 2017-09-10T16:01:25.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-10-11T20:49:49.000Z (about 2 years ago)
- Last Synced: 2023-03-11T13:53:13.874Z (over 1 year ago)
- Topics: csharp, developer-tools, repl, roslyn, wpf
- Language: C#
- Homepage:
- Size: 199 MB
- Stars: 71
- Watchers: 5
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Replay
A roslyn-powered editable [REPL](https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop) for C#.
## Features
- Correct mistakes on previous lines, even after you evaluate them.
- Re-evaluate a line multiple times by hitting ctrl + enter
- Intellisense and method signature documentation
- Syntax highlighting
- Reference assemblies by `#r path/to/my.dll`
- Reference nuget packages by `#nuget MyPackage`
- Pretty-print evaluation results
- Export your REPL session as C# or Markdown
- Detect incomplete expressions (e.g. `if (condition) {`), and insert a "soft newline" rather than evaluating the incomplete expression.## Running
Replay requires Windows 10 (due to WPF).
- Download Replay from the [Releases page](https://github.com/waf/replay-csharp/releases) and unzip the archive.
- Run Replay.exe and type `help` to get started!
- The very first run of Replay will be slow (around 7 or 8 seconds), but subsequent starts should be much faster (1 second or less).If you'd like to read more about what Replay can do, check out the [Usage page](https://github.com/waf/replay-csharp/wiki/Usage) on the wiki.
## Building from source
To build from source, clone the repository and run `dotnet build`. See the [Contributing page](https://github.com/waf/replay-csharp/wiki/Contributing) on the wiki for more information.
## Attribution
- Application logo by 588ku from [pngtree.com](https://pngtree.com/).