Replies: 3 comments
-
Makes sense to get a good organization, but is it the file directories structure that needs to be organized that way or just multiple indexes that provide different ontologies? |
Beta Was this translation helpful? Give feedback.
-
Could be either or both. It's worth noting that there is already some file system hierarchy such as /asm. My concern with it is that to a casual browser of the GH main pages for grammars-v4 they may not notice that asm/asm8080 exists. Alternatively, putting everything in the root makes for quite a lot of grammars in the root. The schema @KOLANICH suggested, combined with a full index merged into readme.md provides a nice balance. |
Beta Was this translation helpful? Give feedback.
-
I suggest moving the thread to another discussion that was converted from the similar issue: #2872 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It's likely time to re-org the source tree to make it a little more manageable. The timing to do this would be "after we have completed the work to generate a human-readable indecx", something which @kaby76 and @parrt are working on.
This schema has been proposed by @KOLANICH, here
config
- config files and records.grammar
- DSLs describing other grammars.text
- grammars like the ones for tools like ANTLRddl
- DSLs for describing binary grammars, likeprotobuf
,flatbuffers
,capnproto
,FlexT
and so onprogramming
- programming and scripting languages, like C++ or bash.programms
- for parsing output of software, when it is infeasible to use a machine-readable interface.protocols
- for interfacing servers or devices, single command per line, such as SCPI, AT, JTAG consoles, SMTP, stuff like this.serialization
- serialization languages, like JSON, YAML, protobuf and CSV.embedded
- grammars used as parts of other formats, that don't belong to anywhere elseidentifiers
- various identifiers, like SSNs, phone numbers, VIN-codes, UUID and so onnetwork
- network addresses: IPv4, IPv6, MAC, IMEI,products
- product namebers, likeHTE721010A9E630
The rest of identifiers should stay in
root
untill it is decided to where they are to be moved.Are there any opinions or perspective on the schema to adopt for a source tree re-org?
Beta Was this translation helpful? Give feedback.
All reactions