15 comments

  • pgt10 hours ago
    Would recommend placing example language syntax above the fold. Was tough to have to scroll halfway down the entire site to see any syntax. Nobody cares about the EBNF syntax until they have a feel for the language.
  • dirk940186 hours ago
    Aren't LLMs supposed to write machine code directly, no more programming languages at all, any day now? Joking aside, programming languages are a good mental exercise. Forth was my first language after assembly. Didn't like the stack juggling and ended up using its macro assembler more and more, it became something else, conventions over code I suppose, like what to keep in registers. Forth (and Unix) got the composability requirement right, the testing of individual units.
    • fud1015 hours ago
      I'm still waiting to see the first show HN I made a language designed for LLMs to write programs better.
      • mickael-kerjean4 hours ago
        It came up a few weeks ago already, can't find the link
      • fourthark1 hour ago
        There have been a few.
  • willquack11 hours ago
    I worked with Jason (creator of Om) at my last job. He's awesome!
    • agumonkey7 hours ago
      is it his first language design ?
  • irickt11 hours ago
    A more explanatory article mentioned in the post: <a href="https:&#x2F;&#x2F;evincarofautumn.blogspot.com&#x2F;2012&#x2F;02&#x2F;why-concatenative-programming-matters.html" rel="nofollow">https:&#x2F;&#x2F;evincarofautumn.blogspot.com&#x2F;2012&#x2F;02&#x2F;why-concatenati...</a>
    • mosburger10 hours ago
      ah, thanks, that&#x27;s why my first thought was that &quot;hey, this feels very FORTH like&quot;
  • Nevermark2 hours ago
    I like how it unifies the operation stream with the stack (by pushing outputs back into the operation stream to process next).<p>An even simpler model than Forth, which evaluates an operation stream, with words that operate on a stack. And as noted, this makes recursion trivial.
  • rramadass19 minutes ago
    What is the meaning and reason behind the choice of this specific name for the language?
    • hahamaster6 minutes ago
      The only two letter combination that is not already used by another language.
  • omoikane11 hours ago
    &gt; any UTF-8 text (without byte-order marker) defines a valid Om program.<p>What is the behavior of a program with unmatched braces? I am not sure a stray `}` would fit any of the defined syntax.<p><a href="https:&#x2F;&#x2F;www.om-language.com&#x2F;index.html#language__syntax__" rel="nofollow">https:&#x2F;&#x2F;www.om-language.com&#x2F;index.html#language__syntax__</a>
    • itishappy10 hours ago
      That would be parsed as a single operator and evaluated using the following rule:<p>&gt; Evaluates to the operation defined for the operator in the environment. If none, evaluates to a constant function that pushes the operator, followed by all input terms, onto the output program.<p>I believe it would simply output itself.
  • lhmiles53 minutes ago
    Outstanding work
  • sriku6 hours ago
    Another concatenative-ish one embedded in js .. just for fun - <a href="https:&#x2F;&#x2F;github.com&#x2F;srikumarks&#x2F;pjs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;srikumarks&#x2F;pjs</a><p>You may find the &quot;genailang&quot; module fun to play with.
  • bittermandel11 hours ago
    I confused this with <a href="https:&#x2F;&#x2F;github.com&#x2F;omcljs&#x2F;om" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;omcljs&#x2F;om</a>
    • jb199111 hours ago
      Yeah Om was an extremely widely used Clojurescript library many years ago (maybe still is), and to me that&#x27;s what this word will always refer to.
      • quesera7 hours ago
        I think Hinduism might have a prior claim.
        • fuzztester3 hours ago
          <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=47161422">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=47161422</a>
  • shevy-java6 hours ago
    Missing a &#x27;g&#x27;!<p>Omg would have a ring to it.
    • yunnpp5 hours ago
      May I introduce you to the ultimate level of conciousness: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Om" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Om</a>
      • lioeters3 hours ago
        When you realize you were the missing &quot;g&quot; all along.
  • fuzztester3 hours ago
    Let&#x27;s have more programming language posts (even about &quot;retro&quot; ones like Icon, SNOBOL, Bliss, MUMPS, etc.), guys.<p>And less about AI topics.<p>Om.<p><a href="https:&#x2F;&#x2F;emojipedia.org&#x2F;om" rel="nofollow">https:&#x2F;&#x2F;emojipedia.org&#x2F;om</a><p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Om" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Om</a>
    • rramadass23 minutes ago
      And therein lies the tragedy of folks exploiting well known culturally loaded symbols&#x2F;concepts for attention&#x2F;etc. on the Internet.<p>For example, I really don&#x27;t know what to make of this; enthusiastic kid or attention-seeking influencer? - <a href="https:&#x2F;&#x2F;omlang.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;omlang.com&#x2F;</a>
    • vivzkestrel3 hours ago
      if everyone on HN started downvoting all the AI posts (atleast the slop ones) it would cut down submissions by half
  • maximgeorge8 hours ago
    [dead]
  • esafak11 hours ago
    [flagged]
    • dang9 hours ago
      Can you please not post shallow dismissals of other people&#x27;s work? This is in the site guidelines: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;newsguidelines.html">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;newsguidelines.html</a>. They also ask you not to be snarky.<p>Nasty swipes like this routinely get upvoted, and then we end up with them at the top of a thread, choking out everything HN is supposed to be for. (I&#x27;ve downweighted it now.)
    • crystal_revenge10 hours ago
      It&#x27;s clearly a language designed for people <i>interested</i> in programming languages. Plenty of straightforward examples to show what makes this language interesting&#x2F;different&#x2F;worth your time.<p>But if you&#x27;re incurious about things that aren&#x27;t immediately practical (which has sadly been a growing number of HN community in more recent years), you will probably not be interested.<p>In an era when so much &quot;practical&quot; coding can be offloaded to an LLM, I&#x27;m particularly interested in seeing languages that are doing something different even if it makes them initially impractical.
      • einpoklum10 hours ago
        &gt; In an era when so much &quot;practical&quot; coding can be offloaded to an LLM<p>I see what you did there with the parentheses.
        • lgas7 hours ago
          Turned them into quotation marks?
    • itishappy10 hours ago
      I don&#x27;t think the project wants any &quot;takers&quot; per se. The first sentence describes it as:<p>&gt; a novel, maximally-simple concatenative, homoiconic programming and algorithm notation language<p>This is a toy language designed to showcase a novel programming paradigm.<p>Personally, I like tech demonstrations, so I scrolled down and found the examples section. That&#x27;s all I was hoping to get out of this interaction.
    • codegeek10 hours ago
      I would at least update body tag to add basic css to make this more readable:<p><pre><code> &lt;body style=&quot;width:80%;margin:auto;&quot;&gt;</code></pre>
      • leephillips10 hours ago
        There is nothing wrong with the site as it is. The text reflows, so you can size your window to any width that you find comfortable. With a decent window manager this is just a few keystrokes at most.
        • oblio7 hours ago
          A huge chunk of people don&#x27;t have, want or care about a &quot;decent window manager&quot; (and many of them are competent developers) and they&#x27;ll just bail.
    • travisjungroth9 hours ago
      Seems totally appropriate to the project. It’s like going to a GitHub repo and scrolling to the Readme.
    • mpalmer10 hours ago
      Life can be a dream if you don&#x27;t treat everything as a pitch
    • meisel11 hours ago
      Yeah show me the 5-line HTTP server
      • theamk11 hours ago
        not that kind of language, it does not even come with integer types or &quot;plus&quot; operator by default.. they do give an example of<p><pre><code> define { minutes { dequote choose {minutes} {} = {:} &lt;-[characters] } } { minutes {1:23} } </code></pre> which does Python&#x27;s equivalent of<p><pre><code> &quot;1:23&quot;.split(&quot;:&quot;, 1)[1] </code></pre> or for a more direct translation:<p><pre><code> def minutes(x): return x[1:] if x[0] == &#x27;:&#x27; else minutes(x[1:]) minutes(&quot;1:23&quot;)</code></pre>
      • KPGv211 hours ago
        &quot;The Om language is not:<p>complete. Although the intent is to develop it into a full-featured language, the software is currently at a very early &quot;proof of concept&quot; stage, requiring the addition of many operations (such as basic number and file operations) and optimizations before it can be considered useful for any real-world purpose. It has been made available in order to demonstrate the underlying concepts and welcome others to get involved in early development.&quot;
    • staticassertion11 hours ago
      I am always kind of surprised when I go to a landing page for a language and there isn&#x27;t any actual code. This is one of my biggest complaints about the rust language page, it feels crazy to me that there&#x27;s <i>no code</i> and I think this is just a ridiculous choice (and I know this has been brought up before).<p>The old page had a built-in sandbox. Go used to have a more &quot;Front and center&quot; sandbox too but at least it&#x27;s there if you scroll down <a href="https:&#x2F;&#x2F;go.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;go.dev&#x2F;</a>
      • chriswarbo11 hours ago
        &gt; I am always kind of surprised when I go to a landing page for a language and there isn&#x27;t any actual code.<p>So, you&#x27;re <i>not</i> surprised that this Om page has an extensive section called &quot;Examples&quot;, right? <a href="https:&#x2F;&#x2F;www.om-language.com&#x2F;#language__examples__" rel="nofollow">https:&#x2F;&#x2F;www.om-language.com&#x2F;#language__examples__</a>
        • staticassertion8 hours ago
          I didn&#x27;t scroll that far, and I shouldn&#x27;t have to.
      • Anaminus10 hours ago
        One time, this annoyed me so much that I made a website.<p><a href="https:&#x2F;&#x2F;anaminus.github.io&#x2F;langding&#x2F;" rel="nofollow">https:&#x2F;&#x2F;anaminus.github.io&#x2F;langding&#x2F;</a><p>om would fall under &quot;Yes, must scroll&quot;.
        • itishappy5 hours ago
          Fascinating! It almost seems like the more popular a language is the less likely it is to have syntax on the landing page.
          • edgyquant4 hours ago
            Popular languages don’t have to sell themselves anymore. No one goes to rust or pythons website to see if they would enjoy the syntax
      • robotresearcher11 hours ago
        There is code. Small examples start halfway down the page, and there&#x27;s one 20-line example. Not much, but it&#x27;s not accurate to say there&#x27;s none.<p>It would be helpful to see any kind of motivation for the project though. Anything at all.
        • oblio10 hours ago
          On my phone that code is about 250+ lines down, probably 4-5 screens down.<p>It basically doesn&#x27;t exist as far as marketing is concerned.
          • johnisgood8 hours ago
            So it just needs a TOC.
            • oblio7 hours ago
              No, it needs a 5 line code snippet above the fold.
      • cess1111 hours ago
        There is code, search for &#x27;examples&#x27;.<p>It concludes by implementing a fold:<p><pre><code> define { [Fold]&lt;- { rearrange { rearrange { dequote choose quote Result pair pair pair {[Fold]&lt;-} Function Result Remainder Remainder } {Result Remainder} dequote Function Base &lt;-[terms] Source } {Function Base Source} } } { [Fold]&lt;- {[literal]&lt;-} {} {1 2 3} }</code></pre>
        • dstanko9 hours ago
          great example! as someone who writes a Fold function every day, this explains the power of the language very well. ;)
          • cess118 hours ago
            As is clearly explained on the web page, this is not a programming language for everyday tasks, it&#x27;s an early stage proof of concept that can be used to explore how computer science might be expressed in unusual ways.<p>Implementing fold would be something of a milestone in such a language.
    • amelius10 hours ago
      At least it has examples!
    • whalesalad9 hours ago
      It perplexes me that someone would not have a few cookbook style examples above the fold on a website that describes a novel programming language.
  • jwilber11 hours ago
    Will never not complain about languages not giving code examples. It’s like writing a charting&#x2F;UI&#x2F;style library and showing no examples. Just what?
    • robotresearcher11 hours ago
      You overlooked the examples. They might not satisfy you, but there are examples.
      • dented427 hours ago
        To be fair, the examples are extremely easy to overlook. They are also, to put it delicately, not the most helpful.
        • robotresearcher6 hours ago
          Absolutely agree. But fairness precludes denying the existence of examples.<p>They are not prominent, but they are in a section with the heading &#x27;Examples&#x27;.
        • dstanko6 hours ago
          apparently fold example is very helpful to some.
    • keeganpoppen10 hours ago
      if it&#x27;s something you do 100% of the time, is it <i>really</i> adding any information to the world?
      • dstanko6 hours ago
        absolutely does! for a new language that no one has heard of, it is essential that examples make at least a parallel with other languages. providing examples for mundane things is very useful to build the understanding with the reader who hasn&#x27;t been writing a paper on OM language.