https://github.com/WerWolv/PatternLanguage
The Pattern Language used by the ImHex Hex Editor
https://github.com/WerWolv/PatternLanguage
binary dsl hacktoberfest hex-editor imhex pattern programming-language
Last synced: 8 months ago
JSON representation
The Pattern Language used by the ImHex Hex Editor
- Host: GitHub
- URL: https://github.com/WerWolv/PatternLanguage
- Owner: WerWolv
- License: lgpl-2.1
- Created: 2022-04-16T12:41:11.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-18T21:54:52.000Z (10 months ago)
- Last Synced: 2024-10-20T21:08:15.072Z (9 months ago)
- Topics: binary, dsl, hacktoberfest, hex-editor, imhex, pattern, programming-language
- Language: C++
- Homepage: https://imhex.werwolv.net
- Size: 2.26 MB
- Stars: 169
- Watchers: 5
- Forks: 44
- Open Issues: 36
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Pattern Language

This repository contains the source code for the Pattern Language used by the [ImHex](https://github.com/WerWolv/ImHex) Hex Editor.
**[Documentation](https://imhex.werwolv.net/docs)**
## Examples
```rust
fn main() {
std::print("Hello World");
}
``````cpp
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](https://github.com/WerWolv/ImHex-Patterns/tree/master/includes/std)