GithubHelp home page GithubHelp logo

yeslogic / fathom Goto Github PK

View Code? Open in Web Editor NEW
256.0 15.0 14.0 5.65 MB

๐Ÿšง (Alpha stage software) A declarative data definition language for formally specifying binary data formats. ๐Ÿšง

License: Apache License 2.0

Mercury 3.11% Rust 79.84% Lean 1.24% HTML 14.34% Prolog 1.06% Shell 0.05% CSS 0.03% JavaScript 0.08% Nix 0.26%
data-description-language binary-format language statically-typed declarative parser rust dsl binary-data type-system

fathom's Introduction

Fathom

Actions Status Matrix License

A language for specifying data-dependent binary formats.

Example

def pixel = {
    red <- u8,
    green <- u8,
    blue <- u8,
};

def main = {
    width <- u16le,
    height <- u16le,
    pixels <- repeat_len16 (width * height) pixel,
};

More examples can be found in the formats directory.

Code of Conduct

Please note that this project is released with a Code of Conduct. By participating in this project you agree to abide by its terms.

License

Fathom is licensed under the terms of the Apache License (Version 2.0).

See LICENSE or http://www.apache.org/licenses/LICENSE-2.0 for details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.