bytecode 1012 B

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