em_pem.6 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. .TH PC_PEM VI
  2. .ad
  3. .SH NAME
  4. pc_pem \- Pascal to EM compiler
  5. .SH SYNOPSIS
  6. /usr/em/lib/pc_pem compact errors
  7. .SH DESCRIPTION
  8. Pem is a Pascal compiler producing compact EM assembly code.
  9. The EM machine is described in [1].
  10. The language Pascal is developed by N. Wirth and is described
  11. in the "Pascal User Manual and Report" [2].
  12. The compiler complies as much as possible with the ISO standard proposal [3].
  13. The language features as processed by this compiler are described in
  14. the Pascal reference manual [4].
  15. Normally the compiler is called by means of the user interface program
  16. \fIack\fP(I).
  17. .PP
  18. The first argument is the name of the file on which the produced
  19. compact EM code is written.
  20. The file is also used to pass the options to the compiler.
  21. These options include the -{xxx} flags given to \fIack\fP(I)
  22. and the size of Pascal objects, like pointers.
  23. .PP
  24. The second argument is the name of the error file.
  25. For each error found by the compiler a record is appended to this file.
  26. An error record contains several fields like error number, line number,
  27. column number and error parameter (identifier name or label number etc.).
  28. .SH "SEE ALSO"
  29. .IP [1]
  30. A.S. Tanenbaum, Hans van Staveren, Ed Keizer and Johan
  31. Stevenson "Description of a machine architecture for use with
  32. block structured languages" Informatica report IR-81.
  33. .IP [2]
  34. K.Jensen & N.Wirth
  35. "PASCAL, User Manual and Report" Springer-Verlag.
  36. .IP [3]
  37. An improved version of the ISO standard proposal for the language Pascal,
  38. ISO/TC97/SC5-N462, received November 1979.
  39. .IP [4]
  40. J.W.Stevenson "The Amsterdam Compiler Kit Pascal reference manual".
  41. .br
  42. (try \fInroff /usr/em/doc/pcref.doc\fP)
  43. .IP [5]
  44. \fIack\fP(I)
  45. .SH DIAGNOSTICS
  46. Compilation errors are written to the error file.
  47. Positive error numbers are used for irrecoverable errors, negative ones for warnings.
  48. \fIAck\fP searches the file /usr/em/etc/pc_errors to find
  49. the corresponding messages.
  50. .SH AUTHOR
  51. Johan Stevenson, Vrije Universiteit.