Categorygithub.com/jplorg/jpl/go
package
1.3.0
Repository: https://github.com/jplorg/jpl.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

JPL - JSON Processing Language - Golang implementation

Code example

package main

import (
  "fmt"

  gojpl "github.com/jplorg/jpl/go"
)

func main() {
  inputs := []any{nil}

  results, err := gojpl.Run(`"Hello, 🌎!"`, inputs, nil)
  if err != nil {
    panic(err)
  }

  fmt.Println(results...)
}

REPL

The package provides a CLI REPL, which can be used as a language playground.

> jpl-repl # or `go run github.com/jplorg/jpl/go/jpl-repl`

Welcome to JPL.
Type ":h" for more information.

> "Hello, \('🌎', 'JPL')!"
"Hello, 🌎!", "Hello, JPL!"
>

Extending JPL

TODO: inform about the runtime API, functions, JPLTypes and different error types