bond: Bond schema compiler and code generator

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

Bond was a cross-platform framework for working with schematized data. The open-source project ended on March 31, 2025. . 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 compiler/codegen 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

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

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>
Revised Revision 1 made by chwarr at 2025-03-31T18:58:03Z
Category Language, Compiler, Code Generation
Home page https://github.com/microsoft/bond
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 10537 total (3 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]