Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Rebol > Lisp

From: tim:johnsons-web at: 12-Feb-2003 8:56

I've been trying to wrap my tiny brain around a similar concept for a while: Given the advanced text processing and introspective qualities of rebol, it might be possible to write rebol code that would read rebol code (as a prototype) and convert into comparable code in another language. It would be easier if the target language had an API that accomodated such an effort. I have a project to do that entails building an 'object-oriented' interface in Ansi C (not C++). My approach to this would be bearing in mind that I might want to auto-convert from one language to another. But one has to have means, method, AND motivation. This approach is doable, I think, and in fact the concept of prototyping and transformational programming is not given as much attention by the rebol community as I would like to see. (My Humble Opinion Alone) I believe that LISP and Scheme have been used for such tasks. -tim- * Gregg Irwin <[greggirwin--mindspring--com]> [030211 20:40]:
> Hi Terry, > > TB> How difficult would it be to build an interpreter that converted Rebol code > TB> to say Lisp (or any other language for that matter?) > > TB> Wouldn't that solve alot of problems? Speed, compiler, GUI etc etc. > > Certainly doable for a defined subset of things you could write with > REBOL - provided that subset can map to capabilities available in the > target language. As a matter of fact, that's one of the areas where I > think dialects will be quite useful. > > Now, to say generally that you want to be able to convert *any* REBOL > program into any other particular language...that's going to be a darn > lot of work. > > -- Gregg > > -- > To unsubscribe from this list, please send an email to > [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes.
-- Tim Johnson <[tim--johnsons-web--com]>