READ_ME 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # This file is part of the software similarity tester SIM.
  2. # Written by Dick Grune, Vrije Universiteit, Amsterdam.
  3. # $Id: READ_ME,v 2.6 2005/02/20 17:02:59 dick Exp $
  4. These programs test for similar (or equal) stretches in one or more program
  5. files and can be used to detect common code or plagiarism. See sim.1.
  6. Checkers are available for C, Java, Pascal, Modula-2, Lisp, Miranda and
  7. natural text.
  8. This READ_ME file describes the UNIX version. The MSDOS version is described
  9. in the file READ.ME.
  10. To obtain the sources, do
  11. sh sim_2_21.shar
  12. To compile and test, just call
  13. make
  14. This will generate one executable called sim_c, the checker for C, and will
  15. run two small tests to show sample output.
  16. To install, examine sysidf.mk, reset BINDIR and MANDIR to sensible paths,
  17. and call
  18. make install.sim_c for C
  19. make install.sim_java for Java
  20. make install.sim_pasc for Pascal
  21. make install.sim_m2 for Modula-2
  22. make install.sim_lisp for Lisp
  23. make install.sim_mira for Miranda
  24. make install.sim_text for text
  25. or
  26. make install.all for everything.
  27. These will also install the manual page.
  28. To change the default run size or the page width, adjust the file params.h
  29. and recompile.
  30. To add another language L, write a file Llang.l along the lines of clang.l
  31. and the other *lang.l files, extend the Makefile and recompile.
  32. All knowledge about a given language L is located in Llang.l; the rest of
  33. the programs expect each token to be a single character.
  34. Available at present:
  35. clang.l javalang.l pascallang.l m2lang.l lisplang.l miralang.l text.l
  36. Dick Grune
  37. Vrije Universiteit
  38. de Boelelaan 1081
  39. 1081 HV Amsterdam
  40. the Netherlands
  41. email: [email protected]
  42. ftp://ftp.cs.vu.nl/pub/dick
  43. http://www.cs.vu.nl/~dick