Add support for SystemVerilog
Closed this issue · 1 comments
Hello,
KSyntaxHighlighting supports systemverilog (an evolution of verilog) as a separate syntax.
https://invent.kde.org/frameworks/syntax-highlighting/-/blob/master/data/syntax/systemverilog.xml
Would it be possible to add systemverilog support to Skylighting so that it will be available in pandoc?
Also, as verilog has been merged with systemverilog, some common highlighters (pygments, ruby rouge) consider all systemverilog keyword even for legacy verilog, maybe this should also be done in Skylighting (I should also open an issue in KSyntaxHighlighting for this specific point, as some would prefer to have separate highlighters).
- verilog merged into systemverilog
In 2009, the Verilog standard (IEEE 1364-2005) was merged into the SystemVerilog standard, creating IEEE Standard 1800-2009.
- rouge:
- pygments (logic and always_ff are systemverilog types/keywords):
- https://pygments.org/demo/?lexer=systemverilog&style=default&formatter=html&code=always+%40%28posedge+clk%29%0A%0Alogic++a%3B%0Areg++++b%3B%0A%0Aalways_ff+%40
- https://pygments.org/demo/?lexer=verilog&style=default&formatter=html&code=always+%40%28posedge+clk%29%0A%0Alogic++a%3B%0Areg++++b%3B%0A%0Aalways_ff+%40
Thanks!