Open teamdodo opened 6 years ago
I wrote a JavaScript script that runs in Node.js. It parses HTML files using cheerio
and outputs it all in Lua, in format that ZeroBrane uses for describing custom APIs.
Thanks. Why don't you publish it? It can only be used to update the autocompletion file in case of changes to Afterbirth API, isn't it?
To be honest, I thought about it from the beginning, and decided not to post it simply because I'm ashamed of the code quality.
But it works and in case of changes to the API it would be useful. Maybe the code quality is not the best possible but is surely better than writing something similar from scratch.
Can you post it? I need the parser for a similar project, making a VSCode extension for autocomplete.
Not an issue but a curiosity: how is your code generated automatically from official docs?