Damson/assets/syntax/systemc.xml
astar76 11c1a7808b Build the syntax definitions into the app
Highlighting relied on the syntax-highlighting package, so removing it
left every file uncoloured. The 462 definitions now live in assets/syntax
and are compressed into the binary at build time, unpacked per language
when used. User .xml files still add to or replace them, and the licence
each file declares is recorded in assets/syntax/LICENSES.md.

Also moves files to the trash without needing gio.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 20:35:27 -06:00

1 line
No EOL
3.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="SystemC" version="5" kateversion="5.79" section="Hardware" extensions="*.c++;*.cxx;*.cpp;*.cc;*.C;*.h;*.hh;*.H;*.h++;*.hxx;*.hpp;*.hcc;*.moc" mimetype="text/x-c++src;text/x-c++hdr;text/x-chdr" priority="1" author="Joseph Wenninger ([email protected])" license="LGPLv2+"><highlighting><list name="systemc_keywords"><item>sensitive</item></list><list name="systemc_functions"><item>dont_initialize</item><item>gen_unique_name</item><item>name</item><item>next_trigger</item><item>sc_assert_fail</item><item>sc_close_vcd_trace_file</item><item>sc_copyright</item><item>sc_create_vcd_trace_file</item><item>sc_cycle</item><item>sc_get_default_time_resolution</item><item>sc_get_default_time_unit</item><item>sc_initialize</item><item>sc_simulation_time</item><item>sc_start</item><item>sc_stop</item><item>sc_time_stamp</item><item>sc_trace</item><item>sc_version</item><item>timed_out</item><item>wait</item></list><list name="systemc_macros"><item>SC_CTOR</item><item>SC_METHOD</item><item>SC_MODULE</item><item>SC_THREAD</item></list><list name="systemc_datatypes"><item>sc_bigint</item><item>sc_biguint</item><item>sc_bit</item><item>sc_buffer</item><item>sc_bv</item><item>sc_clock</item><item>sc_enable_Handshake</item><item>sc_fifo</item><item>sc_fifo_in_if</item><item>sc_fifo_out_if</item><item>sc_fix</item><item>sc_fixed</item><item>sc_fixed_fast</item><item>sc_fullHandshake</item><item>sc_in</item><item>sc_indexed</item><item>sc_inmaster</item><item>sc_inout</item><item>sc_inout_master</item><item>sc_inoutslave</item><item>sc_inslave</item><item>sc_int</item><item>sc_link_mp</item><item>sc_logic</item><item>sc_lv</item><item>sc_master</item><item>sc_memenHandshake</item><item>sc_memfullHandshake</item><item>sc_mutex</item><item>sc_mutex_if</item><item>sc_noHandshake</item><item>sc_out</item><item>sc_outmaster</item><item>sc_outslave</item><item>sc_semaphore</item><item>sc_semaphore_if</item><item>sc_signal</item><item>sc_signal_in_if</item><item>sc_signal_inout_if</item><item>sc_signal_resolved</item><item>sc_signal_rv</item><item>sc_slave</item><item>sc_time_unit</item><item>sc_trace_file</item><item>sc_ufix</item><item>sc_ufixed</item><item>sc_ufixed_fast</item><item>sc_uint</item></list><contexts><context name="Normal" attribute="Normal Text"><StringDetect String="/*" attribute="Comment" context="MatchComment" lookAhead="1"/><keyword String="systemc_keywords" attribute="Extensions-Keywords"/><keyword String="systemc_functions" attribute="Extensions-Functions"/><keyword String="systemc_macros" attribute="Extensions-Macros"/><keyword String="systemc_datatypes" attribute="Data Type"/><IncludeRules context="##C++"/></context><context name="Commentar 2" attribute="Comment"><DetectSpaces/><StringDetect String="*/" attribute="Comment" context="#pop" endRegion="Comment"/><IncludeRules context="##Comments"/><DetectIdentifier/></context><context name="MatchComment" attribute="Comment" fallthroughContext="#pop" lineEndContext="#pop"><IncludeRules context="##Doxygen"/><StringDetect String="/*" attribute="Comment" context="#pop!Commentar 2" beginRegion="Comment"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="Extensions-Macros" defStyleNum="dsKeyword" color="#0095ff" selColor="#ffffff" bold="1" italic="0"/><itemData name="Extensions-Functions" defStyleNum="dsKeyword" color="#000000" selColor="#ffffff" bold="1" italic="1"/><itemData name="Extensions-Keywords" defStyleNum="dsKeyword"/><itemData name="Data Type" defStyleNum="dsDataType"/><itemData name="Comment" defStyleNum="dsComment"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="//"/><comment name="multiLine" start="/*" end="*/" region="Comment"/></comments><keywords casesensitive="1"/></general></language>