Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!DHAFEU11.BITNET!IN703 From: IN703@DHAFEU11.BITNET (Hubert Wagner) Newsgroups: comp.lang.forth Subject: Shortest selfreproducing Forth program Message-ID: <9001172014.AA21265@jade.berkeley.edu> Date: 17 Jan 90 20:14:49 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Forth Interest Group International List Organization: The Internet Lines: 7 X-Unparsable-Date: Wed, 17 Jan 90 12:21:49 SET I am interested in a shortest Forth program (probably a colon definition) which has no input and - when invoked - has itself as output. I have a very short solution in BASIC (84 characters) and a solution for PASCAL containing 256 characters which is very short for PASCAL. To solve this problem in other languages I haven't tried so far. Hubert Wagner