Compiling Prolog to Forth [pdf]

(vfxforth.com)

54 points | by PaulHoule 3 days ago

2 comments

  • upghost 2 hours ago
    Very interesting stuff. Apparently this is the implementation: https://github.com/dicpeynado/prolog-in-forth

    Thinking about the amount of thought and energy that went into this, back in 1987 -- mostly preinternet, pre-AI. Damn.

    I feel really lucky that we get to build on things like this.

    • jhbadger 1 hour ago
      There's a great 1986 book "Designing and Programming Personal Expert Systems" by Feucht and Townsend that implements expert systems in Forth (and in the process, much of the capability of Prolog and Lisp).
  • NetMageSCW 36 minutes ago
    I assisted a graduate student a long time ago in his implementation of the Warren Machine for compiling Prolog. At its core it was essentially a threaded interpreter.