Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itchio/wizardry
🍄 A parser, interpreter and compiler for libmagic rule files in golang
https://github.com/itchio/wizardry
Last synced: about 2 months ago
JSON representation
🍄 A parser, interpreter and compiler for libmagic rule files in golang
- Host: GitHub
- URL: https://github.com/itchio/wizardry
- Owner: itchio
- License: mit
- Created: 2017-04-07T15:38:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-03-01T16:10:12.000Z (almost 5 years ago)
- Last Synced: 2024-06-18T20:12:07.060Z (7 months ago)
- Language: Go
- Homepage:
- Size: 476 KB
- Stars: 18
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wizardry
[![build status](https://git.itch.ovh/itchio/wizardry/badges/master/build.svg)](https://git.itch.ovh/itchio/wizardry/commits/master)
[![codecov](https://codecov.io/gh/itchio/wizardry/branch/master/graph/badge.svg)](https://codecov.io/gh/itchio/wizardry)
[![Go Report Card](https://goreportcard.com/badge/github.com/itchio/wizardry)](https://goreportcard.com/report/github.com/itchio/wizardry)
[![GoDoc](https://godoc.org/github.com/itchio/wizardry?status.svg)](https://godoc.org/github.com/itchio/wizardry)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/itchio/wizardry/blob/master/LICENSE)wizardry is a toolkit to deal with libmagic rule files (sources, not compiled)
It contains:
* A parser, which turn magic rule files into an AST
* An interpreter, which identifies a target by following
the rules in the AST
* A compiler, which generates go code to follow the
rules in the AST## License
wizardry is released under the MIT license, see the
`LICENSE` file for details.