I don't like that Forth's variable assignment is done this way:
123 FOO !
It seems so.. not postfix. I wonder why they didn't go for something like postscript.
/foo 123 def
@neauoire It doesn't require changes to the lexer. Postscript needs an "atom" rule.
@neauoire In the spreadsheet-inspired postfix environment I've been playing with, I'm working to define vars like this:
Functions look like this:
x square = x x *
@akkartik Have you thought about using lambdas to do that? That's how I've implemented it in my little toy forth thingy.
@neauoire Yeah, Factor uses quotes and lambdas as well, and it's a nice approach. Here, I'm experimenting with ways to minimize nested regions, just because I have an attack on a nice structured editor: https://archive.org/details/akkartik-2min-2020-10-10
Some more details: https://mastodon.social/@akkartik/104896128141863951
Merveilles is a community project aimed at the establishment of new ways of speaking, seeing and organizing information — A culture that seeks augmentation through the arts of engineering and design. A warm welcome to any like-minded people who feel these ideals resonate with them.