vscode-extension-samples VS The-Spiral-Language

Compare vscode-extension-samples vs The-Spiral-Language and see what are their differences.

vscode-extension-samples

Sample code illustrating the VS Code extension API. (by microsoft)

The-Spiral-Language

Functional language with intensional polymorphism and first-class staging. (by mrakgr)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
vscode-extension-samples The-Spiral-Language
35 33
8,125 907
1.2% -
8.7 9.7
5 days ago 2 days ago
TypeScript Python
MIT License Mozilla Public License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

vscode-extension-samples

Posts with mentions or reviews of vscode-extension-samples. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-18.
  • Initializing a Project with Any Git Repository - Code Recycle
    3 projects | dev.to | 18 Mar 2024
    changeList: - type: copy from: url: https://github.com/microsoft/vscode-extension-samples.git match: - /l10n-sample output: /l10n-sample to: ./l10n source: git
  • vscode extension debugging with .test.js files
    1 project | /r/vscode | 1 Oct 2023
    Trying to follow the your first extension. With javascript, I've also tried this on vscode-minimal-example.
  • Creating an OpenAI powered Writing Assistant for VS Code
    3 projects | dev.to | 20 Jun 2023
    For my extension I wanted an experience similar to the Hashnode AI Editor, so adding commands to the VS Code command palette was not what I was after. What helped me here was the sample extensions directory on GitHub. Their code-actions sample was exactly what I had in mind (and it targets only the markdown files).
  • VS Code extension debug and TS sources
    1 project | /r/vscode | 13 Jun 2023
    Unfortunately I've never used the generator when writing extensions :( However, the extension samples do have several examples (like this one) that have a tsconfig.json and a launch.json that should achieve what you want.
  • Help to create a language server
    1 project | /r/ProgrammingLanguages | 28 May 2023
    I remember it being difficult to get started. I remember starting by having the autocomplete work with 3 specific words. I think I used this to learn how the lsp works. There are more complicated examples in the root directory https://github.com/microsoft/vscode-extension-samples/tree/main/lsp-sample
  • AI Assisted Blog with Nuxt, GitHub Codespaces & Actions
    4 projects | dev.to | 23 May 2023
    VSCode CodeActions Sample
  • VSCode-WASM: Implement a first version of a WebShell
    8 projects | news.ycombinator.com | 30 Apr 2023
    Not true of most compilers.

    Can you design compilers that can do this? Sure, i was at IBM when we did visualage, which could do this in other ways, though not optimally.

    Is it common? Not a chance.

    Your claim that increasingly more modern languages have semantic highlighting in real time is simply false - most cannot real time semantic highlight even a 100k file on every keystroke. There are a very small number which can, and it's mostly by luck - they fall down on larger files because they have no incrementality. Meanwhile, this is trivial with tree-sitter for all languages because of it's optimality. If you want to see it in action - turn on semantic highlighting for vscode and type fast - most of the time you will lose syntax highlighting because things can't keep up. see, e.g., https://github.com/microsoft/vscode-extension-samples/issues...

    Again, yes, you could make a compiler for every language which supports a mode that does what tree-sitter does. and people could carefully implement parsers/lexers in each of their favorite compilers and languages that support optimal incremental parsing in them. and then pay the cost of integrating 50 language specific ways of transforming these to work with the editor, basically reinventing what tree-sitter already did right. (As per above, the current semantic token and highlighting support does not resolve this).

    You seem to really otherwise be complaining that you believe it does always generate correct parsers. Like I said, that seems totally orthogonal to anything about the speed issue, and if that's your real concern, have at it.

  • I made a crate to organize my unit tests with it's own VSCode extension.
    1 project | /r/rust | 28 Apr 2023
    After Googling everywhere for how those little gray bastard are called, here's their name : codeLens and are API of VSCode extensions. An excellent example of how to use them is given here. My first codeLens was to open the file. But then I wanted more! Now my extension can create unit tests file when missing, rename them in the filesystem and code, delete them, generate test template, etc...
  • I made a VSCode extension: "markdown-table-rainbow"
    2 projects | dev.to | 21 Apr 2023
    Official sample extension (Decorator)
  • Is there any way to (relatively easily) create syntax highlighting for my own programming language from ANTLR4 grammar?
    2 projects | /r/ProgrammingLanguages | 16 Apr 2023

The-Spiral-Language

