From: "M. Edward (Ed) Borasky" Date: 2007-08-26T12:10:21+09:00 Subject: Re: Functional Programming James Edward Gray II wrote: > On Aug 25, 2007, at 9:13 PM, Bill Kelly wrote: > >> I've thought on occasion it might be neat to submit a ruby quiz >> sometime, where the goal is to write, in ruby, the core of a Forth >> interpreter/compiler, such that the rest of the language >> (provided with the quiz) can bootstrap itself. > > I hope you do. I'm Forth ignorant, so you could bring me to the light. ;) > > I'll sure run it if you put something together. > > James Edward Gray II > > Actually, what would be even more interesting would be a Ruby interpreter written in Forth or Scheme, rather than in C or Java. :) Seriously, though, a simple Forth can be built with indirect threaded code and all that needs to be "bootstrapped" is the so-called "inner interpreter". Traditionally, that's done in assembler for speed, but I suppose a Ruby inner interpreter could be built.