WerWolv / PatternLanguage

The Pattern Language used by the ImHex Hex Editor

Home Page:https://imhex.werwolv.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

The Pattern Language used by the ImHex Hex Editor

https://imhex.werwolv.net

License:GNU Lesser General Public License v2.1


Languages

Language:C++ 98.5%Language:CMake 1.2%Language:Python 0.3%