pmderodat / ada-toml

TOML parser for Ada
Other
31 stars 5 forks source link

Expose `Inline_Dump` from `Generic_Dump` #16

Open leocreuse opened 4 months ago

leocreuse commented 4 months ago

There currently isn't a lot of utility to print arbitrary TOML values, which could be useful either for debugging purposes, or in the user interface of tools to display parts TOML documents in a concise fashion.

There such a function already exists, but it currently only is an implementation detail of TOML.Generic_Dump, so it would not be relatively simple to refactor the code base to make the function publicly available. Then each tool

I have a PR ready to submit if this is deemed a good idea.