Liste des Groupes | Revenir à cu shell |
On Mon, 15 Apr 2024 15:29:51 -0700, John Ames wrote:What about Scala? I don't the language myself, but I believe it is popular as a basis for DSL's.
On Mon, 15 Apr 2024 22:12:23 -0000 (UTC) Lawrence D'Oliveiro
<ldo@nz.invalid> wrote:
>Especially a language that is particularly versatile and adaptable to>
defining DSLs.
*waits for a Forth-head to chime in*
Forth? Not a chance. That’s only fit for a museum. Whatever interestingForth is alive and well, albeit not very common. It is used in embedded systems - it is almost certainly the smallest language and run-time system where you can have a extendable high-level language, and runs directly on even very small microcontrollers. Within the same language, you can glide between higher level words and Forth-style assembly for low-level code. And you can pretty much freely choose where you draw the line between pre-compiled code for maximal efficiency and interpreted code for maximal convenience and development speed. I've even seen a system with a soft processor (i.e., one made in a hardware design language for use in FPGA's or gate array ASICs) written in Forth, where you can move the boundaries between the parts that are implemented in hardware and the parts in software.
features it might have had were carried over to PostScript, which took
things to the next level.
Les messages affichés proviennent d'usenet.