xref: /freebsd/contrib/file/magic/Magdir/parrot (revision 48c779cdecb5f803e5fe5d761987e976ca9609db)
1b6cee71dSXin LI#------------------------------------------------------------------------------
2*48c779cdSXin LI# $File: parrot,v 1.2 2019/04/19 00:42:27 christos Exp $
3b6cee71dSXin LI# parrot: file(1) magic for Parrot Virtual Machine
4*48c779cdSXin LI# URL:	https://www.lua.org/
5b6cee71dSXin LI# From: Lubomir Rintel <lkundrak@v3.sk>
6b6cee71dSXin LI
7b6cee71dSXin LI# Compiled Parrot byte code
8b6cee71dSXin LI0	string	\376PBC\r\n\032\n	Parrot bytecode
9b6cee71dSXin LI>64	byte	x			%d.
10b6cee71dSXin LI>72	byte	x			\b%d,
11b6cee71dSXin LI>8	byte	>0			%d byte words,
12b6cee71dSXin LI>16	byte	0			little-endian,
13b6cee71dSXin LI>16	byte	1			big-endian,
14b6cee71dSXin LI>32	byte	0			IEEE-754 8 byte double floats,
15b6cee71dSXin LI>32	byte	1			x86 12 byte long double floats,
16b6cee71dSXin LI>32	byte	2			IEEE-754 16 byte long double floats,
17b6cee71dSXin LI>32	byte	3			MIPS 16 byte long double floats,
18b6cee71dSXin LI>32	byte	4			AIX 16 byte long double floats,
19b6cee71dSXin LI>32	byte	5			4-byte floats,
20b6cee71dSXin LI>40	byte	x			Parrot %d.
21b6cee71dSXin LI>48	byte	x			\b%d.
22b6cee71dSXin LI>56	byte	x			\b%d
23