Discussion:
syntax highlighting for Calibre SVRF
Steve LoBasso
2010-03-07 16:29:14 UTC
Permalink
Anyone have syntax highlighting patters for Calibre SVRF?

-Steve
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Francois Barriere
2010-03-08 08:45:25 UTC
Permalink
On Sun, 7 Mar 2010 08:29:14 -0800 (PST)
Post by Steve LoBasso
Anyone have syntax highlighting patters for Calibre SVRF?
Here is what I have (incomplete, but can be a starting point).

Francois.
--
Francois BARRIERE ATMEL
Zone Industrielle
Tel: (33) 0 442 53 61 98 13106 ROUSSET
E-Mail: francois.barriere-***@public.gmane.org FRANCE
---------------------------------
Everyone knows that debugging is twice as hard as writing a program
in the first place. So if you're as clever as you can be when you write it,
how will you ever debug it? (Brian Kernighan)
---------------------------------
Steve LoBasso
2010-03-08 16:53:03 UTC
Permalink
Thanks, can you send it directly to me? It looks like our mail server is stripping the enclosure.

-Steve



----- Original Message ----
From: Francois Barriere <francois.barriere-***@public.gmane.org>
To: discuss-***@public.gmane.org
Sent: Mon, March 8, 2010 12:45:25 AM
Subject: Re: syntax highlighting for Calibre SVRF

On Sun, 7 Mar 2010 08:29:14 -0800 (PST)
Post by Steve LoBasso
Anyone have syntax highlighting patters for Calibre SVRF?
Here is what I have (incomplete, but can be a starting point).

Francois.
--
Francois BARRIERE ATMEL
Zone Industrielle
Tel: (33) 0 442 53 61 98 13106 ROUSSET
E-Mail: francois.barriere-***@public.gmane.org FRANCE
---------------------------------
Everyone knows that debugging is twice as hard as writing a program
in the first place. So if you're as clever as you can be when you write it,
how will you ever debug it? (Brian Kernighan)
---------------------------------
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Francois Barriere
2010-03-09 07:44:56 UTC
Permalink
On Mon, 8 Mar 2010 08:53:03 -0800 (PST)
Post by Steve LoBasso
Thanks, can you send it directly to me? It looks like our mail server is stripping the enclosure.
Here it is (with a copy attached):

----------------------------------------------------------------
nedit.highlightPatterns: \
CALIBRE:1:0{\n\
calibre comment:"//":"$"::String1::\n\
double quote strings:"""":""""::String::\n\
single quote strings:"'":"'"::String::\n\
rule header:"[a-zA-Z0-9_]+[ ]+[{]":::Flag::\n\
re matching:"<((m|q|qq)?/)(\\\\/|[^/])*(/[gimsox]?)>":::String::\n\
re match coloring:"\\1\\4":""::String2:re matching:C\n\
re substitution:"<((s|y|tr)/)(\\\\/|[^/])*(/)[^/]*(/[gimsox]?)":::String::\n\
re subs coloring:"\\1\\4\\5":""::String2:re substitution:C\n\
storage keywords:"^\\s*(?i(variable|device|drc check map|drc unselect check|drc select check|layout path|layout primary|drc results database|drc summary report))":::Storage Type1::D\n\
storage keywords 1:"^\\s*(?i(drc|lvs|layout|source|virtual|include)\\s+)":"$":"(""|')":Storage Type1::D\n\
keyword:"<(?i(internal|external|enclosure|not|inside|cell|grow|outside|enclose|and|coincident|edge|expand|extend|extent|size|cut|by|touch|or|xor|rectangle|area|density|copy|connect|sconnect|interact|donut|holes|with\\s+width|perimeter|shift|rotate|property\\s+[a-z,]+))>":::Preprocessor1::D\n\
secondary keyword:"(?i(abut|singular|corner to corner|underover|overunder|opposite|parallel|region))":"$":"//|/\\*":Preprocessor1::\n\
parasitic extraction:"^(?i(resistance sheet|resistance connection|capacitance intrinsic|capacitance crossover|capacitance))":::Subroutine::\n\
parasitic extraction 1:"(?i(order|fringe|plate))":::Subroutine::\n\
CALIBRE conditions:"([ ]+([=][=]|[|][|]|[&][&]|[>]|[<]|[>][=]|[<][=]|[!][=]|[!][>]|[!][<])+[ ]+)":::Ada Attributes::\n\
mentor commands:"[$](\\{[^}]*}|[^a-zA-Z0-9_ /\\t\\n\\.,\\\\[\\\\{\\\\(]|[0-9]+|[a-zA-Z_][a-zA-Z0-9_]*)?":::Identifier1::\n\
RVE comment:"@":"$"::Text Comment::\n\
braces and parens:"[\\[\\]\\{}\\(\\)]":::Keyword::D\n\
calibre variable:"VAR_[0-9a-zA-Z_]*":::Storage Type1::\n\
layer:"^(?i(layer))":::Label::\n\
macro:"(?i(dmacro|cmacro))":::Subroutine::\n\
}
nedit.languageModes: CALIBRE:.rul .cal:"LAYOUT SYSTEM GDSII"::::::
----------------------------------------------------------------

Francois.
--
Francois BARRIERE ATMEL
Zone Industrielle
Tel: (33) 0 442 53 61 98 13106 ROUSSET
E-Mail: francois.barriere-***@public.gmane.org FRANCE
---------------------------------
Everyone knows that debugging is twice as hard as writing a program
in the first place. So if you're as clever as you can be when you write it,
how will you ever debug it? (Brian Kernighan)
---------------------------------
Joerg Fischer
2010-03-08 17:08:19 UTC
Permalink
Post by Francois Barriere
On Sun, 7 Mar 2010 08:29:14 -0800 (PST)
Post by Steve LoBasso
Anyone have syntax highlighting patters for Calibre SVRF?
Here is what I have (incomplete, but can be a starting point).
Even if it is incomplete you can add it to
http://nedit.hackvalue.nl/niki/index.php/PatternSets
Post by Francois Barriere
Francois.
--
Francois BARRIERE ATMEL
Zone Industrielle
Tel: (33) 0 442 53 61 98 13106 ROUSSET
---------------------------------
Everyone knows that debugging is twice as hard as writing a program
in the first place. So if you're as clever as you can be when you write it,
how will you ever debug it? (Brian Kernighan)
---------------------------------
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Loading...