an OS in forth?
an OS in forth?
Are there any compilers that can compile forth for bare metal? I know there are operating systems which are written in forth, but it looks like most of them roll their own forth interpreter to use as the system itself. Is there a standalone compiler which can create a kernel without having to recreate my own forth implementation?
-
- Posts: 14
- Joined: Mon Oct 19, 2020 10:32 am
- Libera.chat IRC: segfaultdev
Re: an OS in forth?
Hey, I have done that once! (: Although as you said, it was just a simple interpreted implementation...monarrk wrote:I know there are operating systems which are written in forth, but it looks like most of them roll their own forth interpreter to use as the system itself.
Sadly though, as far as I know, from the very small amount of existing forth compilers, none is able to be easily used properly for osdev, so I would recommend just going with a simple forth compiler, as it shouldn't be that hard to do.monarrk wrote:Is there a standalone compiler which can create a kernel without having to recreate my own forth implementation?