TODO 1.4 KB

12345678910111213141516171819202122232425262728
  1. * Any taker to port eforth 2.51? Contact Bill Muench <BiMu@aol.com>...
  2. * We now have argc/argv/environ, so we can do everything in FORTH.
  3. However, one task would still be to adapt this eForth so as to mix with C
  4. (including dlopen(3) and such things).
  5. * define sensible startup behavior,
  6. including parsing options, executing default configuration file,
  7. executing command file.
  8. * define lots of words to do I/O, etc. i.e. make it a useful FORTH system ?
  9. * Allow the user to save an image of system memory. Here are the difficulties:
  10. - the code to thread the dictionary should be run only once; it could be
  11. dropped and overwritten after the first time it is run. Or maybe someone
  12. could find a way to do it statically.
  13. - the machine state (useful register values; size of data areas) should be
  14. saved.
  15. - the various data areas should be compacted.
  16. - something should be done about open file descriptors, mmap(),
  17. and other such state. But what?
  18. - some garbage collecting could be done at that moment ?
  19. - some user-defined objects (such as files) should have user-defined ways
  20. to be saved and restored: buffers should be flushed, ways to reestablish
  21. connections and reinitialize access of remote resources should be remembered
  22. etc; memory mappings (including shared libraries) should be remembered, etc.
  23. A lot of work, which goes far beyond a port of eForth...