267 pointsby dang25 days ago21 comments
  • chuckadams25 days ago
    For a moment I thought there was actually a new language called $LANG, which would have been wonderful.
    • trollbridge25 days ago
      I was thinking how it would be odd to have a programming language called en_AU.UTF-8.
      • mixmastamyk25 days ago

          echo “G’day World!”
        • trollbridge24 days ago
          The localisation guide for IBM VisualAge C++ went through an example of defining a new language called “Texan”, and then replacing “Hello World” with “Howdy”.
        • anotherevan25 days ago
          drawl “G’day mate.”
        • dghf24 days ago
          All error messages begin "Strewth!"
        • edoceo25 days ago
          *G'day mate
    • Lammy25 days ago
      There's a language called SLang inside Goldman Sachs used for their SecuritiesDB, and that's how I read it at first glance even with the dollar sign lol https://en.wikipedia.org/wiki/Michael_Dubno#SecDB
      • snthpy24 days ago
        That's what I thought too. The $ sign seemed quite appropriate given Goldman's line of business.
      • wahern25 days ago
        See also https://en.wikipedia.org/wiki/S-Lang (https://www.jedsoft.org/slang/index.html), a (stack-based) scripting language implementing a terminal UI toolkit. Mutt can use use S-Lang instead of ncurses.
      • dang25 days ago
        I wonder what a program written in that language looks like.
        • rayxi27182825 days ago
          Slang? The IDE looked like Turbo C++ of old (blue, text based interface). Shortcuts are weird, so you need to remap keys to get sane defaults.

          Probably the most unique feature is that the language supports spaces in identifiers. So you'd have variables like "Option Portfolio Risk" or functions like "Calculate Estimated PnL". Visually obviously different from Python, but it gave me Pythonic vibes.

          It's also nice that it supports preconditions, so you can specify the valid range of arguments etc. It has some kind of OOP support but tbh it felt bolted on (understandably).

          But the most value adding, IMHO, is the DevEx and deep integration with SecDb. Say what you want about the DOS-like IDE and the old (20+ years old for sure, maybe 30+) language, but you can deploy your code SO easily into production, with guardrails in place.

          Out of curiosity, I implemented a toy language (thanks to Robert Nystrom's Crafting Interpreters) that supports spaces in identifiers (https://github.com/rayfdj/gaul-lang) as well. Makes for an interesting weekend coding project, and it helps me understand more the tradeoffs that Slang designers must have gone through.

          • andrekandre24 days ago

               fn Calculate Portfolio Risk(Initial Investment, Risk Factor) {
                  let My Very Special Adjustment = 0.95
                  Initial Investment * Risk Factor * My Very   Special Adjustment
              }
            
            that is so cool; this is actually something i've been looking for a long time

            and jam karet looks interesting; `if input ~= "yes"` made me smile.

            i also liked the keyword replacement for multiple languages as well, that could be super usefull for children learning programming i'd think!

            • rayxi27182824 days ago
              Thank you for the kind words! I had great fun implementing it. Robert Nystrom is such a hero for writing Crafting Interpreters.
              • andrekandre21 days ago
                its a big inspiration for me because thats on my list of things to do

                i tried your repo and it works just as you say; so cool

                i may introduce it to some acquaintances who have trouble learning programming caused by reading english characters/grammar troubles

      • charleszw24 days ago
        See also the Slang shader language, it's a pretty recent development! https://shader-slang.org
    • Radle25 days ago
      Same! My first thoughts: "Is this language pronounced Lang or Slang? Slang is actually a cool name for a new programming language..."
    • fermigier25 days ago
      There was a Linux distribution (briefly) called "$DISTRO". Known today as "Ubuntu".
    • librasteve24 days ago
      well Raku has the Slangify module https://raku.land/zef:lizmat/Slangify
    • null_onset25 days ago
      The $LANG programming language, where the keywords are all just in-jokes that change from week to week.
      • lproven24 days ago

            darmok := jalad[talaka]
        • benj11124 days ago
          When(walls == fell)
    • 24 days ago
      undefined
    • hashmush24 days ago
      I use that every day at $WORK!
    • blumenkraft24 days ago
      Goldman Sachs does have a language called Slang
    • cvoss25 days ago
      Likewise. Thought it'd be pronounced "slang", and thought the semantics would be you define LANG=<name of a language> at the top of the file (like a hashbang) and then write in whatever language you please. $LANG is a neato language because it has all the coolest features rolled into one unified design: polymorphic lifetime borrowing, endofunctor monoid monads, (stacked) coroutines, and even quantum data types.
  • johnfn25 days ago
    This is a fun false positive :) https://news.ycombinator.com/item?id=34675259
    • _false24 days ago
      Not because it's not a PL, but because:

      > This article doesn't use the name "Lisp" enough. The language with the best chance of lasting a long time is the one with the simplest syntax. That is Lisp...

    • dang25 days ago
      Whoops! I tried to catch those but yes.
      • sjosh25 days ago
        Another false positive: https://news.ycombinator.com/item?id=13252407

        Thanks for making this!

        • dang25 days ago
          Not sure if I should remove those or leave them in for color!

          I did remove "The Perfect Programming Language" and "The Enterprise Programming Language" and a few others that weren't real languages. "Enterprise" is a great name for a programming language though.

          • hiccuphippo24 days ago
            > Enterprise

            A language to go where no language has gone before.

          • rchard2scout24 days ago
            One more false positive: https://news.ycombinator.com/item?id=16860445

            "Value in Learning Yet Another" also seems like a great name for an esoteric programming language.

            • dang24 days ago
              It reminds me of the usernames like "Your Own Mother How Could You" in FPS games from 20 years ago.

              "You killed Your Own Mother How Could You"

  • Animats25 days ago
    See "The Your Name Here Story" (1960) [1] It's a generic industrial film.

    [1] https://archive.org/details/YourName1960

  • dang25 days ago
    Yikes, I tanked HN's performance by posting this! Probably because of loading all those old threads over and over.

    I've moved the URL out of the link at the top, which seems to be helping for now.

    (now I have to decide whether to go down another rabbit hole and fix that)

    • _false24 days ago
      https://news.ycombinator.com/showlang is the first time I've seen a direct URL that adds an element to the navbar. Did you make this HN feature just for showlang or are there any other similar links?
      • dang24 days ago
        See https://news.ycombinator.com/lists, linked from the footer. Those are the main ones.

        I won't add /thelang and /showlang unless we have a way of keeping them up to date, which we don't (for now) have.

      • clusmore24 days ago
        There is also shownew and highlights at least, I think maybe a few others still
    • 25 days ago
      undefined
  • almusdives24 days ago
    Just wanted to say this post has caused a huge spike in traffic to my language's website: a dizzying ~40 visitors per day up from ~0 haha!
  • wizzwizz425 days ago
    So these are just static pages, not new entries for https://news.ycombinator.com/lists?
    • dang25 days ago
      Alas, yes, at least for now. Seems like an LLM could be good at finding them though. A regex is probably too crude.
      • wizzwizz425 days ago
        The old lesson from the Wizard of Oz experiment says that a regular expression probably isn't too crude, if you're willing to take the time to design it. Though you could probably get away with running a regex golf algorithm (e.g. https://nbviewer.org/url/norvig.com/ipython/xkcd1313.ipynb) over the list of matching titles, and the union of some list of non-matching-but-close titles (chosen to get good discrimination) with some list of way-off titles (to avoid overfitting). (You could treat the whole HN title database, other than the ones you've identified, as losers, but that risks hardcoding the absence of a post you accidentally missed, and would also take slightly longer – though Peter Norvig's first algorithm takes time linear in the number of losers, so it might not be too expensive. I don't know how expensive his improved versions are, given large lists of losers: https://nbviewer.org/url/norvig.com/ipython/xkcd1313-part2.i.... Better algorithms are surely available.)
    • dredmorbius24 days ago
      That was going to be my suggestion as well.
  • gabrielsroka23 days ago
    My "Pith" programming language didn't make the cut

    https://news.ycombinator.com/item?id=32681150

    Webpage using Pith instead of JavaScript to fetch HN Polls using the HN Search API

    https://gabrielsroka.github.io/hnpolls_pith.html

    Source

    https://github.com/gabrielsroka/gabrielsroka.github.io/blob/...

    • dang23 days ago
      Added now!
  • gdotdesign24 days ago
    Thanks for putting these lists together. When Mint reaches 1.0 I'll use the same format to present it here.
  • zahlman25 days ago
    That reminds me, I really should blog my design ideas for my spiritual successor to Python....
  • fsckboy25 days ago
    the headline made me think somebody else came up with my idea. I wanted to a create a language whose name was langlang. to understand how to parse it, that would be the equivalent as a name to C, and the equivalent to clang would be langlanglang.

    I considered the shorter name lang, but lang already has a meaning and I thought then in that world langlang might confuse people as to the actual name of the language, whereas since langlanglanglang is clearly needless overkill in a name, langlang and langlanglang would provide just the right amount readability and reinforcement as to the actual name of langlang.

  • 25 days ago
    undefined
  • oecumena24 days ago
    'The Lobster Programming Language (strlen.com)' is duplicated.
    • dang24 days ago
      IIRC there are quite a few cases in there where the same language got more than one thread. That's fine as long as they're (a) interesting, and (b) a year or more apart! (https://news.ycombinator.com/newsfaq.html)
  • middayc24 days ago
    What are these /thelang and /showlang?

    Are these like permanent urls that we can use to filter posts?

    This makes me thing about what other permanent urls/filters there are. Is there a list somewhere?

  • macintux25 days ago
    I feel like there’s an Advent of Code challenge lurking here.
  • GaryBluto25 days ago
    Very useful! Thanks for the addition.
  • big-chungus425 days ago
    where can I check out the language?
    • dang24 days ago
      Maybe someone will make one!
  • jeswin25 days ago
    I did a Show HN for a language called Tsonic yesterday, which is a variant of TypeScript (all tsonic is valid typescript) requiring stronger typing which compiles to x64/ARM native code via .Net/NativeAOT. https://news.ycombinator.com/item?id=46604308

    It didn't appear in Show HN at all. Perhaps because another user posted it as a regular topic just a few minutes earlier, which drops off very quickly (within minutes) - but I think the issue is wider.

    For a while now, I've felt that the new topics stream requires you to promote the topic outside of HN to be seen on HN - sometimes by adding a "Discuss on HN" link in the blog, or on social networks etc. The problem is quite fundamental: the "Show" link gets a small fraction of clicks. The "Show New" (two clicks away) probably gets tinier, miniscule fraction of clicks. The intersection of people who are interested in the project and those who have clicked "Show New" would be very nearly null. So upvotes will have to come from outside.

    • dang25 days ago
      That's great! It didn't make the /show page because some of the upvotes were dropped by our software. We can re-up it, but first can you add some text to the post, explaining the background and what's different about it? If you look at what I told the Lax guys earlier (https://news.ycombinator.com/item?id=46608577), that might give some ideas.

      Also, if you're ok with changing the title to "Show HN: The Tsonic Programming Language" then I could add it to https://news.ycombinator.com/showlang :)

      • lassejansen24 days ago
        I did a Show HN for the language "hyTags" yesterday, too. It's a language embedded in HTML, using tags as syntax. It quickly dropped of the new page:

        https://news.ycombinator.com/item?id=46599403

        Could you add that too to showlang?

      • jeswin25 days ago
        Hi dang, done. Thank you!

        Your feedback on the other thread was very helpful - just the right thing to add, irrespective of HN visibility.

  • lingying25 days ago
    The MoonBit Programming Language - https://news.ycombinator.com/item?id=37174619 -Aug 19, 2023 (152 comments)
    • dang24 days ago
      As with https://news.ycombinator.com/item?id=46618769, that one didn't make it into the list because the title didn't fit the convention. I've added it now. It would be better if it just said "The MoonBit Programming Language" though!
  • MopAmine24 days ago
    [flagged]
  • MopAmine25 days ago
    [flagged]