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
Unknown TOML error #2
Comments
➕ The supported types are in this function Line 466 in 670e0a0
I believe you are trying to use hash tables. |
|
yes hash tables, I think it looks like a count per object https://github.com/jmikedupont2/emacs-data/blob/main/emacspeak/profile/profile.py here is my simple parser that i am making to pull out some data |
|
TOML assigns a type to each element. To support hash tables, this library will need to assign each element of that table to a specific element (string, integer, float, etc.). This library originated out of the need to parse blog meta-data for my ox-hugo package. So, I did not need to support hash tables. If you would like to work on a PR that adds this feature + tests, I can take a look at it and merge it. |
|
thats ok, I will circle back. I am not sure I needed toml.
…On Tue, Oct 24, 2023, 13:23 Kaushal Modi ***@***.***> wrote:
TOML assigns a type to each element. To support hash tables, this library
will need to assign each element of that table to a specific element
(string, integer, float, etc.). This library originated out of the need to
parse blog meta-data for my ox-hugo package. So, I did not need to support
hash tables. If you would like to work on a PR that adds this feature +
tests, I can take a look at it and merge it.
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD5KQ2OHTOPO4VU2QC7QMQ3YA72P7AVCNFSM6AAAAAA6N4MBCWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZXGY4DSOJTGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
testing with this data:
https://github.com/jmikedupont2/emacs-data/blob/main/emacspeak/profile/profile1.el
gives me this error https://github.com/jmikedupont2/emacs-data/blob/main/emacspeak/profile/profile1.out
I suppose the data is too complex?
The text was updated successfully, but these errors were encountered: