Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 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 (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-03T09:33:31.000Z (2 months ago)
- Last Synced: 2024-08-03T10:41:09.617Z (2 months ago)
- Topics: binary, dsl, hacktoberfest, hex-editor, imhex, pattern, programming-language
- Language: C++
- Homepage: https://imhex.werwolv.net
- Size: 2.24 MB
- Stars: 159
- Watchers: 5
- Forks: 38
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Pattern Language
![Unit Tests](https://img.shields.io/github/actions/workflow/status/WerWolv/PatternLanguage/tests.yml?branch=master&label=Unit%20Tests&style=flat-square)
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)