kharp – k version 3 Language Interpreter in C#

(github.com)

41 points | by tosh 1 day ago

5 comments

  • small_model 11 minutes ago
    Why C#? would be good if you added explanation of the reason.
  • Pompidou 53 minutes ago
    Great. But you have to simplify the sources.
  • reconnecting 3 hours ago
    I don't see how this codebase could possibly be "inspired on K" (as the author writes). k is known to have ascétique aesthetic.

    Also, it's `k` as per Arthur Whitney's website (1).

    1. https://k.nyc/

    • adrian_b 40 minutes ago
      I doubt this, because for example in this interview with Arthur Whitney from 2009, his languages are named "K" and "Q":

      https://spawn-queue.acm.org/doi/pdf/10.1145/1515964.1531242

      The same in this article from 2004:

      https://web.archive.org/web/20070101213150/http://vector.org...

      The present site of KX has some mentions about a "q", so perhaps they have changed the spelling at some point, but at least many years ago I remember seeing only "K" and "Q".

      Perhaps "k" and "q" refer to the interpreters of the languages, not to the languages themselves.

      EDIT: TFA has links to a reference manual and a user manual from 1998, which use "K programming language" for the language and "K environment" for the program that includes the user interface and the K interpreter, so I have no idea who has ever used "k" for anything related to this.

      • reconnecting 30 minutes ago
        Perhaps this was prior to shakti times.

        I have a letter from Mr. Whitney, and I'd say he doesn't use the shift key when typing — therefore I assume it's k.

  • dvh 3 hours ago
    What happened with the emoji galore?
    • troupo 3 hours ago
      Likely AI-generated. LLMs love putting emojis on lists.

      Edit. From Authorship section:

      This ksharp interpreter implementation was coded originally by SWE-1.5 and 1.6 with significant contributions from Kimi K-2.5 and 2.6 and Claude Opus/Sonnet 4.5, 4.6 and 4.7 based on specifications, direction, prompts, comments and manual fixes provided by Eusebio Rufian-Zilbermann.

    • nurettin 2 hours ago
      Feels like 7/2025 claude. Nowadays it doesn't do that very often, only when you get it into a happy-go-lucky mode.
    • lpcvoid 3 hours ago
      [dead]
  • FrustratedMonky 29 minutes ago
    just a question.

    couldn't this have been easier by expanding F#? or were they trying to hit a wider audience with C#?