Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!samsung!spool.mu.edu!uunet!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 needed (Please!!!!!!!!) Message-ID: <1991May23.082645.28243@Daisy.EE.UND.AC.ZA> Date: 23 May 91 08:26:45 GMT References: <1991May20.134453.15378@Daisy.EE.UND.AC.ZA> Distribution: all Organization: Univ. Natal, Durban, S. Africa Lines: 23 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-> My e-mail address is : mlaidlaw@Daisy.EE.UND.AC.ZA