Remix.run Logo
▲ Writing a primitive Forth in JavaScript (2024)(onirom.fr)
21 points by dverlaeckt80 14 hours ago | 4 comments
▲veltas 2 hours ago | parent | next [-]

I think the first question I've got for JavaScript Forths is how you'd handle addresses, bytes, etc., because that's a staple of any conventional Forth, necessary to create tables, arrays, and handle strings. There are lots of ways of doing it but there are some nasty compromises required for a more standard-looking Forth.

▲jstanley an hour ago | parent [-]

What about an array of numbers? What are the nasty compromises?

▲bitwize 9 hours ago | parent | prev [-]

"Writing things in a programming language" now seems to have the same quirky old-internet charm as "Flash games".

▲pjmlp 3 hours ago | parent [-]

Unfortunely, I forsee eventually LLMs will become good enough to deliver the 4GL initial vision, we are already seeing that take shape in iPaaS products, or code generation that is as readable as minified C code for IOCCC entries.