What additional rules should be supported? #21
Replies: 4 comments
-
Additionally, a fix in e099577 suggests that nested GOTO is also easily possible, but needs to be well documented, i.e. GOTO statements would always need to be last in marker listings. Alternatively, a more explicit syntax for nested GOTO could be used as well. NB. nested goto would enable traversing maps to a fairly arbitrary depth. |
Beta Was this translation helpful? Give feedback.
-
Sublime Text Project files might benefit from supporting index, if we take the most basic version of that object: {
"folders":
[
{
"path": "/tmp/sublimetext-workspace"
}
]
} We might want to say, |
Beta Was this translation helpful? Give feedback.
-
CryEngine DBATable looks as follows: {
"entries": [
{
"path": "Animations/animations.dba",
"condition": {
"inFolder": {
"path": "animations/motusAnims/"
}
}
}
]
}
{
"entries": [
{
"path": "Animations/human/human_animations.dba",
"condition": {
"inFolder": {
"path": "animations/human"
}
}
}
]
}
We can find examples in GitHub: https://github.com/search?q=DBATable.json&type=code Examples:
Just searching for "entries" and istype "list" seems like it might be a bit loose, ideally we would look for multiple path objects in the list to make the ruleset more robust. |
Beta Was this translation helpful? Give feedback.
-
CSL-JSON uses just a map with an array of "items" and it is only the item's objects that have required fields according to the schema: NB. example from Zotero.org. {
"items": [
{
"id": "20895184/FVJZPTDB",
"type": "book",
"title": "test",
"number-of-pages": "10",
"URL": "https://example.com",
"author": [
{
"family": "test",
"given": " test"
}
],
"issued": {
"date-parts": [
[
1970,
1,
1
]
]
}
}
]
} The CSL-JSON documentation lists other sources for csl-json we might want to compare with: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Out of the examples investigated so far, ImageMagick Convert output suggests the need for combining
INDEX
andGOTO
, e.g. here you would ideally access more complex values in the map at position zero, i.e.[0]["image"]["version"] STARTSWITH "ImageMagick"
:What other rules might be useful?
Beta Was this translation helpful? Give feedback.
All reactions