Posts with mentions or reviews of The-Spiral-Language. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-22.
  • Does This Language Exist?
    4 projects | /r/ProgrammingLanguages | 22 May 2023
    Try Spiral for a functional response to the system level programming demands. It has an F#, C, and a Python backend.
  • How do I get around the lack of MailboxProcessor in Fable?
    2 projects | /r/fsharp | 12 May 2023
    I did the language server for Spiral using Hopac. It involved turning the entirety of what would have been the sequential compilation pipeline into a promise stream.
  • Are there any good resources on reflection in Fable?
    2 projects | /r/fsharp | 24 Apr 2023
    Sigh, despite using F# for so long, I've always avoided tackling .NET reflection, but I know from experience (of programming in Spiral) that this is a perfect place to introduce these techniques. Type systems like F#'s really hit their limits when it comes to serializing data across platform and language boundaries, so this is The place to demonstrate the use such methods.
  • why isn't functional more popular?
    1 project | /r/fsharp | 1 Mar 2023
    But a language that support programming in a staged functional programming style, like my own Spiral would actually be very suitable for gamedev, I think more than C# itself. It has compiler guarantees for a lot of things that F# doesn't, and what in other languages would require metaprogramming is just regular programming in it.
  • Ask HN: How do I get the most benefit out of my programming language?
    3 projects | news.ycombinator.com | 14 Jan 2023
    I originally started work on [Spiral](https://github.com/mrakgr/The-Spiral-Language) back in late 2016 because I wanted a functional language in which I could program novel AI hardware that hadn't existed at the time, and still doesn't, but it won't be long before it arrives. It took 3 years of full time work to get it to its current standard of quality, and I'd really feel comfortable programming new hardware devices in my favored functional style. I've designed Spiral so it is both extremely powerful, easy to use while being efficient enough to program devices like GPUs that can't even use heap allocation for their objects.

    I am not really concerned about what I'll do when I get access to Tenstorrent chips in six months; my personal needs for the language are met. But I would like it if I could spread the language more broadly, make it useful for people other than myself and get people to sponsor my work on it.

    Here is the value proposition of Spiral.

    It is a high-level functional PL that has some features that other languages don't, but that isn't really the point. On mainstream devices like the x86 ones there are a lot of programming languages that are good, and it would be tedious to use Spiral to compile to such platforms compared to using such languages directly. It is a bit how ReasonML compiles to JS. Back when I tried it I found using Typescript easier to deal with. So that is not where I'd like to go into, though using Spiral would have benefits in certain areas.

    Rather, while reading the [CNX blog](https://www.cnx-software.com/) I realized that while consumer facing AI chips are not here yet, there is a lot of hardware development in the embedded space. They are heterogenous architecture. They have GPU and TPUs in addition to CPUs. And these cross platform interactions within the same system is something that existing languages are really poor at tackling.

    If you look at Python or C#, for example, you can't really program the GPU on them directly. They are CPU focused, and don't have the right semantics and would be too inefficient to program devices like GPUs directly. The way I've designed Spiral is that you can program the CPU and the GPU and whatever else from within the same language.

    It is not suitable for just GPUs, check this [demo out](https://github.com/mrakgr/PIM-Programming-In-Spiral-UPMEM-Demo). I recently did a backend for UPMEM devices, which are the first commercialized Process-In-Memory chips. I've posted the link to this on HN yesterday and on the Reddit embedded sub, but I got zero interest. And this is really a pity because that map kernel I've demoed is actually a big deal. Back when I first started working on Spiral, it took me 1.5 years of full time work to get to the point where I could write a program like that in the language. And without backend nesting of the kind that Spiral offers, it is impossible to write those kinds of programs no matter how skilled one is as a programmer.

    The kind of backend nesting I've demonstrated is not something you can do in F#, Python or any of the languages that I know of. I could easily create such backends for many kinds of hardware. And people would benefit from that because unlike the mainstream computing devices, the hardware coming down the pipeline will have poor language support, nothing on the level of what Spiral offers. For the kinds of heterogeneous architectures I am envisioning, the language designs that are good in the CPU-dominant era, will simply not be suited in the heterogeneous era.

    I need chances to demonstrate how good Spiral is, but I am not sure how to get them. If I do not get them, the future of computing will be a lot worse off. I wasn't there when Cuda was incumbent so I missed the boat on that, but I'd like it if Spiral became dominant on future computing devices. Not because I was the one who made the language, but simply because no other design is as suited for them.

  • PIM (Processing-In-Memory) Course
    1 project | /r/ProgrammingLanguages | 14 Dec 2022
    I am not shameless enough to plug Spiral in the main post, but if you are a PIM company or an user of them and want better PL support and tooling, get in touch with me. I'd love to get a chance to play with them.
  • September 2022 monthly "What are you working on?" thread
    10 projects | /r/ProgrammingLanguages | 1 Sep 2022
    Two months ago I did a ref counted C backend for Spiral so I might as well plug it now. Since then I've gotten tired of 3d art, and decided to just start writing Heaven's Key.
  • Callbacks without closures?
    1 project | /r/ProgrammingLanguages | 20 Aug 2022
    I just happened to notice that Spiral has a C code generator now. Maybe you can just use that since it's designed with staging in mind and avoiding heap allocation.
  • Multistage Programming / First Class runtime compiler support
    6 projects | /r/ProgrammingLanguages | 19 Aug 2022
    Spiral
  • Are there examples of programming language compilers that evaluate the side-effect free parts of the program at compile-time?
    2 projects | /r/ProgrammingLanguages | 14 Aug 2022
    Another term to search for is partial evaluation. An interesting language that by default evaluates everything at compile time is Spiral, developed by someone frequenting this subreddit.

What are some alternatives?

When comparing vscode-extension-samples and The-Spiral-Language you can also consider the following projects:

hy-language-server - Hy Language Server built using Jedhy. works only under Hy1.0a1. For the recent version of Hy, please use https://github.com/sakuraiyuta/hyuga instead.

lust - A fast, auto-optimizing image server designed for high throughput and caching; Now that is hot.

Bracket-Pair-Colorizer-2 - Bracket Colorizer Extension for VSCode

kuroko - Dialect of Python with explicit variable declaration and block scoping, with a lightweight and easy-to-embed bytecode compiler and interpreter.

vscode-snippets-ranger - View and edit all of your snippets in one purty place! Yee-haw!!

gaiman - Gaiman: Text based game engine and programming language

rainbow-delimiters - Emacs rainbow delimiters mode

exp-flow - experimental rule-based programming formalism under construction [Moved to: https://github.com/contrast-zone/canon]

prism.el - Disperse Lisp forms (and other languages) into a spectrum of colors by depth

cish - Go + Generics + Sum Types

vscode-vsce - VS Code Extension Manager

RustScript2 - RustScript is a functional scripting language with as much relation to Rust as Javascript has to Java.