https://github.com/markl4yg/confort
A Java configuration library based on ANTLR4 grammar. Designed to be easily expandable & simple.
https://github.com/markl4yg/confort
antlr4 antlr4-java configuration hocon java json
Last synced: 7 months ago
JSON representation
A Java configuration library based on ANTLR4 grammar. Designed to be easily expandable & simple.
- Host: GitHub
- URL: https://github.com/markl4yg/confort
- Owner: MarkL4YG
- License: mit
- Created: 2019-05-23T19:49:10.000Z (over 6 years ago)
- Default Branch: bleeding
- Last Pushed: 2023-03-20T04:07:50.000Z (over 2 years ago)
- Last Synced: 2025-01-18T12:26:46.827Z (9 months ago)
- Topics: antlr4, antlr4-java, configuration, hocon, java, json
- Language: Java
- Homepage:
- Size: 362 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: readMe.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Confort
> _Manage your configurations with comfort._
A configuration library based on nodes, trees and parsers generated from [ANTLR Grammars](https://www.antlr.org/).
## Badges
| License |  |
|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------|
| BuddyCI (bleeding) | [](https://app.buddy.works/m-lessmann/confort/pipelines/pipeline/194465) |
| BuddyCI (pre-release) | [](https://app.buddy.works/m-lessmann/confort/pipelines/pipeline/194480) |
| Snyk Security Check | [](https://snyk.io/test/github/markl4yg/confort) |
| License-Scan | [](https://app.fossa.io/projects/git%2Bgithub.com%2FMarkL4YG%2Fconfort?ref=badge_shield)|## Description
This library makes configuration easy by completely hiding away format specifications, loading and saving from its users.
Registered loaders allow easy retrieval of the loader of the right format.
(E.g. ``LoaderRegistry.getLoader("application/json")``).
Additionally, there are utility classes to hide away the type of storage. So no matter, where the configuration is actually loaded from, the calls will be the same.
Loaders can (but don't have to) be based on ANTLR grammars which are freely available [in the public repository](https://github.com/antlr/grammars-v4).
Grammar for your format is not there? Don't give up! Writing ANTLR grammar is easy to learn.## Links
* Documentation: https://github.com/MarkL4YG/confort/wiki
* Issues: https://github.com/MarkL4YG/confort/issues
* Contact:
* [github@m-lessmann.de](mailto:github@m-lessmann.de)
* [ts.fearnixx.de](ts3server://ts.fearnixx.de)
* [Jeak-Framework Discord](https://discord.gg/DPYR5aB)
---
#### Buy me a coffe:
If you would like to thank me for my work, please consider donating a drink :)[](https://ko-fi.com/F1F0OL0V)
## License
[](https://app.fossa.io/projects/git%2Bgithub.com%2FMarkL4YG%2Fconfort?ref=badge_large)