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