1*43a5ec4eSXin LI 2*43a5ec4eSXin LI#------------------------------------------------------------ 3*43a5ec4eSXin LI# $File: bytecode,v 1.2 2021/06/30 11:57:32 christos Exp $ 4*43a5ec4eSXin LI# magic for various bytecodes 5*43a5ec4eSXin LI 6*43a5ec4eSXin LI# From: Mikhail Gusarov <dottedmag@dottedmag.net> 7*43a5ec4eSXin LI# NekoVM (https://nekovm.org/) bytecode 8*43a5ec4eSXin LI0 string NEKO NekoVM bytecode 9*43a5ec4eSXin LI>4 lelong x (%d global symbols, 10*43a5ec4eSXin LI>8 lelong x %d global fields, 11*43a5ec4eSXin LI>12 lelong x %d bytecode ops) 12*43a5ec4eSXin LI!:mime application/x-nekovm-bytecode 13*43a5ec4eSXin LI 14*43a5ec4eSXin LI# https://www.iana.org/assignments/media-types/application/vnd.resilient.logic 15*43a5ec4eSXin LI# From: Benedikt Muessig <benedikt@resilient-group.de> 16*43a5ec4eSXin LI0 belong 0x07524c4d Resilient Logic bytecode 17*43a5ec4eSXin LI!:mime application/vnd.resilient.logic 18*43a5ec4eSXin LI>4 byte/16 x \b, version %d 19*43a5ec4eSXin LI>4 byte&0x0f x \b.%d 20*43a5ec4eSXin LI 21*43a5ec4eSXin LI# Guile file magic from <dalepsmith@gmail.com> 22*43a5ec4eSXin LI# https://www.gnu.org/s/guile/ 23*43a5ec4eSXin LI# https://git.savannah.gnu.org/gitweb/?p=guile.git;f=libguile/_scm.h;hb=HEAD#l250 24*43a5ec4eSXin LI 25*43a5ec4eSXin LI0 string GOOF---- Guile Object 26*43a5ec4eSXin LI>8 string LE \b, little endian 27*43a5ec4eSXin LI>8 string BE \b, big endian 28*43a5ec4eSXin LI>11 string 4 \b, 32bit 29*43a5ec4eSXin LI>11 string 8 \b, 64bit 30*43a5ec4eSXin LI>13 regex .\.. \b, bytecode v%s 31