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

formal XMIR specification must be generated from the XSD #3375

Open
volodya-lombrozo opened this issue Sep 17, 2024 · 6 comments
Open

formal XMIR specification must be generated from the XSD #3375

volodya-lombrozo opened this issue Sep 17, 2024 · 6 comments

Comments

@volodya-lombrozo
Copy link
Member

I usually work closely with xmir files. So, I need to understand this format to be able to work with it. However, I failed to find any developer specification on this format. It is extremely important to have this specification, otherwise any work with xmir becomes fortune telling on coffee grounds.

As far as I know we have some separate knowledge isles like comments or blog posts (it's written in 2022 btw).

But it's extremely hard to find them. Actually you need to know where to find them. And it is the only chance.
I suggest to create a centralised documentation for xmir format.

@volodya-lombrozo
Copy link
Member Author

@yegor256 @maxonfjvipon Could you take a look, please?

@yegor256
Copy link
Member

@volodya-lombrozo we intentionally did it like this (with a blog post) because the format is still rather volatile: we change it once in a while. I suggest we keep it like this, only updating the blog post when something is missing or changing. If you have questions to any parts of the XMIR format, ask them, I will update the blog post.

@yegor256
Copy link
Member

@maxonfjvipon in the mean time, can we add a text to all error messages that are related to XMIR:

More detailed information about XMIR format you can find here: https://news.eolang.org/2022-11-25-xmir-guide.html

This will help everybody.

@volodya-lombrozo
Copy link
Member Author

@yegor256 There are some problems with the blog post:

  • It lies separately from the repository. Where can I find a link to it?
  • It is attached to a particular date 25 Nov 2022. So when I see it, I assume that it is outdated already. And it is outdated indeed.
  • You can't create several separate documents and link them - you need to keep everything at one place. "God Documentation File" :)
  • nit: The format is a bit different, it is not what you expect from the technical documentation.

@yegor256
Copy link
Member

@volodya-lombrozo maybe we can generate documentation right from our XSD: https://stackoverflow.com/questions/237938/how-to-convert-xsd-to-human-readable-documentation

@volodya-lombrozo
Copy link
Member Author

@volodya-lombrozo maybe we can generate documentation right from our XSD: https://stackoverflow.com/questions/237938/how-to-convert-xsd-to-human-readable-documentation

Sounds cool

@yegor256 yegor256 changed the title XMIR Specification formal XMIR specification must be generated from the XSD Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants