upvote
> I am always kind of surprised when I go to a landing page for a language and there isn't any actual code.

So, you're not surprised that this Om page has an extensive section called "Examples", right? https://www.om-language.com/#language__examples__

reply
deleted
reply
I didn't scroll that far, and I shouldn't have to.
reply
One time, this annoyed me so much that I made a website.

https://anaminus.github.io/langding/

om would fall under "Yes, must scroll".

reply
Fascinating! It almost seems like the more popular a language is the less likely it is to have syntax on the landing page.
reply
There is code. Small examples start halfway down the page, and there's one 20-line example. Not much, but it's not accurate to say there's none.

It would be helpful to see any kind of motivation for the project though. Anything at all.

reply
On my phone that code is about 250+ lines down, probably 4-5 screens down.

It basically doesn't exist as far as marketing is concerned.

reply
So it just needs a TOC.
reply
No, it needs a 5 line code snippet above the fold.
reply
There is code, search for 'examples'.

It concludes by implementing a fold:

   define
   {
       [Fold]<- {
           rearrange
           {
               rearrange
               {
                   dequote
                   choose
                   quote Result
                   pair pair pair {[Fold]<-} Function Result Remainder
                   Remainder
               }
               {Result Remainder}
               dequote Function Base <-[terms] Source
           }
           {Function Base Source}
        }
   }
   {
       [Fold]<- {[literal]<-} {} {1 2 3}
   }
reply
great example! as someone who writes a Fold function every day, this explains the power of the language very well. ;)
reply
As is clearly explained on the web page, this is not a programming language for everyday tasks, it's an early stage proof of concept that can be used to explore how computer science might be expressed in unusual ways.

Implementing fold would be something of a milestone in such a language.

reply