Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update util.h #2

Merged
merged 1 commit into from
Nov 30, 2020
Merged

Update util.h #2

merged 1 commit into from
Nov 30, 2020

Conversation

xnor104
Copy link
Contributor

@xnor104 xnor104 commented Nov 28, 2020

Add "string" header to use std::string. Needed for compilation with g++. Btw, I really like the syntax of xmq a lot for a data language. Im considering porting xmq to rust. It really shines in comparison to toml, json, xaml and xml. It comes without quotes, does not enforce indents and is readable with any depth. YAML becomes unreadable after 2 indents, TOML + JSON use too many quotes, TOML has no convenience over nesting, XML is too verbose with endtags (while offering best complexity). Neat! XMQ addresses all these problems and is extremely human readable.

Add <string> header to use std::string. Needed for compilation with g++.
@weetmuts weetmuts merged commit 9cdf1df into libxmq:master Nov 30, 2020
@weetmuts
Copy link
Collaborator

Many thanks! Yes, I sort of accidentaly invented the xmq format while reading tons of xml code and trying to figure out a way to make my life easier. I use xmq-less every day now....

Then, as you say, I have several times felt (in particular when I have to edit yaml files) that I should use the xmq format directly for my config files etc. Please open a Rust issue and we can put in a rust version. I intend to write a Java and Javascript parser versions as well.

@xnor104 xnor104 deleted the patch-2 branch December 1, 2020 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants