Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!mintaka!spdcc!iecc!compilers-sender From: dhandly@hpcupt3.cup.hp.com (Dennis Handly) Newsgroups: comp.compilers Subject: Re: yacc specifications for HP's SPL Keywords: SPL, yacc Message-ID: <9104100524.AA21859@hpcupt3.cup.hp.com> Date: 10 Apr 91 05:24:00 GMT References: <1991Apr05.053511.10895@iecc.cambridge.ma.us> Sender: compilers-sender@iecc.cambridge.ma.us Reply-To: Dennis Handly Organization: Compilers Central Lines: 19 Approved: compilers@iecc.cambridge.ma.us The SPL compiler for the HP3000s (Non PA-RISC) is basically a recursive descent ad-hoc compiler. (You wouldn't want to look at the code.) It tries to optimize everything at a peep-hole basis. It is difficult to maintain. HP's COBOL compiler for HP3000s uses better technology that that. It uses 3 LALR parsers, one for each 'real' division. Anyway, there was an attempt to use TWS to write a grammar for SPL so that it could be translated to HP-Pascal. It wasn't used very much. I forget what parts of the language had difficulties. I don't know what Splash!, a third party product, is using for its parsing. I think there were other companies that offered a SPL to C translator. -- Send compilers articles to compilers@iecc.cambridge.ma.us or {ima | spdcc | world}!iecc!compilers. Meta-mail to compilers-request.