forked from subframe7536/maple-font
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathregular.fea
More file actions
2402 lines (2085 loc) · 80 KB
/
regular.fea
File metadata and controls
2402 lines (2085 loc) · 80 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Auto generated by `python task.py fea`
@Zero = [zero zero.zero];
@One = [one one.cv04];
@Digit = [@Zero @One two three four five six seven eight nine];
@Comma = [comma comma.cv61];
@Question = [question question.cv62];
@Uppercase = [A Aacute Abreve Abreveacute Abrevedotbelow Abrevegrave Abrevehookabove Abrevetilde Acaron Acircumflex Acircumflexacute Acircumflexdotbelow Acircumflexgrave Acircumflexhookabove Acircumflextilde Adieresis Adotbelow Agrave Ahookabove Amacron Aogonek Aring Atilde AE AEacute B C Cacute Ccaron Ccedilla Ccircumflex Cdotaccent D Eth Dcaron Dcroat E Eacute Ebreve Ecaron Ecircumflex Ecircumflexacute Ecircumflexdotbelow Ecircumflexgrave Ecircumflexhookabove Ecircumflextilde Edieresis Edotaccent Edotbelow Egrave Ehookabove Emacron Eogonek Eopen Etilde Schwa F G Gacute Gbreve Gcaron Gcircumflex Gcommaaccent Gdotaccent H Hbar Hcircumflex I IJ IJ_acute Iacute Ibreve Icircumflex Idieresis Idotaccent Idotbelow Igrave Ihookabove Imacron Iogonek Itilde J Jcircumflex K Kcommaaccent L Lacute Lcaron Lcommaaccent Ldot Lslash M N Nacute Ncaron Ncommaaccent Ntilde Eng O Oacute Obreve Ocircumflex Ocircumflexacute Ocircumflexdotbelow Ocircumflexgrave Ocircumflexhookabove Ocircumflextilde Odieresis Odotbelow Ograve Ohookabove Ohorn Ohornacute Ohorndotbelow Ohorngrave Ohornhookabove Ohorntilde Ohungarumlaut Omacron Oogonek Oslash Oslashacute Otilde OE P Thorn Q R Racute Rcaron Rcommaaccent S Sacute Scaron Scedilla Scircumflex Scommaaccent Germandbls T Tbar Tcaron Tcedilla Tcommaaccent U Uacute Ubreve Ucircumflex Udieresis Udotbelow Ugrave Uhookabove Uhorn Uhornacute Uhorndotbelow Uhorngrave Uhornhookabove Uhorntilde Uhungarumlaut Umacron Uogonek Uring Utilde V W Wacute Wcircumflex Wdieresis Wgrave X Y Yacute Ycircumflex Ydieresis Ydotbelow Ygrave Yhookabove Ymacron Ytilde Z Zacute Zcaron Zdotaccent A-cy Be-cy Ve-cy Ge-cy Gje-cy Gheupturn-cy Ghestroke-cy De-cy Ie-cy Io-cy Zhe-cy Ze-cy Ii-cy Iishort-cy Ka-cy Kje-cy El-cy Em-cy En-cy O-cy Pe-cy Er-cy Es-cy Te-cy U-cy Ushort-cy Ef-cy Ha-cy Che-cy Tse-cy Sha-cy Shcha-cy Dzhe-cy Softsign-cy Yeru-cy Hardsign-cy Lje-cy Nje-cy Dze-cy E-cy Ereversed-cy I-cy Yi-cy Je-cy Tshe-cy Iu-cy Ia-cy Dje-cy Kadescender-cy Endescender-cy Ustraight-cy Ustraightstroke-cy Chedescender-cy Shha-cy Schwa-cy Zhedieresis-cy Zedieresis-cy Idieresis-cy Odieresis-cy Obarred-cy Chedieresis-cy Alpha Beta Gamma Delta Epsilon Zeta Eta Theta Iota Kappa Lambda Mu Nu Xi Omicron Pi Rho Sigma Tau Upsilon Phi Chi Psi Omega Alphatonos Epsilontonos Etatonos Iotatonos Omicrontonos Upsilontonos Omegatonos Iotadieresis Upsilondieresis KaiSymbol];
@NormalSeparator = [braceleft braceright bracketleft bracketright parenleft parenright bar slash backslash];
@Space = [space nbspace];
@A = [A a a.cv02];
@B = [B b];
@C = [C c];
@D = [D d];
@E = [E e];
@F = [F f];
@G = [G g g.cv05];
@H = [H h];
@I = [I i i.cv03 i.cv06];
@J = [J j J.cv07];
@K = [K k];
@L = [L l l.cv04];
@M = [M m];
@N = [N n];
@O = [O o];
@P = [P p];
@Q = [Q q Q.cv01];
@R = [R r];
@S = [S s];
@T = [T t];
@U = [U u];
@V = [V v];
@W = [W w];
@X = [X x];
@Y = [Y y];
@Z = [Z z];
@Var = [underscore underscore_underscore.liga @A @B @C @D @E @F @G @H @I @J @K @L @M @N @O @P @Q @R @S @T @U @V @W @X @Y @Z @Digit];
@HexLetter = [@A @B @C @D @E @F];
languagesystem DFLT dflt;
languagesystem latn dflt;
languagesystem latn AZE;
languagesystem latn CRT;
languagesystem latn KAZ;
languagesystem latn TAT;
languagesystem latn TRK;
languagesystem latn ROM;
languagesystem latn MOL;
languagesystem latn CAT;
feature aalt {
feature locl;
feature case;
feature sinf;
feature subs;
feature sups;
feature numr;
feature dnom;
feature frac;
feature ordn;
feature zero;
feature calt;
} aalt;
feature ccmp {
@CombiningTopAccents = [acutecomb brevecomb caroncomb circumflexcomb commaturnedabovecomb dblgravecomb dieresiscomb dotaccentcomb gravecomb hookabovecomb hungarumlautcomb macroncomb ringcomb tildecomb];
@CombiningNonTopAccents = [cedillacomb dotbelowcomb ogonekcomb ringbelowcomb horncomb slashlongcomb slashshortcomb strokelongcomb];
@Markscomb = [dieresiscomb dotaccentcomb gravecomb acutecomb hungarumlautcomb circumflexcomb caroncomb brevecomb ringcomb tildecomb macroncomb hookabovecomb dblgravecomb commaturnedabovecomb horncomb dotbelowcomb commaaccentcomb cedillacomb ogonekcomb dieresis dotaccent acute hungarumlaut circumflex caron breve ring tilde macron tonos brevecomb_acutecomb brevecomb_gravecomb brevecomb_hookabovecomb brevecomb_tildecomb circumflexcomb_acutecomb circumflexcomb_gravecomb circumflexcomb_hookabovecomb circumflexcomb_tildecomb];
@MarkscombCase = [dieresiscomb.case dotaccentcomb.case gravecomb.case acutecomb.case hungarumlautcomb.case circumflexcomb.case caroncomb.case brevecomb.case ringcomb.case tildecomb.case macroncomb.case hookabovecomb.case dblgravecomb.case commaturnedabovecomb.case horncomb.case dotbelowcomb.case commaaccentcomb.case cedillacomb.case ogonekcomb.case dieresis.case dotaccent.case acute.case hungarumlaut.case circumflex.case caron.case breve.case ring.case tilde.case macron.case tonos.case brevecomb_acutecomb.case brevecomb_gravecomb.case brevecomb_hookabovecomb.case brevecomb_tildecomb.case circumflexcomb_acutecomb.case circumflexcomb_gravecomb.case circumflexcomb_hookabovecomb.case circumflexcomb_tildecomb.case];
lookup ccmp_other {
sub [i i-cy iogonek idotbelow j je-cy]' @CombiningTopAccents by [idotless idotless iogonekdotless idotbelowdotless jdotless jdotless];
sub [i i-cy iogonek idotbelow j je-cy]' @CombiningNonTopAccents @CombiningTopAccents by [idotless idotless iogonekdotless idotbelowdotless jdotless jdotless];
sub @Markscomb @Markscomb' by @MarkscombCase;
sub @Uppercase @Markscomb' by @MarkscombCase;
sub @Markscomb' @MarkscombCase by @MarkscombCase;
sub @MarkscombCase @Markscomb' by @MarkscombCase;
} ccmp_other;
lookup ccmp_latn {
lookupflag 0;
sub brevecomb acutecomb by brevecomb_acutecomb;
sub brevecomb.case acutecomb.case by brevecomb_acutecomb.case;
sub brevecomb gravecomb by brevecomb_gravecomb;
sub brevecomb.case gravecomb.case by brevecomb_gravecomb.case;
sub brevecomb hookabovecomb by brevecomb_hookabovecomb;
sub brevecomb.case hookabovecomb.case by brevecomb_hookabovecomb.case;
sub brevecomb tildecomb by brevecomb_tildecomb;
sub brevecomb.case tildecomb.case by brevecomb_tildecomb.case;
sub circumflexcomb acutecomb by circumflexcomb_acutecomb;
sub circumflexcomb.case acutecomb.case by circumflexcomb_acutecomb.case;
sub circumflexcomb gravecomb by circumflexcomb_gravecomb;
sub circumflexcomb.case gravecomb.case by circumflexcomb_gravecomb.case;
sub circumflexcomb hookabovecomb by circumflexcomb_hookabovecomb;
sub circumflexcomb.case hookabovecomb.case by circumflexcomb_hookabovecomb.case;
sub circumflexcomb tildecomb by circumflexcomb_tildecomb;
sub circumflexcomb.case tildecomb.case by circumflexcomb_tildecomb.case;
} ccmp_latn;
script latn;
lookup ccmp_other;
} ccmp;
feature locl {
lookup locl_latn_0 {
script latn;
language AZE;
sub i by idotaccent;
language CRT;
sub i by idotaccent;
language KAZ;
sub i by idotaccent;
language TAT;
sub i by idotaccent;
language TRK;
sub i by idotaccent;
} locl_latn_0;
lookup locl_latn_1 {
script latn;
language ROM;
sub Scedilla by Scommaaccent;
sub scedilla by scommaaccent;
sub Tcedilla by Tcommaaccent;
sub tcedilla by tcommaaccent;
language MOL;
sub Scedilla by Scommaaccent;
sub scedilla by scommaaccent;
sub Tcedilla by Tcommaaccent;
sub tcedilla by tcommaaccent;
} locl_latn_1;
lookup locl_latn_2 {
script latn;
language CAT;
sub l periodcentered' l by periodcentered.loclCAT;
sub L periodcentered' L by periodcentered.loclCAT.case;
} locl_latn_2;
lookup locl_latn_3 {
script latn;
language NLD;
sub ij acutecomb by ij_acute;
sub IJ acutecomb by IJ_acute;
} locl_latn_3;
} locl;
feature case {
sub colon by colon.case;
sub periodcentered.loclCAT by periodcentered.loclCAT.case;
sub dieresiscomb by dieresiscomb.case;
sub dotaccentcomb by dotaccentcomb.case;
sub gravecomb by gravecomb.case;
sub acutecomb by acutecomb.case;
sub hungarumlautcomb by hungarumlautcomb.case;
sub circumflexcomb by circumflexcomb.case;
sub caroncomb by caroncomb.case;
sub brevecomb by brevecomb.case;
sub ringcomb by ringcomb.case;
sub tildecomb by tildecomb.case;
sub macroncomb by macroncomb.case;
sub hookabovecomb by hookabovecomb.case;
sub dblgravecomb by dblgravecomb.case;
sub commaturnedabovecomb by commaturnedabovecomb.case;
sub horncomb by horncomb.case;
sub dotbelowcomb by dotbelowcomb.case;
sub commaaccentcomb by commaaccentcomb.case;
sub cedillacomb by cedillacomb.case;
sub ogonekcomb by ogonekcomb.case;
sub dieresis by dieresis.case;
sub dotaccent by dotaccent.case;
sub grave by grave.case;
sub acute by acute.case;
sub hungarumlaut by hungarumlaut.case;
sub circumflex by circumflex.case;
sub caron by caron.case;
sub breve by breve.case;
sub ring by ring.case;
sub tilde by tilde.case;
sub macron by macron.case;
sub tonos by tonos.case;
sub brevecomb_acutecomb by brevecomb_acutecomb.case;
sub brevecomb_gravecomb by brevecomb_gravecomb.case;
sub brevecomb_hookabovecomb by brevecomb_hookabovecomb.case;
sub brevecomb_tildecomb by brevecomb_tildecomb.case;
sub circumflexcomb_acutecomb by circumflexcomb_acutecomb.case;
sub circumflexcomb_gravecomb by circumflexcomb_gravecomb.case;
sub circumflexcomb_hookabovecomb by circumflexcomb_hookabovecomb.case;
sub circumflexcomb_tildecomb by circumflexcomb_tildecomb.case;
} case;
feature sinf {
sub zero by zeroinferior;
sub one by oneinferior;
sub two by twoinferior;
sub three by threeinferior;
sub four by fourinferior;
sub five by fiveinferior;
sub six by sixinferior;
sub seven by seveninferior;
sub eight by eightinferior;
sub nine by nineinferior;
} sinf;
feature subs {
sub zero by zeroinferior;
sub one by oneinferior;
sub two by twoinferior;
sub three by threeinferior;
sub four by fourinferior;
sub five by fiveinferior;
sub six by sixinferior;
sub seven by seveninferior;
sub eight by eightinferior;
sub nine by nineinferior;
} subs;
feature sups {
sub zero by zerosuperior;
sub one by onesuperior;
sub two by twosuperior;
sub three by threesuperior;
sub four by foursuperior;
sub five by fivesuperior;
sub six by sixsuperior;
sub seven by sevensuperior;
sub eight by eightsuperior;
sub nine by ninesuperior;
} sups;
feature numr {
sub zero by zero.numr;
sub one by one.numr;
sub two by two.numr;
sub three by three.numr;
sub four by four.numr;
sub five by five.numr;
sub six by six.numr;
sub seven by seven.numr;
sub eight by eight.numr;
sub nine by nine.numr;
} numr;
feature dnom {
sub zero by zero.dnom;
sub one by one.dnom;
sub two by two.dnom;
sub three by three.dnom;
sub four by four.dnom;
sub five by five.dnom;
sub six by six.dnom;
sub seven by seven.dnom;
sub eight by eight.dnom;
sub nine by nine.dnom;
} dnom;
feature frac {
lookup FRAC {
sub slash by fraction;
} FRAC;
lookup UP {
sub [zero one two three four five six seven eight nine] by [zero.numr one.numr two.numr three.numr four.numr five.numr six.numr seven.numr eight.numr nine.numr];
} UP;
lookup DOWN {
sub fraction [zero.numr one.numr two.numr three.numr four.numr five.numr six.numr seven.numr eight.numr nine.numr]' by [zero.dnom one.dnom two.dnom three.dnom four.dnom five.dnom six.dnom seven.dnom eight.dnom nine.dnom];
sub [zero.dnom one.dnom two.dnom three.dnom four.dnom five.dnom six.dnom seven.dnom eight.dnom nine.dnom] [zero.numr one.numr two.numr three.numr four.numr five.numr six.numr seven.numr eight.numr nine.numr]' by [zero.dnom one.dnom two.dnom three.dnom four.dnom five.dnom six.dnom seven.dnom eight.dnom nine.dnom];
} DOWN;
} frac;
feature ordn {
sub [zero one two three four five six seven eight nine] [A a]' by ordfeminine;
sub [zero one two three four five six seven eight nine] [O o]' by ordmasculine;
sub N o period by numero;
} ordn;
feature zero {
sub zero by zero.zero;
sub zero.dnom by zero.dnom.zero;
sub zero.numr by zero.numr.zero;
sub zeroinferior by zeroinferior.zero;
sub zerosuperior by zerosuperior.zero;
} zero;
feature calt {
lookup uppercase_colon {
sub [@Digit @Uppercase] colon' [@Digit @Uppercase] by colon.case;
} uppercase_colon;
lookup uppercase_sharp_s {
sub @Uppercase @Uppercase germandbls' by germandbls.calt;
sub germandbls' @Uppercase by germandbls.calt;
} uppercase_sharp_s;
# ::
lookup colon_colon.liga {
ignore sub colon colon' colon;
ignore sub colon' colon [equal colon];
sub SPC colon' by colon_colon.liga;
sub colon' colon by SPC;
} colon_colon.liga;
# :::
lookup colon_colon_colon.liga {
ignore sub colon colon' colon colon;
ignore sub colon' colon colon colon;
sub SPC SPC colon' by colon_colon_colon.liga;
sub SPC colon' colon by SPC;
sub colon' colon colon by SPC;
} colon_colon_colon.liga;
# ?:
lookup question_colon.liga {
ignore sub @Question @Question' colon;
ignore sub @Question' colon [colon equal];
sub SPC colon' by question_colon.liga;
sub @Question' colon by SPC;
} question_colon.liga;
# :?
lookup colon_question.liga {
ignore sub colon colon' @Question;
ignore sub colon' @Question [@Question greater];
sub SPC @Question' by colon_question.liga;
sub colon' @Question by SPC;
} colon_question.liga;
# :?>
lookup colon_question_greater.liga {
ignore sub colon colon' @Question greater;
ignore sub colon' @Question greater greater;
sub SPC SPC greater' by colon_question_greater.liga;
sub SPC @Question' greater by SPC;
sub colon' @Question greater by SPC;
} colon_question_greater.liga;
@IgnoreColon = [less colon greater equal];
@IgnoreMarkup = [less slash greater];
# :=
lookup colon_equal.liga {
ignore sub [@IgnoreColon @Question] colon' equal;
ignore sub colon' equal [equal colon];
sub SPC equal' by colon_equal.liga;
sub colon' equal by SPC;
} colon_equal.liga;
# =:
lookup equal_colon.liga {
ignore sub @IgnoreColon equal' colon;
ignore sub equal' colon [equal colon];
ignore sub parenleft @Question equal' colon;
sub SPC colon' by equal_colon.liga;
sub equal' colon by SPC;
} equal_colon.liga;
# :=:
lookup colon_equal_colon.liga {
ignore sub [@IgnoreColon @Question] colon' equal colon;
ignore sub colon' equal colon [@IgnoreColon @Question];
ignore sub parenleft @Question colon' equal colon;
sub SPC SPC colon' by colon_equal_colon.liga;
sub SPC equal' colon by SPC;
sub colon' equal colon by SPC;
} colon_equal_colon.liga;
# =:=
lookup equal_colon_equal.liga {
ignore sub equal equal' colon equal;
ignore sub equal' colon equal equal;
ignore sub parenleft @Question equal' colon equal;
sub SPC SPC equal' by equal_colon_equal.liga;
sub SPC colon' equal by SPC;
sub equal' colon equal by SPC;
} equal_colon_equal.liga;
# <:
lookup less_colon.liga {
ignore sub less less' colon;
ignore sub less' colon @IgnoreColon;
sub SPC colon' by less_colon.liga;
sub less' colon by SPC;
} less_colon.liga;
# :>
lookup colon_greater.liga {
ignore sub @IgnoreColon colon' greater;
ignore sub colon' greater greater;
sub SPC greater' by colon_greater.liga;
sub colon' greater by SPC;
} colon_greater.liga;
# :<
lookup colon_less.liga {
ignore sub @IgnoreColon colon' less;
ignore sub colon' less @IgnoreMarkup;
sub SPC less' by colon_less.liga;
sub colon' less by SPC;
} colon_less.liga;
# <:<
lookup less_colon_less.liga {
ignore sub less less' colon less;
ignore sub less' colon less @IgnoreMarkup;
sub SPC SPC less' by less_colon_less.liga;
sub SPC colon' less by SPC;
sub less' colon less by SPC;
} less_colon_less.liga;
# >:>
lookup greater_colon_greater.liga {
ignore sub @IgnoreMarkup greater' colon greater;
ignore sub greater' colon greater greater;
sub SPC SPC greater' by greater_colon_greater.liga;
sub SPC colon' greater by SPC;
sub greater' colon greater by SPC;
} greater_colon_greater.liga;
# ::=
lookup colon_colon_equal.liga {
ignore sub colon colon' colon equal;
ignore sub colon' colon equal equal;
sub SPC SPC equal' by colon_colon_equal.liga;
sub SPC colon' equal by SPC;
sub colon' colon equal by SPC;
} colon_colon_equal.liga;
# __
lookup underscore_underscore.liga {
ignore sub [underscore numbersign] underscore' underscore;
ignore sub underscore' underscore underscore;
sub SPC underscore' by underscore_underscore.liga;
sub underscore' underscore by SPC;
} underscore_underscore.liga;
# #{
lookup numbersign_braceleft.liga {
ignore sub numbersign numbersign' braceleft;
ignore sub numbersign' braceleft braceleft;
sub SPC braceleft' by numbersign_braceleft.liga;
sub numbersign' braceleft by SPC;
} numbersign_braceleft.liga;
# #[
lookup numbersign_bracketleft.liga {
ignore sub numbersign numbersign' bracketleft;
ignore sub numbersign' bracketleft bracketleft;
sub SPC bracketleft' by numbersign_bracketleft.liga;
sub numbersign' bracketleft by SPC;
} numbersign_bracketleft.liga;
# #(
lookup numbersign_parenleft.liga {
ignore sub numbersign numbersign' parenleft;
ignore sub numbersign' parenleft parenleft;
sub SPC parenleft' by numbersign_parenleft.liga;
sub numbersign' parenleft by SPC;
} numbersign_parenleft.liga;
# #?
lookup numbersign_question.liga {
ignore sub numbersign numbersign' @Question;
ignore sub numbersign' @Question @Question;
sub SPC @Question' by numbersign_question.liga;
sub numbersign' @Question by SPC;
} numbersign_question.liga;
# #!
lookup numbersign_exclam.liga {
ignore sub numbersign numbersign' exclam;
ignore sub numbersign' exclam [exclam equal];
sub SPC exclam' by numbersign_exclam.liga;
sub numbersign' exclam by SPC;
} numbersign_exclam.liga;
# #:
lookup numbersign_colon.liga {
ignore sub numbersign numbersign' colon;
ignore sub numbersign' colon [colon equal];
sub SPC colon' by numbersign_colon.liga;
sub numbersign' colon by SPC;
} numbersign_colon.liga;
# #=
lookup numbersign_equal.liga {
ignore sub numbersign numbersign' equal;
ignore sub numbersign' equal equal;
sub SPC equal' by numbersign_equal.liga;
sub numbersign' equal by SPC;
} numbersign_equal.liga;
# #_
lookup numbersign_underscore.liga {
ignore sub numbersign' underscore [underscore parenleft];
sub SPC underscore' by numbersign_underscore.liga;
sub numbersign' underscore by SPC;
} numbersign_underscore.liga;
# #__
lookup numbersign_underscore_underscore.liga {
ignore sub numbersign' underscore underscore underscore;
sub SPC SPC underscore' by numbersign_underscore_underscore.liga;
sub SPC underscore' underscore by SPC;
sub numbersign' underscore underscore by SPC;
} numbersign_underscore_underscore.liga;
# #_(
lookup numbersign_underscore_parenleft.liga {
ignore sub numbersign' underscore parenleft parenleft;
sub SPC SPC parenleft' by numbersign_underscore_parenleft.liga;
sub SPC underscore' parenleft by SPC;
sub numbersign' underscore parenleft by SPC;
} numbersign_underscore_parenleft.liga;
# ]#
lookup bracketright_numbersign.liga {
ignore sub bracketright bracketright' numbersign;
ignore sub bracketright' numbersign numbersign;
sub SPC numbersign' by bracketright_numbersign.liga;
sub bracketright' numbersign by SPC;
} bracketright_numbersign.liga;
# #######
lookup infinity_numbersigns {
sub [numbersign_start.liga numbersign_middle.liga] numbersign' numbersign by numbersign_middle.liga;
sub [numbersign_start.liga numbersign_middle.liga] numbersign' by numbersign_end.liga;
sub numbersign' numbersign by numbersign_start.liga;
} infinity_numbersigns;
# <<
lookup less_less.liga {
ignore sub less less' less;
ignore sub less' less [less asciitilde];
sub SPC less' by less_less.liga;
sub less' less by SPC;
} less_less.liga;
# <<<
lookup less_less_less.liga {
ignore sub less less' less less;
ignore sub less' less less less;
sub SPC SPC less' by less_less_less.liga;
sub SPC less' less by SPC;
sub less' less less by SPC;
} less_less_less.liga;
@LeadingSymbolLiga = [plus_plus.liga hyphen_hyphen.liga underscore_underscore.liga];
@EqualHyphen = [equal hyphen];
@SymbolBeforeGreater = [bar exclam asciitilde asciitilde numbersign percent @Space @EqualHyphen];
@Number = [plus hyphen @Digit];
@QuoteLike = [grave quotesingle quotedbl];
# >>
lookup greater_greater.liga {
ignore sub [less slash greater] greater' greater;
ignore sub greater' greater greater;
sub @QuoteLike SPC greater' @QuoteLike by greater_greater.liga;
sub @QuoteLike greater' greater @QuoteLike by SPC;
sub SPC greater' [slash @Number @EqualHyphen] by greater_greater.liga;
sub greater' greater [slash @Number @EqualHyphen] by SPC;
sub SPC greater' @Space @Number by greater_greater.liga;
sub greater' greater @Space @Number by SPC;
sub @SymbolBeforeGreater SPC greater' by greater_greater.liga;
sub @SymbolBeforeGreater greater' greater by SPC;
sub @Var SPC greater' [@Var @Number] by greater_greater.liga;
sub @Var greater' greater [@Var @Number] by SPC;
sub @Var SPC greater' SPC @LeadingSymbolLiga by greater_greater.liga;
sub @Var greater' greater SPC @LeadingSymbolLiga by SPC;
sub @Var SPC greater' @Space SPC @LeadingSymbolLiga by greater_greater.liga;
sub @Var greater' greater @Space SPC @LeadingSymbolLiga by SPC;
} greater_greater.liga;
# >>>
lookup greater_greater_greater.liga {
ignore sub greater greater' greater greater;
ignore sub greater' greater greater greater;
sub @QuoteLike SPC SPC greater' @QuoteLike by greater_greater_greater.liga;
sub @QuoteLike SPC greater' greater @QuoteLike by SPC;
sub @QuoteLike greater' greater greater @QuoteLike by SPC;
sub SPC SPC greater' [slash @Number @EqualHyphen] by greater_greater_greater.liga;
sub SPC greater' greater [slash @Number @EqualHyphen] by SPC;
sub greater' greater greater [slash @Number @EqualHyphen] by SPC;
sub SPC SPC greater' @Space @Number by greater_greater_greater.liga;
sub SPC greater' greater @Space @Number by SPC;
sub greater' greater greater @Space @Number by SPC;
sub @SymbolBeforeGreater SPC SPC greater' by greater_greater_greater.liga;
sub @SymbolBeforeGreater SPC greater' greater by SPC;
sub @SymbolBeforeGreater greater' greater greater by SPC;
sub @Var SPC SPC greater' [@Var @Number] by greater_greater_greater.liga;
sub @Var SPC greater' greater [@Var @Number] by SPC;
sub @Var greater' greater greater [@Var @Number] by SPC;
sub @Var SPC SPC greater' SPC @LeadingSymbolLiga by greater_greater_greater.liga;
sub @Var SPC greater' greater SPC @LeadingSymbolLiga by SPC;
sub @Var greater' greater greater SPC @LeadingSymbolLiga by SPC;
sub @Var SPC SPC greater' @Space SPC @LeadingSymbolLiga by greater_greater_greater.liga;
sub @Var SPC greater' greater @Space SPC @LeadingSymbolLiga by SPC;
sub @Var greater' greater greater @Space SPC @LeadingSymbolLiga by SPC;
} greater_greater_greater.liga;
# {{
lookup braceleft_braceleft.liga {
ignore sub braceleft braceleft' braceleft;
ignore sub braceleft' braceleft [braceleft exclam hyphen];
sub braceleft' braceleft by braceleft_start.liga;
sub braceleft_start.liga braceleft' by braceleft_end.liga;
} braceleft_braceleft.liga;
# }}
lookup braceright_braceright.liga {
ignore sub [exclam braceright hyphen] braceright' braceright;
ignore sub braceright' braceright braceright;
sub braceright' braceright by braceright_start.liga;
sub braceright_start.liga braceright' by braceright_end.liga;
} braceright_braceright.liga;
# {|
lookup braceleft_bar.liga {
ignore sub braceleft braceleft' bar;
ignore sub braceleft' bar [bar braceright];
sub SPC bar' by braceleft_bar.liga;
sub braceleft' bar by SPC;
} braceleft_bar.liga;
# |}
lookup bar_braceright.liga {
ignore sub [braceleft bar] bar' braceright;
ignore sub bar' braceright braceright;
sub SPC braceright' by bar_braceright.liga;
sub bar' braceright by SPC;
} bar_braceright.liga;
# {{--
lookup braceleft_braceleft_hyphen_hyphen.liga {
ignore sub braceleft braceleft' braceleft hyphen hyphen;
ignore sub braceleft' braceleft hyphen hyphen hyphen;
sub SPC SPC SPC hyphen' by braceleft_braceleft_hyphen_hyphen.liga;
sub SPC SPC hyphen' hyphen by SPC;
sub SPC braceleft' hyphen hyphen by SPC;
sub braceleft' braceleft hyphen hyphen by SPC;
} braceleft_braceleft_hyphen_hyphen.liga;
# {{!--
lookup braceleft_braceleft_exclam_hyphen_hyphen.liga {
ignore sub braceleft braceleft' braceleft exclam hyphen hyphen;
ignore sub braceleft' braceleft exclam hyphen hyphen hyphen;
sub SPC SPC SPC SPC hyphen' by braceleft_braceleft_exclam_hyphen_hyphen.liga;
sub SPC SPC SPC hyphen' hyphen by SPC;
sub SPC SPC exclam' hyphen hyphen by SPC;
sub SPC braceleft' exclam hyphen hyphen by SPC;
sub braceleft' braceleft exclam hyphen hyphen by SPC;
} braceleft_braceleft_exclam_hyphen_hyphen.liga;
# --}}
lookup hyphen_hyphen_braceright_braceright.liga {
ignore sub hyphen hyphen' hyphen braceright braceright;
ignore sub hyphen' hyphen braceright braceright braceright;
sub SPC SPC SPC braceright' by hyphen_hyphen_braceright_braceright.liga;
sub SPC SPC braceright' braceright by SPC;
sub SPC hyphen' braceright braceright by SPC;
sub hyphen' hyphen braceright braceright by SPC;
} hyphen_hyphen_braceright_braceright.liga;
# [|
lookup bracketleft_bar.liga {
ignore sub bracketleft bracketleft' bar;
ignore sub bracketleft' bar [bracketright bar];
sub SPC bar' by bracketleft_bar.liga;
sub bracketleft' bar by SPC;
} bracketleft_bar.liga;
# |]
lookup bar_bracketright.liga {
ignore sub [bracketleft bar] bar' bracketright;
ignore sub bar' bracketright bracketright;
sub SPC bracketright' by bar_bracketright.liga;
sub bar' bracketright by SPC;
} bar_bracketright.liga;
# !!
lookup exclam_exclam.liga {
ignore sub exclam exclam' exclam;
ignore sub exclam' exclam exclam;
ignore sub parenleft @Question exclam' exclam;
ignore sub parenleft @Question less exclam' exclam;
sub SPC exclam' by exclam_exclam.liga;
sub exclam' exclam by SPC;
} exclam_exclam.liga;
# ||
lookup bar_bar.liga {
ignore sub [hyphen bar bracketleft less] bar' bar;
ignore sub bar' bar [bar bracketright greater hyphen equal];
sub SPC bar' by bar_bar.liga;
sub bar' bar by SPC;
} bar_bar.liga;
# ??
lookup question_question.liga {
ignore sub @Question @Question' @Question;
ignore sub @Question' @Question @Question;
sub SPC @Question' by question_question.liga;
sub @Question' @Question by SPC;
} question_question.liga;
# ???
lookup question_question_question.liga {
ignore sub @Question @Question' @Question @Question;
ignore sub @Question' @Question @Question @Question;
sub SPC SPC @Question' by question_question_question.liga;
sub SPC @Question' @Question by SPC;
sub @Question' @Question @Question by SPC;
} question_question_question.liga;
# &&
lookup ampersand_ampersand.liga {
ignore sub ampersand ampersand' ampersand;
ignore sub ampersand' ampersand ampersand;
sub SPC ampersand' by ampersand_ampersand.liga;
sub ampersand' ampersand by SPC;
} ampersand_ampersand.liga;
# &&&
lookup ampersand_ampersand_ampersand.liga {
ignore sub ampersand ampersand' ampersand ampersand;
ignore sub ampersand' ampersand ampersand ampersand;
sub SPC SPC ampersand' by ampersand_ampersand_ampersand.liga;
sub SPC ampersand' ampersand by SPC;
sub ampersand' ampersand ampersand by SPC;
} ampersand_ampersand_ampersand.liga;
# //
lookup slash_slash.liga {
ignore sub slash slash' slash;
ignore sub slash' slash slash;
sub SPC slash' by slash_slash.liga;
sub slash' slash by SPC;
} slash_slash.liga;
# ///
lookup slash_slash_slash.liga {
ignore sub slash slash' slash slash;
ignore sub slash' slash slash slash;
sub SPC SPC slash' by slash_slash_slash.liga;
sub SPC slash' slash by SPC;
sub slash' slash slash by SPC;
} slash_slash_slash.liga;
# /*
lookup slash_asterisk.liga {
ignore sub [slash asterisk] slash' asterisk;
ignore sub slash' asterisk [slash asterisk period];
sub SPC asterisk' by slash_asterisk.liga;
sub slash' asterisk by SPC;
} slash_asterisk.liga;
# /**
lookup slash_asterisk_asterisk.liga {
ignore sub [slash asterisk] slash' asterisk asterisk;
ignore sub slash' asterisk asterisk [slash asterisk period];
sub SPC SPC asterisk' by slash_asterisk_asterisk.liga;
sub SPC asterisk' asterisk by SPC;
sub slash' asterisk asterisk by SPC;
} slash_asterisk_asterisk.liga;
# */
lookup asterisk_slash.liga {
ignore sub [slash asterisk period] asterisk' slash;
ignore sub asterisk' slash [slash asterisk];
sub SPC slash' by asterisk_slash.liga;
sub asterisk' slash by SPC;
} asterisk_slash.liga;
# ++
lookup plus_plus.liga {
ignore sub [plus colon] plus' plus;
ignore sub plus' plus [plus colon];
sub SPC plus' by plus_plus.liga;
sub plus' plus by SPC;
} plus_plus.liga;
# +++
lookup plus_plus_plus.liga {
ignore sub plus plus' plus plus;
ignore sub plus' plus plus plus;
sub SPC SPC plus' by plus_plus_plus.liga;
sub SPC plus' plus by SPC;
sub plus' plus plus by SPC;
} plus_plus_plus.liga;
# --
lookup hyphen_hyphen.liga {
ignore sub [less hyphen] hyphen' hyphen;
ignore sub hyphen' hyphen [hyphen greater];
ignore sub less [numbersign exclam] hyphen' hyphen;
ignore sub parenleft @Question less exclam hyphen' hyphen;
sub SPC hyphen' by hyphen_hyphen.liga;
sub hyphen' hyphen by SPC;
} hyphen_hyphen.liga;
# ---
lookup hyphen_hyphen_hyphen.liga {
ignore sub hyphen hyphen' hyphen hyphen;
ignore sub hyphen' hyphen hyphen hyphen;
ignore sub less hyphen' hyphen hyphen greater;
sub SPC SPC hyphen' by hyphen_hyphen_hyphen.liga;
sub SPC hyphen' hyphen by SPC;
sub hyphen' hyphen hyphen by SPC;
} hyphen_hyphen_hyphen.liga;
# ;;
lookup semicolon_semicolon.liga {
ignore sub semicolon semicolon' semicolon;
ignore sub semicolon' semicolon semicolon;
sub SPC semicolon' by semicolon_semicolon.liga;
sub semicolon' semicolon by SPC;
} semicolon_semicolon.liga;
# ;;;
lookup semicolon_semicolon_semicolon.liga {
ignore sub semicolon semicolon' semicolon semicolon;
ignore sub semicolon' semicolon semicolon semicolon;
sub SPC SPC semicolon' by semicolon_semicolon_semicolon.liga;
sub SPC semicolon' semicolon by SPC;
sub semicolon' semicolon semicolon by SPC;
} semicolon_semicolon_semicolon.liga;
# ..
lookup period_period.liga {
ignore sub period period' period;
ignore sub period' period [period less @Question];
sub SPC period' by period_period.liga;
sub period' period by SPC;
} period_period.liga;
# ...
lookup period_period_period.liga {
ignore sub period period' period period;
ignore sub period' period period [period less @Question];
sub SPC SPC period' by period_period_period.liga;
sub SPC period' period by SPC;
sub period' period period by SPC;
} period_period_period.liga;
# .?
lookup period_question.liga {
ignore sub period period' @Question;
ignore sub period' @Question @Question;
sub SPC @Question' by period_question.liga;
sub period' @Question by SPC;
} period_question.liga;
# ?.
lookup question_period.liga {
ignore sub @Question @Question' period;
ignore sub @Question' period [period equal @Question];
sub SPC period' by question_period.liga;
sub @Question' period by SPC;
} question_period.liga;
# ..<
lookup period_period_less.liga {
ignore sub period period' period less;
ignore sub period' period less [less slash greater];
sub SPC SPC less' by period_period_less.liga;
sub SPC period' less by SPC;
sub period' period less by SPC;
} period_period_less.liga;
# .=
lookup period_equal.liga {
ignore sub period period' equal;
ignore sub period' equal [equal greater];
sub SPC equal' by period_equal.liga;
sub period' equal by SPC;
} period_equal.liga;
# <~
lookup less_asciitilde.liga {
ignore sub less less' asciitilde;
ignore sub less' asciitilde [asciitilde greater];
sub SPC asciitilde' by less_asciitilde.liga;
sub less' asciitilde by SPC;
} less_asciitilde.liga;
# ~>
lookup asciitilde_greater.liga {
ignore sub [asciitilde less] asciitilde' greater;
ignore sub asciitilde' greater greater;
sub SPC greater' by asciitilde_greater.liga;
sub asciitilde' greater by SPC;
} asciitilde_greater.liga;
# ~~
lookup asciitilde_asciitilde.liga {
ignore sub [asciitilde less] asciitilde' asciitilde;
ignore sub asciitilde' asciitilde [asciitilde greater];
sub SPC asciitilde' by asciitilde_asciitilde.liga;
sub asciitilde' asciitilde by SPC;
} asciitilde_asciitilde.liga;
# <~>
lookup less_asciitilde_greater.liga {
ignore sub less less' asciitilde greater;
ignore sub less' asciitilde greater greater;
sub SPC SPC greater' by less_asciitilde_greater.liga;
sub SPC asciitilde' greater by SPC;
sub less' asciitilde greater by SPC;
} less_asciitilde_greater.liga;
# <~~
lookup less_asciitilde_asciitilde.liga {
ignore sub less less' asciitilde asciitilde;
ignore sub less' asciitilde asciitilde [asciitilde greater];
sub SPC SPC asciitilde' by less_asciitilde_asciitilde.liga;
sub SPC asciitilde' asciitilde by SPC;
sub less' asciitilde asciitilde by SPC;
} less_asciitilde_asciitilde.liga;
# ~~>
lookup asciitilde_asciitilde_greater.liga {
ignore sub [asciitilde less] asciitilde' asciitilde greater;
ignore sub asciitilde' asciitilde greater greater;
sub SPC SPC greater' by asciitilde_asciitilde_greater.liga;
sub SPC asciitilde' greater by SPC;
sub asciitilde' asciitilde greater by SPC;
} asciitilde_asciitilde_greater.liga;
# -~
lookup hyphen_asciitilde.liga {
ignore sub hyphen hyphen' asciitilde;
ignore sub hyphen' asciitilde asciitilde;
sub SPC asciitilde' by hyphen_asciitilde.liga;
sub hyphen' asciitilde by SPC;
} hyphen_asciitilde.liga;
# ~-
lookup asciitilde_hyphen.liga {
ignore sub asciitilde asciitilde' hyphen;
ignore sub asciitilde' hyphen hyphen;
sub SPC hyphen' by asciitilde_hyphen.liga;
sub asciitilde' hyphen by SPC;
} asciitilde_hyphen.liga;
# ~@
lookup asciitilde_at.liga {
ignore sub asciitilde asciitilde' at;
ignore sub asciitilde' at at;
sub SPC at' by asciitilde_at.liga;
sub asciitilde' at by SPC;
} asciitilde_at.liga;
# 0xA12 0x56 1920x1080
lookup cross {
sub @Zero x' [@Digit @HexLetter] by multiply;
sub @Digit x' @Digit by multiply;
} cross;
# <=>
lookup less_equal_greater.liga {
ignore sub less less' equal greater;
ignore sub less' equal greater greater;
ignore sub parenleft @Question less' equal greater;
sub SPC SPC greater' by less_equal_greater.liga;
sub SPC equal' greater by SPC;
sub less' equal greater by SPC;
} less_equal_greater.liga;
# <==>
lookup less_equal_equal_greater.liga {
ignore sub less less' equal equal greater;
ignore sub less' equal equal greater greater;
ignore sub parenleft @Question less' equal equal greater;
sub SPC SPC SPC greater' by less_equal_equal_greater.liga;
sub SPC SPC equal' greater by SPC;