GNOME Bugzilla – Bug 685809
Add Bluespec SystemVerilog syntax highlighter
Last modified: 2012-10-12 10:49:46 UTC
BlueSpec SystemVerilog is a high-level hardware description language. http://www.bluespec.com/SmallExamples/index.html
Created attachment 226237 [details] [review] Add Bluespec SystemVerilog language specification Here we go. This works for the basic BSV files I’ve been using, but may be missing keywords for more advanced BSV files.
Review of attachment 226237 [details] [review]: It looks good to me. Just reindent with 2 spaces and fix the 2 minor issues. ::: data/language-specs/bluespec.lang @@ +17,3 @@ + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA there is something wrong here, some tabs instead of spaces? @@ +29,3 @@ + + <styles> + <style id="system-task" _name="System Task" map-to="def:keyword"/> align this a bit
Comment on attachment 226237 [details] [review] Add Bluespec SystemVerilog language specification Committed to master with the whitespace/indentation fixes. commit 8c0bf1bbf6ee13407218243ffd0392be1cb55869 Author: Philip Withnall <philip@tecnocode.co.uk> Date: Thu Oct 11 09:59:38 2012 +0100 Bug 685809 — Add Bluespec SystemVerilog syntax highlighter Add a syntax highlighter for Bluespec SystemVerilog. This includes some improvements to the standard Verilog highlighter to highlight printf-style format specifiers in strings. Closes: https://bugzilla.gnome.org/show_bug.cgi?id=685809 data/language-specs/Makefile.am | 1 + data/language-specs/bluespec.lang | 188 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ data/language-specs/verilog.lang | 12 +++++++++ 3 files changed, 201 insertions(+)
You missed to add the new file to POTFILES.in Actually we did not branch yet so we cannot add new strings... But we can just go ahead and branch. Would you mind creating the gnome-3-6 branch starting from the previous commit?
(In reply to comment #4) > You missed to add the new file to POTFILES.in Oh bother. Fixed: commit 7e1b29b03efd3ab3c26ad4a176dc7c38850debb0 Author: Philip Withnall <philip@tecnocode.co.uk> Date: Fri Oct 12 11:48:57 2012 +0100 i18n: Add bluespec.lang to POTFILES.in See: https://bugzilla.gnome.org/show_bug.cgi?id=685809 po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) > Actually we did not branch yet so we cannot add new strings... But we can just > go ahead and branch. Would you mind creating the gnome-3-6 branch starting from > the previous commit? Done.