Skip to content

Instantly share code, notes, and snippets.

@ilmari
Created January 12, 2016 16:53
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ilmari/2a23f96373163a1fa45b to your computer and use it in GitHub Desktop.
Draft MoarVM magic(5) file
0 string MOARVM\r\n MoarVM bytecode
>8 lelong 5 (version %u)
>>16 lelong x \b, %u serialization contexts
>>24 lelong x \b, %u extension ops
>>32 lelong x \b, %u frames
>>40 lelong x \b, %u callsites
>>48 lelong x \b, %u strings
>>56 lelong x \b, %u bytes serialized data
>>(52.l) lelong x (version %u)
>>64 lelong x \b, %u bytes bytecode
>>72 lelong x \b, %u bytes annotations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment