Deml: The Directed Acyclic Graph Elevation Markup Language
5 hours ago
- #DAG
- #DEML
- #Graph
- DEML is designed to represent Directed Acyclic Graphs (DAGs) using elevation markers (----) to denote different levels, making it easier for humans to parse.
- Nodes in DEML are defined by the first word on a line and can point to outputs (>) and inputs (<), separated by |.
- DEML can be used with dag-rs to run DAGs via the command `deml run -i <filepath>`.
- Shell commands can be assigned to nodes in DEML using `=`.
- DEML files can be converted to Mermaid Diagram files (.mmd) using `deml mermaid -i <inputfile> -o <outputfile>`.
- DEML syntax is compared with YAML for readability, showing a more streamlined representation.
- Future goals for DEML include syntax highlighting with tree-sitter-deml and adding a syntax to label edges.
- DEML is dual-licensed under Apache License 2.0 and MIT license.