Xref: utzoo comp.sys.amiga:16411 comp.sys.amiga.tech:82 Path: utzoo!mnetor!uunet!husc6!m2c!ulowell!page From: page@swan.ulowell.edu (Bob Page) Newsgroups: comp.sys.amiga,comp.sys.amiga.tech Subject: Re: code differences between manx and lattice Message-ID: <5596@swan.ulowell.edu> Date: 21 Mar 88 16:23:28 GMT References: <9457@sunybcs.UUCP> Reply-To: page@swan.ulowell.edu (Bob Page) Organization: University of Lowell, Computer Science Dept. Lines: 19 Keywords: a lexicl analyser to make them "interchangable" ugmiker@sunybcs.UUCP (Michael Reilly) wrote: >should be able to write a simple (simple???) lexical analyser to >convert manx code to lattice code And back again, hopefully. Yes, this is surely needed. The differences are not so great that it can't be automated. The big things are Lattice function prototyping and the differences in the libraries (Lattice has a lot of ANSI calls, Manx has a lot of UNIX calls), but you could cons up some routines of your own or maybe convert vendor X's library routine to a couple of Y's routines or something. Also watch out for assumptions about how big an 'int' is ... default Lattice is 32 bits, default Manx is 16 bits. ..Bob -- Bob Page, U of Lowell CS Dept. page@swan.ulowell.edu ulowell!page "Nicaragua" is Spanish for "Vietnam."