rcf
CSharpRepl
rcf | CSharpRepl | |
---|---|---|
11 | 14 | |
266 | 2,523 | |
0.8% | - | |
0.0 | 8.3 | |
7 months ago | about 21 hours ago | |
Clojure | C# | |
MIT License | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rcf
-
What makes Clojure better than X for you?
After doing some interactive development, I will occasionally reuse some of this example code and make it into actual, formalised tests in the test namespaces. Some people have started using the comment form for actual tests too, e.g. hyperfiddle/rcf or matthewdowney/rich-comment-tests.
-
Playing with datafy/nav on java.io.File in a nextjournal notebook
Test lib is https://github.com/hyperfiddle/rcf, which had a release last week – the release is a noop from userland but has a bunch of infrastructure we need (RCF now implements the Clojure/Script analyzer to extend Clojure syntax so that (do x := y) is an async test assertion at any depth in the form.)
-
On Repl-Driven Programming
Not to make you feel too bad, but based on your sentence you may appreciate a recent addition to my personal REPL toolkit in Clojure which I very much enjoy.
You may remember the rich comment forms in Clojure development as a communication tool to your future self and others. Now someone made them testable https://github.com/hyperfiddle/rcf#readme
- A solution on how to setup RCF testing lib with lein
- RCF is now stable (REPL-first test macro for Clojure/Script, that also makes async code easy to work with at the REPL without callbacks)
- Contextualizing Clojure in the small and the large
-
ClojureScript repl is very slow
I use shadow-cljs server for both node and browser, the REPL is instant. There is some configuring though, you can probably get help in slack. (Shameless plug – JS has lots of async, to tame that at the REPL try https://github.com/hyperfiddle/rcf)
- RCF (turn your Rich Comment Forms into tests) now has async test support. Develop async expressions at the REPL with the full Clojure interactive experience
-
Spec vs. Preconditions
If you have concerns about the correctness of get-book-tags in isolation I would suggest https://github.com/hyperfiddle/rcf,
-
Rich 4Clojure – A Rich Comments version of 4Clojure
Based on https://github.com/hyperfiddle/rcf, a REPL-first test macro for Clojure/Script which turns your Rich Comment Forms into tests (in the same file as your functions). It's good, try it!
CSharpRepl
- Is .NET just miles ahead or am I delusional?
-
The best C# REPL is in your terminal
The C# REPL I'm talking about is simply called... C# REPL. It's an open-source project created by Will Fuqua, and as of today, it has over 2k GitHub stars. It is distributed as a .NET tool and is cross-platform. In this blog post, I'm going to show you how to install it on Windows Terminal, but you can install it on any terminal emulator you prefer.
-
It's 2023, so of course I'm learning Common Lisp
> The repl driven workflow is amazing and the lisp images are rock solid and highly performant.
do people not realize that basically everything vm/interpreted language has a repl these days?
https://www.digitalocean.com/community/tutorials/java-repl-j...
https://github.com/waf/CSharpRepl
https://pub.dev/packages/interactive
not to mention ruby, python, php, lua
hell even c++ has a janky repl https://github.com/root-project/cling
- How is C# interactive compared to F# REPL?
-
Short video on LINQPad AI
Let me introduce you to my lord and savior https://github.com/waf/CSharpRepl
-
Anyway to run LinqPad 7 with .net 8?
Not the answer you’re looking for, but I haven’t been able to run LinqPad since I moved to Mac OS. Polyglot notebooks plug-in for VS Code comes very close to LinqPad, or if you don’t mind Terminal/CommandLine csharprepl is amazing.
- Run C# Straight from Command line! (C# REPL)
- Run C# Straight from Commandline! (C# REPL)
- Best REPL for a language
-
On Repl-Driven Programming
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.
What are some alternatives?
scittle - Execute Clojure(Script) directly from browser script tags via SCI
Cocona - Micro-framework for .NET console application. Cocona makes it easy and fast to build console applications on .NET.
snoop - Function instrumentation using Malli schemas.
replay-csharp - An editable C# REPL (Read Eval Print Loop) powered by Roslyn and .NET Core
logseq - A local-first, non-linear, outliner notebook for organizing and sharing your personal knowledge base. Use it to organize your todo list, to write your journals, or to record your unique life.
Gui.cs - Cross Platform Terminal UI toolkit for .NET
Light Table - The Light Table IDE ⛺
gui.cs - Cross Platform Terminal UI toolkit for .NET [Moved to: https://github.com/gui-cs/Terminal.Gui]
martian - The HTTP abstraction library for Clojure/script, supporting OpenAPI, Swagger, Schema, re-frame and more
clojerl - Clojure for the Erlang VM (unofficial)
rich-comment-tests - RCT turns rich comment forms into tests.
Clockin - Simple CLI to organize work schedules 🕖