https://github.com/modulovalue/directory_tree_prolog
https://github.com/modulovalue/directory_tree_prolog
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/modulovalue/directory_tree_prolog
- Owner: modulovalue
- License: gpl-3.0
- Created: 2021-01-19T16:13:29.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-21T03:34:02.000Z (over 5 years ago)
- Last Synced: 2025-09-12T07:47:45.579Z (11 months ago)
- Language: Prolog
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Prolog directory tree
A prolog pretty printer for directory trees.
v2: Call `directoryTreePreview` to get this preview:
```
Entity
╠═ Token
║ ╠═ Left Bracket
║ ╠═ Right Bracket
║ ╠═ Left Curly
║ ╠═ Right Curly
║ ╠═ Comma
║ ╚═ Colon
╚═ Value
. ╠═ Array
. ╠═ Object
. ╠═ String
. ╠═ Number
. ║ ╠═ Double
. ║ ╚═ Integer
. ╚═ Null
Entity
┣━ Token
┃ ┣━ Left Bracket
┃ ┣━ Right Bracket
┃ ┣━ Left Curly
┃ ┣━ Right Curly
┃ ┣━ Comma
┃ ┗━ Colon
┗━ Value
. ┣━ Array
. ┣━ Object
. ┣━ String
. ┣━ Number
. ┃ ┣━ Double
. ┃ ┗━ Integer
. ┗━ Null
Entity
|- Token
| |- Left Bracket
| |- Right Bracket
| |- Left Curly
| |- Right Curly
| |- Comma
| '- Colon
'- Value
. |- Array
. |- Object
. |- String
. |- Number
. | |- Double
. | '- Integer
. '- Null
...
```