Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.04 KB

README.md

File metadata and controls

39 lines (30 loc) · 1.04 KB

Pattern Language

Unit Tests

This repository contains the source code for the Pattern Language used by the ImHex Hex Editor.

Documentation

Examples

fn main() {
    std::print("Hello World");
}
enum Type : u16 {
    A = 0x50,
    B,
    C
};

struct MyStruct {
    Type type;
    u32 x, y, z;
    padding[10];
    double a;
};

MyStruct myStruct @ 0x100;

Standard Library

The Pattern Language comes with its own standard library which can be found in the ImHex Pattern database