Skip to content

feat: Supports using Python language to extend PPE language instructions. #22

Open
@snowyu

Description

@snowyu

Inline python function to extend instruction:

- !fn |-
    [python] def add(a,b):
      return a+b
- $add(1,2)

Import python functions from file:

---
import: "./my.py"
---
- $add(1,2)
# my.py
def add(a,b):
  return a+b

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions