WIP: kdesrcdep lang
This is a very early draft of work on building a "kdesrcdep" DSL and associated structure to describe package manager dependencies across various distributions at a more fine grained level than what is currently possible.
My intent is to regularly update this in the hopes of early feedback.
A rough description of the grammar (note, the lexer does not implement all keywords yet):
distro-name
string
distro-version
string
distro-package
string
dependency-name
string
module-name
string
indent
' '
distro-configuration
'distro' distro-name 'ver' distro-version ':'
// WIP
distro-package-list
distro-name 'ver' distro-version ':'
indent distro-package...
dependency
'dependency' dependency-name 'from' 'distro' ':'
indent distro-package-list...
module
'module' module-name ':'
indent dependency-name...