Hi Yves, Unfortunately, I think that factor is not the language you are looking for.
Although it has the same concatenative style as forth, it's not at all a lightweight language like forth. The runtime requires an OS for many things. It's a general purpose high level language with garbage collection, cooperative threading, many functional programming operations, runtime JIT code generation, etc. I'd be very surprised if you could run it on anything with less than 64Mb of ram (I personally ran it on a robotino which had linux and 256Mb of ram, and there it ran great). So targeting a 4MHz cpu with 128 kb of ram is out of reach I'm afraid. Cheers, Jon On Wed, Nov 24, 2021 at 9:30 AM yves gerey <gger...@gmail.com> wrote: > > Bonjour, noob here, but [Z80 connaisseur](http://orgams.wikidot.com/)! > > I'd like to port a lightweight language to a Z80-based computer older than > you (the Amstrad CPC 6128), and to CP/M as well if there is interest. > * Sub-goal: porting a vm. > * Main-goal: having the whole toolchain on the native machine (no > cross-compilation) > More context > [here](https://www.pouet.net/topic.php?which=12155&page=1#c571455). > > Factor is a pretty interesting candidate. My main concern is that it wouldn't > be high-level enough! If I had to juggle with the stack, I might do it in > assembler directly. > > My first questions are: > - Is there already related work? (my google-fu wasn't strong enough) > - Is anyone interested to work on that with me? (I'm an outgoing introvert, > according to my dog). Following Erdòs, I believe that programming is the > perfect social activity for asocials (ok, just kidding, I don't mean to > reinforce stereotypes). > > Cheers! > > -- > -- > λves > _______________________________________________ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk