News for hackers. Stuff that matters.
Re:The $LANG Programming Language by chuckadams on Tuesday January 13, 2026 @08:52PM (#46611320)
For a moment I thought there was actually a new language called $LANG, which would have been wonderful.
Re:The $LANG Programming Language by trollbridge on Tuesday January 13, 2026 @08:59PM (#46611368)
I was thinking how it would be odd to have a programming language called en_AU.UTF-8.
Re:The $LANG Programming Language by mixmastamyk on Tuesday January 13, 2026 @09:28PM (#46611546)

  echo “G’day World!”
Re:The $LANG Programming Language by anotherevan on Tuesday January 13, 2026 @11:06PM (#46612233)
drawl “G’day world.”
Re:The $LANG Programming Language by edoceo on Tuesday January 13, 2026 @09:39PM (#46611608)
*G'day mate
Re:The $LANG Programming Language by dghf on Wednesday January 14, 2026 @09:49AM (#46616640)
All error messages begin "Strewth!"
Re:The $LANG Programming Language by trollbridge on Wednesday January 14, 2026 @09:58AM (#46616761)
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”.
Re:The $LANG Programming Language by Lammy on Tuesday January 13, 2026 @10:34PM (#46611998)
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
Re:The $LANG Programming Language by dang on Tuesday January 13, 2026 @11:29PM (#46612350)
I wonder what a program written in that language looks like.
Re:The $LANG Programming Language by rayxi271828 on Wednesday January 14, 2026 @12:28AM (#46612671)
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.

Re:The $LANG Programming Language by andrekandre on Wednesday January 14, 2026 @07:07PM (#46625954)

   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!

Re:The $LANG Programming Language by rayxi271828 on Wednesday January 14, 2026 @09:18PM (#46627165)
Thank you for the kind words! I had great fun implementing it. Robert Nystrom is such a hero for writing Crafting Interpreters.
Re:The $LANG Programming Language by andrekandre on Saturday January 17, 2026 @11:32PM (#46664800)
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

Re:The $LANG Programming Language by wahern on Wednesday January 14, 2026 @02:14AM (#46613264)
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.
Re:The $LANG Programming Language by snthpy on Wednesday January 14, 2026 @03:11AM (#46613569)
That's what I thought too. The $ sign seemed quite appropriate given Goldman's line of business.
Re:The $LANG Programming Language by charleszw on Wednesday January 14, 2026 @04:06AM (#46613915)
See also the Slang shader language, it's a pretty recent development! https://shader-slang.org
Re:The $LANG Programming Language by dang on Wednesday January 14, 2026 @12:17PM (#46618863)
Want to submit to HN and email us ([email protected]) so we can put it in the SCP? (https://news.ycombinator.com/item?id=26998308)
Re:The $LANG Programming Language by null_onset on Tuesday January 13, 2026 @11:05PM (#46612224)
The $LANG programming language, where the keywords are all just in-jokes that change from week to week.
Re:The $LANG Programming Language by lproven on Wednesday January 14, 2026 @05:07AM (#46614282)

    darmok := jalad[talaka]
Re:The $LANG Programming Language by benj111 on Wednesday January 14, 2026 @03:48PM (#46623080)
When(walls == fell)
Re:The $LANG Programming Language by cvoss on Tuesday January 13, 2026 @11:07PM (#46612234)
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.
Re:The $LANG Programming Language by fermigier on Wednesday January 14, 2026 @01:18AM (#46612941)
There was a Linux distribution (briefly) called "$DISTRO". Known today as "Ubuntu".
Re:The $LANG Programming Language by Radle on Wednesday January 14, 2026 @02:43AM (#46613405)
Same! My first thoughts: "Is this language pronounced Lang or Slang? Slang is actually a cool name for a new programming language..."
Re:The $LANG Programming Language by jcynix on Wednesday January 14, 2026 @04:05AM (#46613906)
Re:The $LANG Programming Language by hmry on Wednesday January 14, 2026 @03:29AM (#46613677)
Re:The $LANG Programming Language by hashmush on Wednesday January 14, 2026 @05:13AM (#46614326)
I use that every day at $WORK!
Re:The $LANG Programming Language by librasteve on Wednesday January 14, 2026 @07:10AM (#46615138)
well Raku has the Slangify module https://raku.land/zef:lizmat/Slangify
Re:The $LANG Programming Language by blumenkraft on Wednesday January 14, 2026 @12:18PM (#46618879)
Goldman Sachs does have a language called Slang