Thanks to visit codestin.com
Credit goes to lib.rs

#interpreter #lexer #binary-parser #editor #hex-editor #hxy

hxy-010-lang

010 Editor Binary Template language: lexer, parser, interpreter

1 unstable release

Uses new Rust 2024

0.1.0 Apr 24, 2026

#422 in Template engine


Used in hxy

MIT/Apache

175KB
3.5K SLoC

010 Editor Binary Template language implementation -- lexer, parser, and tree-walking interpreter. Built incrementally: the lexer lands first, with snapshot tests exercising real templates.


hxy

A hex editor built with Rust and egui. Desktop and web.

Reusable egui widget: hxy-view on crates.io hxy-view on docs.rs

Screenshots

VFS browser (zip):

zip VFS

VFS browser (Xbox):

Xbox VFS

Loading a PNG from inside a zip:

PNG loaded from zip

Expression calculator:

expression calculator

Command palette:

command palette

Install

cargo install hxy

What's in the box

  • File-backed hex view with selection, keyboard nav, drag-select, minimap
  • Data inspector (integer widths, LEB128, float, time fields, RGBA/ARGB)
  • 010 Editor Binary Template runtime (built in) -- or bring your own via WASM. 010 runtime does not have feature-parity, but can run some basic templates.
  • ImHex pattern support
  • VFS browser for archive formats (zip, etc.)
  • IPC to open files from CLI in the existing window

Status

too early to say.

Future plans:

  • Refined plugin interface (it's day 1 and it's already a mess)
  • Proper app bundling
  • OS shell registration

Goals

  • Get to a good point so I can stop paying for a 010 Editor license
  • Add process memory reading / raw disk reading
  • Get working in web out of the box (not tested yet)
  • Most components usable in library form so that people who need a hex view in an application can have one easily

License

Dual-licensed under MIT or Apache-2.0, at your option.

Dependencies

~1–1.5MB
~39K SLoC