README 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. obcpl (BCPL compiler)
  2. This is an x86 (IA-32) port of the "classic" old BCPL compiler (around
  3. 1980) from the Tripos Research Group at Cambridge University.
  4. As a real, working computer language implementation, that can be
  5. studied, modified, and played with, this old BCPL compiler has a good
  6. deal to recommend it. The compiler frontend consists of only about
  7. 2000 lines of BCPL code, and (as supplied here) compiles to a static
  8. (fully-linked) x86 binary that is less than 36000 bytes in size.
  9. x86_64 note: obcpl doesn't require multilib on Slackware64. It only
  10. generates 32-bit x86 code, but the binaries it creates are 100%
  11. statically linked, and will run fine on Slackware64 without multlib.
  12. The package includes:
  13. - The BCPL compiler itself (/usr/bin/obcpl and the support files in
  14. /usr/lib(64)?/obcpl)
  15. - The utilities:
  16. - obcpl-cmpltest: compiler test
  17. - obcpl-gpm: macro generator
  18. - obcpl-xref: cross referencer
  19. - The sources for the utilities
  20. - Example code (Hello World and a factorial calculator)
  21. - The obcpl documentation, including manual.txt and standard.txt
  22. See also:
  23. https://en.wikipedia.org/wiki/BCPL
  24. https://www.cl.cam.ac.uk/~mr10/bcplman.pdf