Hacker News new | ask | show | jobs
by slightwinder 1739 days ago
Why JSON? Just use a simplified subset of HTML and ignore styling+scripts for commandline. And for GUI/Web you can still offer the full HTML+CSS+Scripting-experience.
1 comments

Can be XML as well, but I think HTML is too complex. The goal, for me, is simplicity.

    <section name="Options"><checkbox flag="c" label="Compile" /></section>
It shouldn't be a hassle at all to convert a man page to a UI that speeds up actions and avoids common errors.

Anyway, this idea is free, so feel free to take it and do whatever, even full HTML (:

> HTML is too complex

The suggestion was a simplified subset of HTML.

Sounds a bit like Sciter, then.
I don't see how yet another ui-definition-format will help to make things simpler. And what UI does a manpage need? Manpages are documents, they have no real ui.
I think op meant covering a man page for a command into a gui for the command, not into a gui for the man page.