Skip to content

WerWolv/PatternLanguage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c5c7005 · May 11, 2025
Dec 30, 2024
Feb 18, 2025
May 17, 2024
May 10, 2025
Mar 7, 2025
May 11, 2025
May 11, 2025
Apr 19, 2025
Dec 16, 2024
Jan 4, 2025
Feb 1, 2025
Jan 22, 2024
Jun 17, 2023

Repository files navigation

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