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

Unclear binary gcode specification: tables of key value pairs #33

Open
VorpalBlade opened this issue Nov 20, 2023 · 0 comments
Open

Unclear binary gcode specification: tables of key value pairs #33

VorpalBlade opened this issue Nov 20, 2023 · 0 comments

Comments

@VorpalBlade
Copy link

VorpalBlade commented Nov 20, 2023

https://github.com/prusa3d/libbgcode/blob/bc390aab4427589a6402b4c7f65cf4d0a8f987ec/doc/specifications.md is a bit unclear in my opinion: It says that several of the blocks are "tables of key-value pairs". No where is the format of that table defined.

I'm guessing based on the encoding "0 = INI encoding" that it it is encoded as an .ini file would be. But what are the valid keys and values? What are the valid section headers? Are keys before the first section allowed? Are sections even allowed? What line ending should be used (LF, CRLF)? Should the lines be formatted as key=value or key = value? How is non-ASCII encoded (UTF-8)?

There is probably a ton more ambiguity than the questions I listed above.

The specification here is clearly somewhat underspecified.

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

No branches or pull requests

1 participant