We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

EFG

From Esolang
Jump to navigation Jump to search

EFG(or EF4G, Esoteric Format for Graphs) is a esoteric markup language or esoteric format invented by User:None1. It can be used for implementing flow-chart-like non-textual esolangs that can't be implemented easily. A program can both be rendered as an image and interpreted by an interpreter.

Format

The format is like this:

<NodeLabel1>
<NodeLabel2>
<NodeLabel3>
...
=
<Node11> <Node12> <W1>
<Node21> <Node22> <W2>
...

Edges are directed.

A renderer can interpret the node and edge weights freely and that's the essence of this esolang.