Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zephyr.ens.tek.com!tektronix!percy!m2xenix!quagga!undeed!mlaidlaw From: mlaidlaw@Daisy.EE.UND.AC.ZA (Mike Laidlaw) Newsgroups: comp.sys.amiga.programmer Subject: Help with language writing Message-ID: <1991May20.134453.15378@Daisy.EE.UND.AC.ZA> Date: 20 May 91 13:44:53 GMT Distribution: all Organization: Univ. Natal, Durban, S. Africa Lines: 22 Help! I'm writing a Forth-like language and am stuck.My problem is this,when creating secondarys using the outer interpreter (editor) I am using absolute memory jumps to primitives or other secondarys.I then save the dictionary to disk as a straight memory dump.When I next load my language,AllocMem gives me memory starting at a different address thus when I load my program,all the absolute calls are incorrect thus my program bombs.My question is this,do I save my sources as ascii text and compile them everytime I load the text back in again,or is there some method of using indirect addressing within secondarys? The problem with ascii text files is if I want to create whole dictionarys which emulate another language which would take pretty long to compile. Does anyone know how JPForth or any other Forth does it? Please Note : I am using assembly code to produce the language. Thanks in Advance. Myron 8->