patchGNU nano - Patches: patch #9356, syntax highlighting for Verilog

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #9356: syntax highlighting for Verilog

Submitter:  Ben Rosser <tc01>
Submitted:  Wed 24 May 2017 02:56:54 PM UTC
   
 
Priority:  3 - Low Status:  Wont Do
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  None

Sun 26 Sep 2021 03:02:23 PM UTC, comment #1: 

The author of another Verilog syntax (see patch #10015) claims that his syntax is cleaner and more complete [1].  Whether or not you disagree with him, comments are welcome (on that patch or on the mailing list).

[1] https://lists.gnu.org/archive/html/nano-devel/2021-01/msg00023.html

Benno Schulenberg <bens>
Group administrator
Wed 24 May 2017 02:56:54 PM UTC, original submission:  

I recently found myself working with the Verilog hardware description language and was disappointed to find no syntax highlighting for it in nano. So I decided to do something about this.

Attached is a patch adding a verilog.nanorc file, with support for all keywords in both Verilog and SystemVerilog (which is to Verilog as C++ is to C, essentially). (A listing of standard keywords was taken from here: http://svref.renerta.com/sv00003.htm).

This was my first time working with nanorc syntax, so I based the file off of c.nanorc and python.nanorc.

The color scheme could possibly use some work, but it's at least a first step.

Ben Rosser <tc01>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Updated the item)
  • -email is unavailable- added by tc01 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-09-26 bens StatusNone Wont Do
        Open/ClosedOpen Closed
    2018-04-25 bens Priority5 - Normal 3 - Low
        SummaryAdd Verilog nanorc file for syntax highlighting syntax highlighting for Verilog
    2017-05-24 tc01 Attached File- Added 0001-Add-Verilog-nanorc-file-for-syntax-highlighting.patch, #40781

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code