Skip to content

Instantly share code, notes, and snippets.

@guillep
Created May 14, 2018 09:11
Show Gist options
  • Save guillep/f70abb710c523709a67c294b75a8033b to your computer and use it in GitHub Desktop.
Save guillep/f70abb710c523709a67c294b75a8033b to your computer and use it in GitHub Desktop.
How to browse Hermes packages
```
reader := HEBinaryReader new
stream: ('AST-Core.hermes' asFileReference) binaryReadStream;
yourself.
package := HEPackage readFrom: reader.
```
If you inspect the package you will see all the content in the Hermes file (the format allows us to have different root elements in the file, but we are exporting a package per file).
If it is useful we can include it as an inspector.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment