[yaml2lambda]

yaml2lambda is a core slot, one of the keywords of the Hyperlambda language, in Hyperlambda, the language of Magic Cloud. Transforms YAML into a lambda hierarchy.

  • Value (yaml), required: YAML text to transform
  • Returns: Resolves to the parsed lambda hierarchy as child nodes

Guide

How to use yaml2lambda

JSON declaration

This is the complete declaration of yaml2lambda, as the running system describes it. It is also published as slot.json.

JSON declaration
{
  "name": "yaml2lambda",
  "description": "Transforms YAML into a lambda hierarchy",
  "signature": {
    "input": {
      "kind": "yaml",
      "description": "YAML text to transform",
      "required": true,
      "mode": "ValueOrExpression"
    },
    "output": {
      "mode": "Lambda",
      "kind": "lambda-tree",
      "description": "Resolves to the parsed lambda hierarchy as child nodes"
    }
  }
}

← yaml2json all core slots yield →