Crates.io | dent-parse |
lib.rs | dent-parse |
version | 0.1.0 |
source | src |
created_at | 2023-10-12 22:17:19.778661 |
updated_at | 2023-10-12 22:17:19.778661 |
description | Duck's Extensible Notation for Things (DENT) parser |
homepage | https://github.com/Duckonaut/dent |
repository | https://github.com/Duckonaut/dent |
max_upload_size | |
id | 1001724 |
size | 40,012 |
Duckonaut's Extensible Notation for Things.
Dent is an extensible format for storing slightly-advanced data.
It's basic notation is simplistic to be human friendly, but allows for some basic operations at file parse time, such as:
.dent
files as parts of your file,Many other operations you may need can be added with closures passed
to the Dent
struct.
# file: examples/dent/dict.dent
# Mario
{
name: Mario
skills: [
jumps
grows
]
age: 35
alive: true
}
# ...
# another file:
# Define a list of characters
[
@import "examples/dent/dict.dent"
{
name: Link
skills: [
swordfighting
reincarnation
]
age: 23
alive: true
}
]