Newsgroups: comp.ai
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!torn!watserv2.uwaterloo.ca!owlfly.watstar.uwaterloo.ca!BHBOTHWE
From: BHBOTHWE@HELIX.watstar.uwaterloo.ca (Hugh Bothwell)
Subject: Re: learning
Message-ID: <BHBOTHWE.58.000D5160@HELIX.watstar.uwaterloo.ca>
Lines: 26
Sender: news@watserv2.uwaterloo.ca
Nntp-Posting-Host: owlfly.watstar.uwaterloo.ca
Organization: University of Waterloo
References: <1994Nov21.115011.4697@mtroyal.ab.ca> <3b49ei$303@woody.gmd.de> <1994Nov25.105504@lri.fr>
Date: Mon, 28 Nov 1994 18:19:04 GMT

In article <1994Nov25.105504@lri.fr> mh@lri.fr (Herve MIGNOT) writes:
>From: mh@lri.fr (Herve MIGNOT)
>Subject: Re: learning
>Date: 25 Nov 1994 10:20:27 GMT

>>How would one go about making a program that can modify it's source and
>compile
>>itself over. I've tried reading in the source as text and shelling to
>dos to
>>load the compiler. I had  some results but the program bombed after a
>while. 

I believe lisp, being a partially interpreted language, can do this; I know 
it can create new command strings (in lisp) and execute them, which sounds 
like what you are looking for.

Only problems - Lisp is big and slow.  On the other hand, it's incredibly 
flexible; it's worth looking at, anyway.
=====================================================================
Hugh Bothwell                              !       !  F-14D Tomcat
bhbothwe@HELIX.watstar.uwaterloo.ca        |   _   |  by Aapool Biman
(519) 885-5444                           __|__(o)__|__  
El. Eng Undergrad          --------======/+-+/ . \+-+\======--------
University of Waterloo             _____( |_|\___/|_| )_____  Fight to fly
Ontario, Canada                          \__/ * * \__/        Fly to fight 
                                         /           \        Fight to win
