Barb


Barb is a simple dynamic data scripting language for .NET

The Barb library can be installed from NuGet:
PM> Install-Package Barb

Example

Getting started with Barb is easy!

1: 
2: 
3: 
4: 
5: 
6: 
#r "Barb.dll"
open Barb.Compiler

let func = buildExpr<unit,string> "'Hello World!'"

printfn "%s" (func ())

Samples & documentation

  • Tutorial contains a further explanation of how to use Barb.

  • API Reference contains automatically generated documentation for all types, modules and functions in the library. This includes additional brief samples on using most of the functions.

  • For now, our GitHub Page has more in depth information, but we're doing our best to move this information here and improve it.

Contributing and copyright

The project is hosted on GitHub where you can report issues, fork the project and submit pull requests. If you're adding a new public API, please also consider adding samples that can be turned into a documentation. You might also want to read the library design notes to understand how it works.

The library is available under the Apache 2.0 license, which allows modification and redistribution for both commercial and non-commercial purposes. For more information see the License file in the GitHub repository.

namespace Barb
module Compiler

from Barb
val func : (unit -> string)

Full name: Index.func
val buildExpr : predicate:string -> ('I -> 'O)

Full name: Barb.Compiler.buildExpr
type unit = Unit

Full name: Microsoft.FSharp.Core.unit
Multiple items
val string : value:'T -> string

Full name: Microsoft.FSharp.Core.Operators.string

--------------------
type string = System.String

Full name: Microsoft.FSharp.Core.string
val printfn : format:Printf.TextWriterFormat<'T> -> 'T

Full name: Microsoft.FSharp.Core.ExtraTopLevelOperators.printfn
Fork me on GitHub