Skip to content

Commit

Permalink
Merge pull request #709 from dlatchx/luajit
Browse files Browse the repository at this point in the history
luajit: add decoder
  • Loading branch information
wader committed Jun 21, 2023
2 parents c23e241 + c42fb9e commit 5605ebe
Show file tree
Hide file tree
Showing 14 changed files with 1,273 additions and 0 deletions.
2 changes: 2 additions & 0 deletions format/all/all.fqtest
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ $ fq -n _registry.groups.probe
"gif",
"gzip",
"jpeg",
"luajit",
"macho",
"macho_fat",
"matroska",
Expand Down Expand Up @@ -106,6 +107,7 @@ ipv6_packet Internet protocol v6 packet
jpeg Joint Photographic Experts Group file
json JavaScript Object Notation
jsonl JavaScript Object Notation Lines
luajit LuaJIT 2.0 bytecode
macho Mach-O macOS executable
macho_fat Fat Mach-O macOS executable (multi-architecture)
markdown Markdown
Expand Down
1 change: 1 addition & 0 deletions format/all/all.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
_ "github.com/wader/fq/format/inet"
_ "github.com/wader/fq/format/jpeg"
_ "github.com/wader/fq/format/json"
_ "github.com/wader/fq/format/luajit"
_ "github.com/wader/fq/format/markdown"
_ "github.com/wader/fq/format/math"
_ "github.com/wader/fq/format/matroska"
Expand Down
1 change: 1 addition & 0 deletions format/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ var (
JPEG = &decode.Group{Name: "jpeg"}
JSON = &decode.Group{Name: "json"}
JSONL = &decode.Group{Name: "jsonl"}
LuaJIT = &decode.Group{Name: "luajit"}
MachO = &decode.Group{Name: "macho"}
MachO_Fat = &decode.Group{Name: "macho_fat"}
Markdown = &decode.Group{Name: "markdown"}
Expand Down
Loading

0 comments on commit 5605ebe

Please sign in to comment.