OSDev.org
https://forum.osdev.org/

an OS in forth?
https://forum.osdev.org/viewtopic.php?f=1&t=47245
Page 1 of 1

Author:  monarrk [ Sun Jul 25, 2021 8:49 pm ]
Post subject:  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?

Author:  segfaultdev [ Wed Jul 28, 2021 2:46 pm ]
Post subject:  Re: an OS in forth?

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.


Hey, I have done that once! (: Although as you said, it was just a simple interpreted implementation...

monarrk wrote:
Is there a standalone compiler which can create a kernel without having to recreate my own forth implementation?


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.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/