thirteen-letters
CSharpRepl
thirteen-letters | CSharpRepl | |
---|---|---|
2 | 14 | |
3 | 2,514 | |
- | - | |
7.7 | 8.3 | |
10 months ago | 15 days ago | |
Common Lisp | C# | |
GNU Affero General Public License v3.0 | 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.
thirteen-letters
-
It's 2023, so of course I'm learning Common Lisp
Note that Common Lisp doesn’t require functional programming. Mutation, side effects, etc. are fine. I just write imperative code for the most part.
My code was quick and dirty, so I don’t think anyone will learn anything from it, but it’s here: https://github.com/jaredkrinke/thirteen-letters
-
Show HN: Multiplayer Word Scramble in Browser, Using Common Lisp
Thirteen Letters is a web-based, competitive word scramble game I made for the Lisp Game Jam (Spring 2023) [0].
The gameplay isn't novel, but it's a multiplayer browser game that's written in 100% Common Lisp (cf. the source code [1]). The front end uses Parenscript, Spinneret, and cl-css to translate s-expressions to JavaScript, HTML, and CSS, respectively. The back end is built using the Hunchentoot web server, Hunchensocket for WebSockets, and yason for JSON, running on SBCL.
I'm fairly new to Common Lisp, so I'm not qualified to dispense advice, but I found having a REPL on the live service to be convenient for monitoring activity, toggling settings, and fixing minor bugs on the fly. It's a lot of fun for hobby projects, although I'd be much more cautious with anything important--I definitely broke the live service a few times by not being careful! I posted a more thorough braindump elsewhere [2].
Let me know what you think! I'm happy to answer any questions. I'll play for a while, to hopefully give people a moderately worth opponent :)
[0] https://itch.io/jam/spring-lisp-game-jam-2023/rate/2103016
[1] https://github.com/jaredkrinke/thirteen-letters
[2] https://log.schemescape.com/posts/game-development/lisp-game...
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?
ql-https - HTTPS support for Quicklisp via curl
Cocona - Micro-framework for .NET console application. Cocona makes it easy and fast to build console applications on .NET.
slyblime - Interactive Lisp IDE with REPL, Inspector, Debugger and more for Sublime Text 4.
replay-csharp - An editable C# REPL (Read Eval Print Loop) powered by Roslyn and .NET Core
tools.decompiler - A decompiler for clojure, in clojure
Gui.cs - Cross Platform Terminal UI toolkit for .NET
yesod-persistent - A RESTful Haskell web framework built on WAI.
rcf - RCF – a REPL-first, async test macro for Clojure/Script
alive - Common Lisp Extension for VSCode
gui.cs - Cross Platform Terminal UI toolkit for .NET [Moved to: https://github.com/gui-cs/Terminal.Gui]
DCEVM - Dynamic Code Evolution VM for Java 7/8
clojerl - Clojure for the Erlang VM (unofficial)