Re:Forth: The Hacker’s Language
by shortsightedsid on Saturday January 28, 2017 @01:11PM
(#13507792)
You are right. I completely forgot about ADA and representative clauses. I remember reading that representative clauses mapping to register fields. And to be fair, basic and pascal also can be used for bare metal stuff.
[ Parent
| on HN ]
Ada isn't a dynamic language, so it doesn't really apply here; you don't get to use it in the ways like Forth; like having a boot ROM with an Ada REPL (laugh).
Of course there are other systems programming "monolithic executable" programming languages that allow straightforward access to memory mapped hardware registers.
Static languages can have REPLs.
Re:Forth: The Hacker’s Language
by groovy2shoes on Saturday February 04, 2017 @08:13PM
(#13570157)
They can, but I'm not even sure you'd be able to fit all of Ada's reserved words in a typical boot ROM ;)