From 3edd27f3df7790d6bf93e88a6e404c41537a743b Mon Sep 17 00:00:00 2001 From: Omega16 <22673084+omega16@users.noreply.github.com> Date: Mon, 24 Aug 2020 16:25:12 -0500 Subject: [PATCH] Added mention to lark output as dot or png --- README.md | 2 +- docs/features.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8bc45f5..ce266d3 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ Lark is great at handling ambiguity. Here is the result of parsing the phrase "f ![fruitflies.png](examples/fruitflies.png) -See the code and more [examples here](https://github.com/lark-parser/lark/tree/master/examples) +See the code to make [this image](https://github.com/lark-parser/lark/tree/master/examples/fruitflies.py) and more [examples here](https://github.com/lark-parser/lark/tree/master/examples) ## List of main features diff --git a/docs/features.md b/docs/features.md index ccaa4cd..fc8ccb6 100644 --- a/docs/features.md +++ b/docs/features.md @@ -26,6 +26,8 @@ - Support for external regex module ([see here](classes.md#using-unicode-character-classes-with-regex)) - Import grammars from Nearley.js ([read more](nearley.md)) - CYK parser + - Transform your parse tree to dot or png files for better visualization ([see_example](https://github.com/lark-parser/lark/blob/master/examples/fruitflies.py)) + ### Experimental features - Automatic reconstruction of input from parse-tree (see examples)