From owner-freebsd-hackers Tue Aug 27 18:55:27 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA15541 for hackers-outgoing; Tue, 27 Aug 1996 18:55:27 -0700 (PDT) Received: from trapdoor.dstc.edu.au (root@trapdoor.dstc.edu.au [130.102.176.12]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA15533 for ; Tue, 27 Aug 1996 18:55:22 -0700 (PDT) Received: from azure.dstc.edu.au (azure.dstc.edu.au [130.102.176.27]) by trapdoor.dstc.edu.au (8.6.9/8.6.12) with ESMTP id LAA24680; Wed, 28 Aug 1996 11:55:19 +1000 Received: (from leonard@localhost) by azure.dstc.edu.au (8.6.10/8.6.12) id LAA09650; Wed, 28 Aug 1996 11:55:18 +1000 From: David Leonard Message-Id: <199608280155.LAA09650@azure.dstc.edu.au> Subject: An insane journey (was Re: JDK 1.02) To: terry@lambert.org Date: Wed, 28 Aug 1996 11:55:17 +1000 (EST) Cc: hackers@freebsd.org Reply-To: leonard@dstc.edu.au X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In dstc.mail.freebsd.hackers you write: > > I hear that an Infocom adventure once compiled will run wherever a Zork > > machine is available. > Search for "ZIL" and "ZORK" in Yahoo or Lycos... I have been running > all of the Infocomm stuff on my FreeBSD box since 1.1... > There are also decompilers, compilers, and programming manuals > available. 8-). > > No, no, no, they just provided C++ like interface to the Zork machine > > (which is object based and uses inheritance internally.) > The original ZORK was written in MDL ("muddle") on old DEC systems; > they had one at the county library for a long time -- many library > database systems were written in MDL. the interarctive fiction archive at ftp://ftp.gmd.de/if-archive has a whole bunch of interpreters. here's a summary on inform/ZIM wrt java (from memory) the 'inform' compiler is more like an object-oriented assembler! there is only one kind of inheritance and it seems to be one-level deep max. The 'data types' in the zork machine include integer, string and object - all objects in n-ary 'containment' trees. all objects have the same (perhaps overloaded) library defined methods and properties. Mind you, its all you really need with the extensive libraries that are provided. Oh, there is something that looks like an integer array type, but mostly everything is typeless when out of context. The emphasis is on modelling a little world of textually describable objects. pretty cool. there are no network primitives, few other system primitives (read, write, save, load, quit) The compiled images are always very small and often further compressible. Even with the later versions of the interpreter, the handling of graphics is quite minimal. It is single threaded, and you cannot poll the keyboard. I havent noticed inform/jzip in the freebsd ports/packages... back to the point, inform/ZIM isnt a contender to java :) Imagine instead of commercial applets, seeing little windows in your browser with: You see a brass lamp (giving light) and a New and Improved Thing. > BUY THING The New and Improved Thing costs $23.67. Your credit card number, please?> However, a zork interpreter in java would be cool.. other contentders to java? if postscript had classes and threads... :) d -- David Leonard Developer, DSTC The University of Queensland david.leonard@dstc.edu.au http://www.dstc.edu.au/~leonard/ >> Distributed Solutions Event http://www.dstc.edu.au/events/dse96/ <<