Factor: A Practical Stack Language
21–30 of 46 posts
Re: Factor: A Practical Stack Language
#22Damn, that indeed looks interesting. Could someone give here a Factor vs Forth tl;dr? Forth appears to be tailored for embedded systems, but the velociraptor is growing quick on me.
From the FAQ [0]: > How is Factor different from Forth? > Forth is untyped, not garbage collected, and close to the machine. For flow control, Forth code tends to use immediate words. Variables and arrays tend to be global, and programs aren't usually written in a functional manner. Factor is very different from this. It is dynamically typed, offering a high degree of reflection. Unreferenced objects are garbage coll…
Re: Factor: A Practical Stack Language
#23Earlier quoted context omitted.
From the FAQ [0]: > How is Factor different from Forth? > Forth is untyped, not garbage collected, and close to the machine. For flow control, Forth code tends to use immediate words. Variables and arrays tend to be global, and programs aren't usually written in a functional manner. Factor is very different from this. It is dynamically typed, offering a high degree of reflection. Unreferenced objects are garbage coll…
Also Forth appears to be heavily corporate. Except for GNU's Gforth compiler, tools appear to be commercial.
Re: Factor: A Practical Stack Language
#24Made me realize webassembly is almost a concatenative language
Re: Factor: A Practical Stack Language
#25Related (others?): Factor: A Practical Stack Languge - https://news.ycombinator.com/item?id=22053857 - Jan 2020 (21 comments) Factor: An impressive stack-based language environment - https://news.ycombinator.com/item?id=17726634 - Aug 2018 (34 comments) A Panoramic Tour of Factor (2015) - https://news.ycombinator.com/item?id=11377847 - March 2016 (6 comments) Factor – A Practical Stack Language - https://news.ycombin…
Could probably add any number of discussions of concatenative programming, most notably “Why Concatenative Programming Matters”. https://hn.algolia.com/?query=Why%20Concatenative%20Programm...
Re: Factor: A Practical Stack Language
#26Damn, that indeed looks interesting. Could someone give here a Factor vs Forth tl;dr? Forth appears to be tailored for embedded systems, but the velociraptor is growing quick on me.
From the FAQ [0]: > How is Factor different from Forth? > Forth is untyped, not garbage collected, and close to the machine. For flow control, Forth code tends to use immediate words. Variables and arrays tend to be global, and programs aren't usually written in a functional manner. Factor is very different from this. It is dynamically typed, offering a high degree of reflection. Unreferenced objects are garbage coll…
Re: Factor: A Practical Stack Language
#27The idea with binding expressions is the type of expression A and the type of expression B implement "reactions" with one another in order to form a binding expression when they are lexically adjacent.
65 mph
The type of `mph` defines a post reaction method with the type of `65` as an argument that results in type Rate. As I understand it this is concatenative, right?
Another example:
Money payment = 1.5M USD;
There are tons of these.
Concatenative programming in general feels like it should have a more prominent place in mainstream languages. Just my take.
[1] https://github.com/manifold-systems/manifold/tree/master/man...
Re: Factor: A Practical Stack Language
#28Re: Factor: A Practical Stack Language
#29Concatenate languages are fun, but damn if that isn't an annoying UI. It's gated with some kind of captcha, and it made me go through 40+ rounds, with every few selected images resizing and shifting the captcha.
Re: Factor: A Practical Stack Language
#30Related (others?): Factor: A Practical Stack Languge - https://news.ycombinator.com/item?id=22053857 - Jan 2020 (21 comments) Factor: An impressive stack-based language environment - https://news.ycombinator.com/item?id=17726634 - Aug 2018 (34 comments) A Panoramic Tour of Factor (2015) - https://news.ycombinator.com/item?id=11377847 - March 2016 (6 comments) Factor – A Practical Stack Language - https://news.ycombin…
I wanted to reply like what is below but got cold feet. But thanks. >>>> Why? tedious for me w/o a join. Or is there a feature lurking somewhere? At a different level stuff like this it strike me as “… nothing to see here move on .. “
I also try to drop the ones that got comments but the comments were off topic or otherwise useless.