1# Copyright (C) 2013 Beqa Gozalishvili <beqaprogger@gmail.com> 2 3# This program is free software: you can redistribute it and/or modify 4# it under the terms of the GNU Lesser General Public License as published by 5# the Free Software Foundation, either version 2.1 of the License, or 6# (at your option) any later version. 7 8# This program is distributed in the hope that it will be useful, 9# but WITHOUT ANY WARRANTY; without even the implied warranty of 10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11# GNU Lesser General Public License for more details. 12 13# You should have received a copy of the GNU Lesser General Public License 14# along with this program. If not, see <http://www.gnu.org/licenses/>. 15 16define NZDigit 171:ერთი | 182:ორი | 193:სამი | 204:ოთხი | 215:ხუთი | 226:ექვსი | 237:შვიდი | 248:რვა | 259:ცხრა ; 26 27define Digit [%0 : ნული] | NZDigit; 28 29define Number 30NZDigit | 31[[1:0] [ 32%0:ათი | 331:თერთმეტი | 342:თორმეტი | 353:ცამეტი | 364:თოთხმეტი | 375:თხუთმეტი | 386:თექვსმეტი | 397:ჩვიდმეტი | 408:თვრამეტი | 419:ცხრამეტი]] | 42[[2:ოცი] [%0:0 | NZDigit]] ; 43 44define Plus %+ : პლიუსი; 45define Minus %- : მინუსი; 46define Slash %/ : [დახრილი ხაზი]; 47define BackSlash %\ : [პირიქით დახრილი ხაზი]; 48define Star %* : ვარსკვლავი; 49define Dot %. : წერტილი; 50define SpecialChar Plus | Minus | Slash | BackSlash | Star | Dot; 51 52define Enter {enter} : ენტერი; 53 54define OtherKey 55{underscore} : ხაზგასმა | 56{double-quote} : ბრჭყალი | 57{alt} : ალტი | 58{control} : კონტროლი | 59{hyper} : ჰიპერ | 60{meta} : მეტა | 61{shift} : შიფტი | 62{super} : სუპერი | 63{backspace} : [back space] | 64{break} : break | 65{delete} : წაშლა | 66{down} : ქვევით | 67{end} : end | 68Enter | 69{escape} : ესკეიპი | 70{home} : home | 71{insert} : ინსერტი | 72{left} : მარცხნივ | 73{menu} : მენიუ | 74{next} : შემდეგი | 75{num-lock} : [num lock] | 76{pause} : პაუზა | 77{print} : ბეჭვდა | 78{prior} : წინა | 79{return} : დაბრუნება | 80{right} : მარჯვნივ | 81{scroll-lock} : [სკროლ ლოკი] | 82{space} : ჰარი | 83{tab} : ტაბი | 84{up} : ზევით | 85{window} : ვინდოუსი ; 86 87define KPKey 88[{kp-} : 0] [Digit | Plus | Minus | Star | Slash | Dot | Enter]; 89 90define FKey 91f:ef Number ; 92 93define Key 94KPKey | FKey | SpecialChar | OtherKey; 95 96regex Key; 97