lisp 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. #------------------------------------------------------------------------------
  2. # lisp: file(1) magic for lisp programs
  3. #
  4. # various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)
  5. # This is a guess, but a good one.
  6. 0 string ;; Lisp/Scheme program text
  7. # Emacs 18 - this is always correct, but not very magical.
  8. 0 string \012( Emacs v18 byte-compiled Lisp data
  9. # Emacs 19+ - ver. recognition added by Ian Springer
  10. # Also applies to XEmacs 19+ .elc files; could tell them apart if we had regexp
  11. # support or similar - Chris Chittleborough <cchittleborough@yahoo.com.au>
  12. 0 string ;ELC
  13. >4 byte >19
  14. >4 byte <32 Emacs/XEmacs v%d byte-compiled Lisp data
  15. # Files produced by CLISP Common Lisp From: Bruno Haible <haible@ilog.fr>
  16. 0 string (SYSTEM::VERSION\040' CLISP byte-compiled Lisp program text
  17. 0 long 0x70768BD2 CLISP memory image data
  18. 0 long 0xD28B7670 CLISP memory image data, other endian
  19. # Files produced by GNU gettext
  20. 0 long 0xDE120495 GNU-format message catalog data
  21. 0 long 0x950412DE GNU-format message catalog data
  22. #.com and .bin for MIT scheme
  23. 0 string \372\372\372\372 MIT scheme (library?)
  24. # From: David Allouche <david@allouche.net>
  25. 0 string \<TeXmacs| TeXmacs document text