~otheb/hl

89c4e1e716f613a7b1baca6aa34ddacaaf3f0385 — Olie Ayre 3 years ago 75efed1 main
Add example/test files
3 files changed, 20 insertions(+), 0 deletions(-)

A html.conf
A term.conf
A test.src
A html.conf => html.conf +6 -0
@@ 0,0 1,6 @@
T	<span class="t">	</span>	type
V	<span class="v">	</span>	variable
N	<span class="n">	</span>	number
S	<span class="s">	</span>	string
E	<span class="e">	</span>	escape
C	<span class="c">	</span>	comment

A term.conf => term.conf +7 -0
@@ 0,0 1,7 @@
#nonest
T			type
V			variable
N			number
S			string
E			escape
C			comment

A test.src => test.src +7 -0
@@ 0,0 1,7 @@
// plain source
int x = 3 ;
string s = "line1\nline2" ;

%{C// styled source%}
%Tint %Vx = %N3 ;
%Tstring %Vs = %{S"line1%{E\n%}line2"%} ;