bond: Bond schema compiler and code generator

[ code-generation, compiler, language, library, mit, program ] [ Propose Tags ] [ Report a vulnerability ]

Bond is a cross-platform framework for handling schematized data. It supports cross-language deserialization and powerful generic mechanisms for efficiently manipulating data. . This package contains a library for parsing the Bond schema definition language and performing template-based code generation. The library includes built-in templates for generating standard Bond C++ and C# code, as well as utilities for writing custom codegen templates. . The package also contains a command-line compilercodegen tool, named gbc, which is primarily used to generate code for C++ and C# programs using Bond.

Modules

[Last Documentation]

  • Language
    • Bond
      • Codegen
        • Cpp
          • Language.Bond.Codegen.Cpp.ApplyOverloads
          • Language.Bond.Codegen.Cpp.Apply_cpp
          • Language.Bond.Codegen.Cpp.Apply_h
          • Language.Bond.Codegen.Cpp.Enum_h
          • Language.Bond.Codegen.Cpp.Reflection_h
          • Language.Bond.Codegen.Cpp.Types_cpp
          • Language.Bond.Codegen.Cpp.Types_h
          • Language.Bond.Codegen.Cpp.Util
        • Cs
          • Language.Bond.Codegen.Cs.Types_cs
          • Language.Bond.Codegen.Cs.Util
        • Language.Bond.Codegen.CustomMapping
        • Java
          • Language.Bond.Codegen.Java.Class_java
          • Language.Bond.Codegen.Java.Enum_java
          • Language.Bond.Codegen.Java.Util
        • Language.Bond.Codegen.Templates
        • Language.Bond.Codegen.TypeMapping
        • Language.Bond.Codegen.Util
      • Language.Bond.Lexer
      • Language.Bond.Parser
      • Syntax
        • Language.Bond.Syntax.Internal
        • Language.Bond.Syntax.JSON
        • Language.Bond.Syntax.SchemaDef
        • Language.Bond.Syntax.Types
        • Language.Bond.Syntax.Util
      • Language.Bond.Util

Flags

Manual Flags

NameDescriptionDefault
warningsaserrors

Treat warnings as errors for building bond

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.4.0.1, 0.4.0.2, 0.4.1.0, 0.5.0.0, 0.6.0.0, 0.7.0.0, 0.8.0.0, 0.9.0.0, 0.10.0.0, 0.10.1.0, 0.11.0.0, 0.11.0.1, 0.11.0.2, 0.11.0.3, 0.12.0.1, 0.12.1.0, 0.13.0.0 (info)
Dependencies aeson, async, base (>=4.7 && <5), bond, bytestring, cmdargs, directory, filepath, megaparsec, monad-loops, mtl, process, scientific, shakespeare, text, unordered-containers [details]
License MIT
Copyright Copyright (c) Microsoft. All rights reserved.
Author Adam Sapek <adamsap@microsoft.com>
Maintainer Bond Development Team <bond-dev@microsoft.com>
Category Language, Compiler, Code Generation
Home page https://github.com/microsoft/bond#readme
Bug tracker https://github.com/microsoft/bond/issues
Source repo head: git clone https://github.com/microsoft/bond
Uploaded by jdupej9000 at 2024-07-15T12:14:20Z
Distributions
Reverse Dependencies 1 direct, 2 indirect [details]
Executables gbc
Downloads 10387 total (51 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2024-07-15 [all 2 reports]