News for hackers. Stuff that matters.
Re:Play: Statically typed Forth, compiled to WASM by MaxBarraclough on Monday November 23, 2020 @10:20AM (#25187606)
What do you make of the two other statically typed Forth-like languages, StrongForth and Kitten? Did you use them as a reference for the project?

Links:

* (StrongForth) http://www.arestlessmind.org/2009/02/03/intro.html

* (Kitten) https://kittenlang.org/

Re:Play: Statically typed Forth, compiled to WASM by Skinney on Monday November 23, 2020 @12:50PM (#25189440)
Didn't know about StrongForth.

As for Kitten, I didn't like the syntax. To me the interesting thing about Forth-like languages is the postfix/rpn syntax, which Kitten moves to far away from. I really liked how `if` in Factor was just a postfix word like any other, where the then- and else-clause was just quotation arguments.

I'm sure Kitten is a fine language, it just wasn't what I was looking for.

Re:Play: Statically typed Forth, compiled to WASM by cheschire on Monday November 23, 2020 @11:10AM (#25188233)
Replies like this always make me cringe in self doubt.

There are so many projects I started because I was interested in the problem set, got to a point where I was proud of the result, only to change my search terms just a little and find an established project by someone else.

And sometimes I read replies like this and I think it feels like someone just saying "repost: " and linking fifteen other HN threads.

Re:Play: Statically typed Forth, compiled to WASM by MaxBarraclough on Monday November 23, 2020 @12:14PM (#25188992)
Wasn't my intent to dismiss it as anything like a repost, the WebAssembly target is all new, Kitten and StrongForth don't offer that.
Re:Play: Statically typed Forth, compiled to WASM by cultus on Monday November 23, 2020 @11:17AM (#25188314)
If it's a problem domain that needs more exploration, there's nothing wrong with forging ahead. If nobody ever did that we'd still be using COBOL.
Re:Play: Statically typed Forth, compiled to WASM by vmchale on Monday November 23, 2020 @11:41AM (#25188582)
Also Mirth (which is not established but looks fun).