SharpLab
conjure
SharpLab | conjure | |
---|---|---|
106 | 71 | |
2,560 | 1,627 | |
- | - | |
7.8 | 8.3 | |
4 months ago | 15 days ago | |
C# | Fennel | |
BSD 2-clause "Simplified" License | The Unlicense |
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.
SharpLab
-
Is .NET just miles ahead or am I delusional?
Do these all compile to the exact same thing?
https://sharplab.io/#v2:CYLg1APgAgTAjAWAFBQMwAJboMLoN7LpHoCW...
Yes, so you are right.
-
Generating C# code programmatically
Recently, while creating some experimental C# source code generators (xafero/csharp-generators), I was just concatenating strings together. Like you do, you know, if things have to go very quickly. If you have a simple use case, use a formatted multi-line string or some template library like scriban. But I searched for a way to generate more and more complicated logic easily - like for example, adding raw SQL handler methods to my pre-generated DBSet-like classes for my ADO.NET experiment. You could now say: Use Roslyn and that's really fine if you look everything up in a website like SharpLab, which shows immediately the syntax tree of our C# code.
-
The One Billion Row Challenge – .NET Edition
One results in MOVSX, the other in MOVZX [1]. The difference thus is sign/zero extension when moving to the larger register. However, they seem to perform pretty much identical if I'm reading Agner Fog's instruction tables correctly.
[1] https://sharplab.io/#v2:C4LghgzgtgPgAgJgIwFgBQcDMACR2DC2A3ut...
-
Any programs or websites to practice programming?
If you don't have an IDE, you can use SharpLab.io or dotnet fiddle
- Por debaixo do capô: async/await e as mágicas do compilador csharp
-
C# Testing Playgrounds for old versions?
The closest online tool I can think of would be SharpLab, but you can only choose between Roslyn's git branches instead of C# versions.
- The combined power of F# and C#
-
TypeScript 5.2's New Keyword: 'using'
Your code is destructuring two properties and discarding one of them. It doesn't work with a single property: https://sharplab.io/#v2:C4LgTgrgdgNAJiA1AHwAICYAMBYAUBgRj2Nw...
I think that records don't generate a deconstruct method when they only have one property, but even if you manually define one you'll get an error on `var (varName) = ...`
-
Tips for entry-level .net developer?
- LinqPad is great and I love, but, IMO, it is not the best tool to start with. It does not provide intellisense or debugger in the free version. Assuming you do not want to pay for this licence just to play a little with the language, I'd suggest https://sharplab.io/. It is not as powerfull as LinqPad, but at least it gives you suggestions.
- Running a XUnit test with C#?
conjure
- Racket Language
-
Lisp Programming with Vim (2019)
I was going to say, in 2023 I looked around and for Clojure at least Conjure seemed like the best option.
https://github.com/Olical/conjure/wiki/Client-features
Unfortunately, in the table linked above the CL support in Conjure is so-so. I'm curious what people use for CL or if it's still slimv/vlime.
I did a write up configuring Conjure with neovim here if that's something that's appealing:
- Conjure: Evaluating code within your running program
- Interactive Lisp family languages evaluation for Neovim
-
Existing non-lua plugins examples
The excellent olical/conjure plugin is now lua (via fennel..) but it was originally written in clojure and you can still see the code on the legacy-jvm branch https://github.com/Olical/conjure/tree/legacy-jvm
-
Configuring Neovim with Fennel
Install conjure plugin
-
Spinneret: A modern Common Lisp HTML generator
> You mean that you accidentally "overwrite" (declare again) a function with the same name as the one you're now declaring, but you didn't mean to?
I mean I use let to bind a variable with the same name as a function. This is idiomatic in Common Lisp, and totally breaks things in most other languages.
> This I'm also curious about, what exactly SLIME gives you that for example Conjure for neovim wouldn't already? Maybe something about continuations perhaps? That seems to be the only feature I've seen from Common Lisp (besides actually being able to compile to binaries) that I'd love to have in Clojure.
I watched a video and it does seem rather complete, but [1] indicates there is no debugger? That's a rather glaring omission. I also don't see a profiler mentioned, and SLIME with SBCL gives me a profiler (down to the assembly level if needed). I'm sure Java in general has great profiling tools, but how are the integrated into the Clojure system?
As an aside, by "continuations" did you mean "restarts"? First-class continuations are a feature of scheme, not CL. Indeed a huge boost to CL productivity is simply allowing you to handle an exception before the stack is unwound.
1: https://github.com/Olical/conjure/wiki/Client-features
-
clojure's like plugin for golang?
Does anyone know if there is a plugin like this one https://github.com/Olical/conjure for golang? Thank you in advance!
-
Looking for documentation on writing a swank client
i know you said you didn't want source of other clients but this one is pretty simple so sharing just in case. it's from a nvim plugin https://github.com/Olical/conjure/blob/master/fnl/conjure/client/common-lisp/swank.fnl
- `yarepl.nvim`, yet Another REPL for Neovim, flexible, supporting multiple paradigms to interact with REPLs, native dot repeat (without `vim-repeat`), telescope integration, and more!
What are some alternatives?
JITWatch - Log analyser / visualiser for Java HotSpot JIT compiler. Inspect inlining decisions, hot methods, bytecode, and assembly. View results in the JavaFX user interface.
cider-nrepl - A collection of nREPL middleware to enhance Clojure editors with common functionality like definition lookup, code completion, etc.
Roslyn - The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
vim-scriptease - scriptease.vim: A Vim plugin for Vim plugins
.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
vimspector - vimspector - A multi-language debugging system for Vim
BenchmarkDotNet - Powerful .NET library for benchmarking
rebel-readline - Terminal readline library for Clojure dialects
interactive - .NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.
aniseed - Neovim configuration and plugins in Fennel (Lisp compiled to Lua)
csharplang - The official repo for the design of the C# programming language
kaboom.js - 💥 JavaScript game library