Last active
January 16, 2017 21:57
-
-
Save SuperJMN/825032dc6925304c557503743698dd11 to your computer and use it in GitHub Desktop.
Tree-building language
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* The language will represent a tree. Each node can have zero or more children. | |
It will look like this text (tabs matter): | |
Root | |
A | |
B | |
C | |
D | |
E | |
F | |
G | |
H | |
I | |
* Each node is a text like "Root", "A", "B"... | |
* Each node have has as children all the nodes that have a n+1 level of indentation. For example, the children of node "Root" are "A", "H" and "I" | |
* Indentation is a tab character |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment