Xref: utzoo comp.sources.wanted:12039 comp.lang.modula2:2601 Path: utzoo!attcan!uunet!mcsun!ukc!icdoc!doc.ic.ac.uk!iwm From: iwm@doc.ic.ac.uk (Ian Moor) Newsgroups: comp.sources.wanted,comp.lang.modula2 Subject: wanted `lint-like' program for Modula2 Message-ID: <1975@gould.doc.ic.ac.uk> Date: 8 Jun 90 14:04:40 GMT Sender: iwm@doc.ic.ac.uk Reply-To: iwm@doc.ic.ac.uk (Ian Moor) Organization: Dept. of Computing, Imperial College, London, UK. Lines: 15 Even though Modula2 has more constraints than C there are still many mistakes/problems it would be useful to find especially when helping beginners, some of these are: Unitialised variables VAR parameters that are never changed Value parameters that are changed and their value never used Procedures that are declared or imported but never called and so on ... Does anybody have or know of a tool that will do this ? I know that some compilers for some languages find some of these (e.g. Berkeley Pascal) as part of their optimizing, so if you have the (understandable) source of a PD compiler for Modula2 I'll be grateful.