Skip to main content

unifiedjs

unified is an interface for processing text using syntax trees.

| ........................ process ........................... |
| .......... parse ... | ... run ... | ... stringify ..........|

+--------+ +----------+
Input ->- | Parser | ->- Syntax Tree ->- | Compiler | ->- Output
+--------+ | +----------+
X
|
+--------------+
| Transformers |
+--------------+

Processors

The following projects process different syntax tree formats.

There are many plugins available, you can also write your own.

AST (Abstract Syntax Tree)

Use AST Explorer to visualize