News for hackers. Stuff that matters.
Re:Om is a novel, maximally-simple concatenative language by jansan on Saturday October 29, 2022 @07:57AM (#33383269)
A "Hello World" code example would be worth more than 1000 words.
Re:Om is a novel, maximally-simple concatenative language by thom on Saturday October 29, 2022 @08:24AM (#33383455)
There’s an examples section way, way down the page. I do agree that language homepages should probably start with this, that’s how my brain works anyway.
Re:Om is a novel, maximally-simple concatenative language by superdimwit on Saturday October 29, 2022 @08:01AM (#33383296)
There’s a Hello World on the page
Re:Om is a novel, maximally-simple concatenative language by eternalban on Saturday October 29, 2022 @09:45AM (#33383991)
No, that is not a program emitting to output stream "hello, world!"

It emits "{Hello, world!}" which is like emitting "func main() { print("hello, world!" } }"

A hello, world for this language would take "hello, world" as an operand to some operator that spits out strings. That example is not there.

Re:Om is a novel, maximally-simple concatenative language by xiphias2 on Saturday October 29, 2022 @10:38AM (#33384395)
If you read the description the language outputs programs. If it would be able to output any string, it wouldn't be concanative language anymore.