Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dapphub/dpath
dpath syntax and semantics
https://github.com/dapphub/dpath
Last synced: about 2 months ago
JSON representation
dpath syntax and semantics
- Host: GitHub
- URL: https://github.com/dapphub/dpath
- Owner: dapphub
- Created: 2022-05-27T04:14:06.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-05-27T04:14:15.000Z (over 2 years ago)
- Last Synced: 2024-06-02T05:34:54.041Z (4 months ago)
- Size: 0 Bytes
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Here we will define the syntax and semantics of `dpath`, which is
the path traversal format for [`dmap`](https://github.com/dapphub/dmap).It describes the existing dpath definition as well as a future-proof
way of extending it. At the moment, this just means reserving all special
characters, but we will define some as private use area so you can start
experimenting with your own extensions right away.Besides the two that are defined already, we list a few runes
for which we already have specific use cases.```
dpath ::= step*
step ::= rune name
rune ::= ':' | '.'
name ::= [a-z]
```Definitions:
- `.` `dot`
- `:` `lock`Reserved glyphs:
```
dquery: !?@#$()
reserved: everything else
```