On Thursday, 27 May 2021 at 21:21:46 UTC, Christian Köstlin wrote:

e.g. I found this file https://dlang.org/library/symbols.js which is used e.g. by https://dlang.org/library/std/algorithm/sorting/sort.html to implement the search. Perhaps that helps.

Thanks Christian !

I downloaded the symbols.js file you pointed at, loaded it in VIM, and after 10-or-so minutes (of manual labor) I ended up with symbols.xml sorted alphabetically by symbol name and this is pretty much what I was looking for. It is not the right way to do it, I know, but from now on periodically checking the changes in the spec release notes I can maintain it by myself -I don't expect a lot of changes here anyway.

Once in XML form I can output VIM-compatible-syntax directly by way of XSLT and I can do pretty much anything I want with it :)

PS: Is there a way to upload a file here in the forum ? Maybe someone could make use of it.

Reply via email to