Categorygithub.com/exprml/exprml-go
repositorypackage
0.0.3
Repository: https://github.com/exprml/exprml-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

exprml-go

exprml-go is a Go library implementing an ExprML interpreter. The ExprML is a programming language that can evaluate expressions represented in JSON (and JSON-compatible YAML).

The ExprML language specification is available at https://github.com/exprml/exprml-language .

Installation

go get github.com/exprml/exprml-go

Examples

Evaluate an expression

https://pkg.go.dev/github.com/exprml/exprml-go#example-Evaluator

Call Go functions from ExprML

https://pkg.go.dev/github.com/exprml/exprml-go#example-Evaluator-Extension

Hook Go functions before and after each evaluation of nested expressions

https://pkg.go.dev/github.com/exprml/exprml-go#example-Evaluator-BeforeEvaluate

https://pkg.go.dev/github.com/exprml/exprml-go#example-Evaluator-AfterEvaluate

API documentation

https://pkg.go.dev/github.com/exprml/exprml-go