interscript 0.1.7 → 2.1.0b1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (314) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +11 -0
  3. data/.rspec +3 -0
  4. data/Gemfile +29 -0
  5. data/LICENSE.adoc +31 -0
  6. data/README.md +3 -0
  7. data/Rakefile +116 -0
  8. data/bin/console +14 -0
  9. data/bin/interscript +5 -0
  10. data/bin/maps_analyze_staging +168 -0
  11. data/bin/maps_debug_compilers +58 -0
  12. data/bin/maps_debug_ordering +88 -0
  13. data/bin/maps_debug_ruby_compile +24 -0
  14. data/bin/maps_debug_step_by_step +44 -0
  15. data/bin/maps_optimize_order +112 -0
  16. data/bin/maps_v1_analyze_regexps +45 -0
  17. data/bin/maps_v1_to_v2 +426 -0
  18. data/bin/setup +8 -0
  19. data/exe/interscript +6 -0
  20. data/interscript.gemspec +31 -0
  21. data/lib/interscript.rb +83 -133
  22. data/lib/interscript/command.rb +5 -5
  23. data/lib/interscript/compiler.rb +22 -0
  24. data/lib/interscript/compiler/javascript.rb +292 -0
  25. data/lib/interscript/compiler/ruby.rb +262 -0
  26. data/lib/interscript/dsl.rb +68 -0
  27. data/lib/interscript/dsl/aliases.rb +23 -0
  28. data/lib/interscript/dsl/document.rb +46 -0
  29. data/lib/interscript/dsl/group.rb +45 -0
  30. data/lib/interscript/dsl/group/parallel.rb +6 -0
  31. data/lib/interscript/dsl/items.rb +89 -0
  32. data/lib/interscript/dsl/metadata.rb +68 -0
  33. data/lib/interscript/dsl/stage.rb +6 -0
  34. data/lib/interscript/dsl/symbol_mm.rb +11 -0
  35. data/lib/interscript/dsl/tests.rb +12 -0
  36. data/lib/interscript/interpreter.rb +251 -0
  37. data/lib/interscript/node.rb +25 -0
  38. data/lib/interscript/node/alias_def.rb +15 -0
  39. data/lib/interscript/node/dependency.rb +13 -0
  40. data/lib/interscript/node/document.rb +45 -0
  41. data/lib/interscript/node/group.rb +34 -0
  42. data/lib/interscript/node/group/parallel.rb +9 -0
  43. data/lib/interscript/node/group/sequential.rb +2 -0
  44. data/lib/interscript/node/item.rb +52 -0
  45. data/lib/interscript/node/item/alias.rb +42 -0
  46. data/lib/interscript/node/item/any.rb +76 -0
  47. data/lib/interscript/node/item/capture.rb +50 -0
  48. data/lib/interscript/node/item/group.rb +51 -0
  49. data/lib/interscript/node/item/repeat.rb +40 -0
  50. data/lib/interscript/node/item/stage.rb +23 -0
  51. data/lib/interscript/node/item/string.rb +51 -0
  52. data/lib/interscript/node/metadata.rb +18 -0
  53. data/lib/interscript/node/rule.rb +6 -0
  54. data/lib/interscript/node/rule/funcall.rb +18 -0
  55. data/lib/interscript/node/rule/run.rb +15 -0
  56. data/lib/interscript/node/rule/sub.rb +68 -0
  57. data/lib/interscript/node/stage.rb +19 -0
  58. data/lib/interscript/node/tests.rb +15 -0
  59. data/lib/interscript/stdlib.rb +211 -0
  60. data/lib/interscript/utils/regexp_converter.rb +283 -0
  61. data/lib/interscript/version.rb +1 -1
  62. data/lib/interscript/visualize.rb +61 -0
  63. data/lib/interscript/visualize/group.html.erb +59 -0
  64. data/lib/interscript/visualize/json.rb +57 -0
  65. data/lib/interscript/visualize/map.html.erb +46 -0
  66. data/lib/interscript/visualize/nodes.rb +89 -0
  67. data/requirements.txt +1 -0
  68. metadata +78 -416
  69. data/README.adoc +0 -298
  70. data/lib/g2pwrapper.py +0 -34
  71. data/lib/interscript/fs.rb +0 -69
  72. data/lib/interscript/mapping.rb +0 -142
  73. data/lib/interscript/opal.rb +0 -57
  74. data/lib/interscript/opal/entrypoint.rb +0 -12
  75. data/lib/interscript/opal/map_translate.rb +0 -7
  76. data/lib/interscript/opal/maps.js.erb +0 -10
  77. data/lib/model-7 +0 -0
  78. data/lib/tha-pt-b-7 +0 -0
  79. data/maps/acadsin-zho-Hani-Latn-2002.yaml +0 -38916
  80. data/maps/alalc-amh-Ethi-Latn-1997.yaml +0 -513
  81. data/maps/alalc-amh-Ethi-Latn-2011.yaml +0 -138
  82. data/maps/alalc-ara-Arab-Latn-1997.yaml +0 -1287
  83. data/maps/alalc-asm-Deva-Latn-1997.yaml +0 -165
  84. data/maps/alalc-asm-Deva-Latn-2012.yaml +0 -40
  85. data/maps/alalc-aze-Cyrl-Latn-1997.yaml +0 -145
  86. data/maps/alalc-bel-Cyrl-Latn-1997.yaml +0 -129
  87. data/maps/alalc-ben-Beng-Latn-2017.yaml +0 -130
  88. data/maps/alalc-bul-Cyrl-Latn-1997.yaml +0 -98
  89. data/maps/alalc-ell-Grek-Latn-1997.yaml +0 -628
  90. data/maps/alalc-ell-Grek-Latn-2010.yaml +0 -626
  91. data/maps/alalc-guj-Gujr-Latn-1997.yaml +0 -266
  92. data/maps/alalc-guj-Gujr-Latn-2011.yaml +0 -64
  93. data/maps/alalc-hin-Deva-Latn-1997.yaml +0 -211
  94. data/maps/alalc-hin-Deva-Latn-2011.yaml +0 -47
  95. data/maps/alalc-kat-Geok-Latn-1997.yaml +0 -111
  96. data/maps/alalc-kat-Geor-Latn-1997.yaml +0 -150
  97. data/maps/alalc-kor-Hang-Latn-1997.yaml +0 -98
  98. data/maps/alalc-mal-Mlym-Latn-1997.yaml +0 -303
  99. data/maps/alalc-mal-Mlym-Latn-2012.yaml +0 -73
  100. data/maps/alalc-mar-Deva-Latn-1997.yaml +0 -189
  101. data/maps/alalc-mar-Deva-Latn-2011.yaml +0 -45
  102. data/maps/alalc-mkd-Cyrl-Latn-1997.yaml +0 -114
  103. data/maps/alalc-mkd-Cyrl-Latn-2013.yaml +0 -103
  104. data/maps/alalc-mon-Cyrl-Latn-1997.yaml +0 -220
  105. data/maps/alalc-pan-Guru-Latn-1997.yaml +0 -256
  106. data/maps/alalc-pan-Guru-Latn-2011.yaml +0 -78
  107. data/maps/alalc-per-Arab-Latn-1997.yaml +0 -375
  108. data/maps/alalc-pli-Deva-Latn-2012.yaml +0 -144
  109. data/maps/alalc-pra-Deva-Latn-2012.yaml +0 -47
  110. data/maps/alalc-rus-Cyrl-Latn-1997.yaml +0 -225
  111. data/maps/alalc-rus-Cyrl-Latn-2012.yaml +0 -162
  112. data/maps/alalc-san-Deva-Latn-2012.yaml +0 -172
  113. data/maps/alalc-sin-Sinh-Latn-1997.yaml +0 -292
  114. data/maps/alalc-sin-Sinh-Latn-2011.yaml +0 -71
  115. data/maps/alalc-srp-Cyrl-Latn-1997.yaml +0 -118
  116. data/maps/alalc-srp-Cyrl-Latn-2013.yaml +0 -135
  117. data/maps/alalc-tam-Taml-Latn-1997.yaml +0 -62
  118. data/maps/alalc-tam-Taml-Latn-2011.yaml +0 -58
  119. data/maps/alalc-ukr-Cyrl-Latn-1997.yaml +0 -145
  120. data/maps/alalc-ukr-Cyrl-Latn-2011.yaml +0 -16
  121. data/maps/apcbg-bul-Cyrl-Latn-1995.yaml +0 -283
  122. data/maps/bas-rus-Cyrl-Latn-2017-bss.yaml +0 -174
  123. data/maps/bas-rus-Cyrl-Latn-2017-oss.yaml +0 -169
  124. data/maps/bgn-jpn-Hrkt-Latn-1962.yaml +0 -292
  125. data/maps/bgn-kor-Hang-Latn-1943.yaml +0 -35
  126. data/maps/bgn-kor-Kore-Latn-1943.yaml +0 -31
  127. data/maps/bgna-bul-Cyrl-Latn-2006.yaml +0 -208
  128. data/maps/bgna-bul-Cyrl-Latn-2009.yaml +0 -208
  129. data/maps/bgnpcgn-amh-Ethi-Latn-1967.yaml +0 -532
  130. data/maps/bgnpcgn-ara-Arab-Latn-1956.yaml +0 -596
  131. data/maps/bgnpcgn-arm-Armn-Latn-1981.yaml +0 -108
  132. data/maps/bgnpcgn-aze-Cyrl-Latn-1993.yaml +0 -104
  133. data/maps/bgnpcgn-bak-Cyrl-Latn-2007.yaml +0 -188
  134. data/maps/bgnpcgn-bel-Cyrl-Latn-1979.yaml +0 -289
  135. data/maps/bgnpcgn-bul-Cyrl-Latn-1952.yaml +0 -119
  136. data/maps/bgnpcgn-bul-Cyrl-Latn-2013.yaml +0 -42
  137. data/maps/bgnpcgn-che-Cyrl-Latn-2008.yaml +0 -184
  138. data/maps/bgnpcgn-ell-Grek-Latn-1962.yaml +0 -705
  139. data/maps/bgnpcgn-ell-Grek-Latn-1996.yaml +0 -23
  140. data/maps/bgnpcgn-fas-Arab-Latn-1956.yaml +0 -96
  141. data/maps/bgnpcgn-jpn-Hrkt-Latn-1976.yaml +0 -257
  142. data/maps/bgnpcgn-kat-Geor-Latn-1981.yaml +0 -131
  143. data/maps/bgnpcgn-kat-Geor-Latn-2009.yaml +0 -42
  144. data/maps/bgnpcgn-kor-Hang-Latn-kn-1945.yaml +0 -253
  145. data/maps/bgnpcgn-kor-Hang-Latn-rok-2011.yaml +0 -48
  146. data/maps/bgnpcgn-kor-Kore-Latn-rok-2011.yaml +0 -48
  147. data/maps/bgnpcgn-mkd-Cyrl-Latn-1981.yaml +0 -163
  148. data/maps/bgnpcgn-mkd-Cyrl-Latn-2013.yaml +0 -190
  149. data/maps/bgnpcgn-mon-Cyrl-Latn-1964.yaml +0 -223
  150. data/maps/bgnpcgn-nep-Deva-Latn-2011.yaml +0 -230
  151. data/maps/bgnpcgn-per-Arab-Latn-1958.yaml +0 -336
  152. data/maps/bgnpcgn-prs-Arab-Latn-2007.yaml +0 -639
  153. data/maps/bgnpcgn-prs-Arab-Latn-yaghoubi.yaml +0 -459
  154. data/maps/bgnpcgn-rue-Cyrl-Latn-2016.yaml +0 -168
  155. data/maps/bgnpcgn-rus-Cyrl-Latn-1947.yaml +0 -318
  156. data/maps/bgnpcgn-srp-Cyrl-Latn-2005.yaml +0 -170
  157. data/maps/bgnpcgn-tat-Cyrl-Latn-2007.yaml +0 -220
  158. data/maps/bgnpcgn-tgk-Cyrl-Latn-1994.yaml +0 -240
  159. data/maps/bgnpcgn-ukr-Cyrl-Latn-1965.yaml +0 -166
  160. data/maps/bgnpcgn-ukr-Cyrl-Latn-2019.yaml +0 -119
  161. data/maps/bgnpcgn-uzb-Cyrl-Latn-1979.yaml +0 -127
  162. data/maps/bgnpcgn-uzb-Cyrl-Latn-2000.yaml +0 -82
  163. data/maps/bgnpcgn-zho-Hans-Latn-1979.yaml +0 -7456
  164. data/maps/bis-asm-Beng-Latn-13194-1991.yaml +0 -159
  165. data/maps/bis-ben-Beng-Latn-13194-1991.yaml +0 -156
  166. data/maps/bis-dev-Deva-Latn-13194-1991.yaml +0 -184
  167. data/maps/bis-guj-Gujr-Latn-13194-1991.yaml +0 -181
  168. data/maps/bis-knd-Knda-Latn-13194-1991.yaml +0 -173
  169. data/maps/bis-mlm-Mlym-Latn-13194-1991.yaml +0 -176
  170. data/maps/bis-ori-Orya-Latn-13194-1991.yaml +0 -160
  171. data/maps/bis-pnj-Guru-Latn-13194-1991.yaml +0 -175
  172. data/maps/bis-tel-Telu-Latn-13194-1991.yaml +0 -170
  173. data/maps/bis-tml-Taml-Latn-13194-1991.yaml +0 -155
  174. data/maps/by-bel-Cyrl-Latn-1998.yaml +0 -172
  175. data/maps/by-bel-Cyrl-Latn-2007.yaml +0 -115
  176. data/maps/din-grc-Grek-Latn-31634-2011-t1.yaml +0 -899
  177. data/maps/din-hin-Deva-Latn-33904-2018.yaml +0 -100
  178. data/maps/din-kat-Geor-Latn-32707-2010.yaml +0 -145
  179. data/maps/din-mar-Deva-Latn-33904-2018.yaml +0 -84
  180. data/maps/din-nep-Deva-Latn-33904-2018.yaml +0 -119
  181. data/maps/din-pli-Deva-Latn-33904-2018.yaml +0 -75
  182. data/maps/din-pra-Deva-Latn-33904-2018.yaml +0 -63
  183. data/maps/din-san-Deva-Latn-33904-2018.yaml +0 -338
  184. data/maps/din-tam-Taml-Latn-33903-2016.yaml +0 -213
  185. data/maps/dos-nep-Deva-Latn-1997.yaml +0 -47
  186. data/maps/elot-ell-Grek-Latn-743-1982-tl.yaml +0 -684
  187. data/maps/elot-ell-Grek-Latn-743-1982-ts.yaml +0 -680
  188. data/maps/elot-ell-Grek-Latn-743-2001-tl.yaml +0 -19
  189. data/maps/elot-ell-Grek-Latn-743-2001-ts.yaml +0 -31
  190. data/maps/ggg-kat-Geor-Latn-2002.yaml +0 -92
  191. data/maps/gki-bel-Cyrl-Latn-1992.yaml +0 -33
  192. data/maps/gki-bel-Cyrl-Latn-2000.yaml +0 -201
  193. data/maps/gost-rus-Cyrl-Latn-16876-71-1983.yaml +0 -190
  194. data/maps/gost-rus-Cyrl-Latn-7.79-2000-2002.yaml +0 -157
  195. data/maps/hk-yue-Hani-Latn-1888.yaml +0 -38497
  196. data/maps/icao-bel-Cyrl-Latn-9303.yaml +0 -136
  197. data/maps/icao-bul-Cyrl-Latn-9303.yaml +0 -118
  198. data/maps/icao-fas-Arab-Latn-9303.yaml +0 -103
  199. data/maps/icao-heb-Hebr-Latn-9303.yaml +0 -151
  200. data/maps/icao-mkd-Cyrl-Latn-9303.yaml +0 -117
  201. data/maps/icao-rus-Cyrl-Latn-9303.yaml +0 -117
  202. data/maps/icao-srp-Cyrl-Latn-9303.yaml +0 -117
  203. data/maps/icao-ukr-Cyrl-Latn-9303.yaml +0 -119
  204. data/maps/iso-ara-Arab-Latn-233-1984.yaml +0 -323
  205. data/maps/iso-asm-Beng-Latn-15919-2001.yaml +0 -75
  206. data/maps/iso-ben-Beng-Latn-15919-2001.yaml +0 -175
  207. data/maps/iso-ell-Grek-Latn-843-1997-t1.yaml +0 -613
  208. data/maps/iso-ell-Grek-Latn-843-1997-t2.yaml +0 -44
  209. data/maps/iso-guj-Gujr-Latn-15919-2001.yaml +0 -220
  210. data/maps/iso-hin-Deva-Latn-15919-2001.yaml +0 -87
  211. data/maps/iso-inc-Deva-Latn-15919-2001.yaml +0 -61
  212. data/maps/iso-jpn-Hrkt-Latn-3602-1989.yaml +0 -66
  213. data/maps/iso-kan-Knda-Latn-15919-2001.yaml +0 -220
  214. data/maps/iso-kat-Geor-Latn-9984-1996.yaml +0 -145
  215. data/maps/iso-kor-Hang-Latn-1996-method1.yaml +0 -240
  216. data/maps/iso-kor-Hang-Latn-1996-method2.yaml +0 -226
  217. data/maps/iso-mal-Mlym-Latn-15919-2001.yaml +0 -281
  218. data/maps/iso-mar-Deva-Latn-15919-2001.yaml +0 -75
  219. data/maps/iso-nep-Deva-Latn-15919-2001.yaml +0 -87
  220. data/maps/iso-ori-Orya-Latn-15919-2001.yaml +0 -193
  221. data/maps/iso-pan-Guru-Latn-15919-2001.yaml +0 -222
  222. data/maps/iso-pli-Beng-Latn-15919-2001.yaml +0 -73
  223. data/maps/iso-pli-Deva-Latn-15919-2001.yaml +0 -74
  224. data/maps/iso-pli-Sinh-Latn-15919-2001.yaml +0 -219
  225. data/maps/iso-pli-Thai-Latn-15919-2001.yaml +0 -55
  226. data/maps/iso-pra-Deva-Latn-15919-2001.yaml +0 -59
  227. data/maps/iso-prs-Arab-Latn-233-3-1999.yaml +0 -366
  228. data/maps/iso-rus-Cyrl-Latn-9-1995.yaml +0 -271
  229. data/maps/iso-san-Deva-Latn-15919-2001.yaml +0 -220
  230. data/maps/iso-tam-Taml-Latn-15919-2001.yaml +0 -159
  231. data/maps/iso-tel-Telu-Latn-15919-2001.yaml +0 -220
  232. data/maps/iso-tha-Thai-Latn-11940-1998.yaml +0 -109
  233. data/maps/kp-kor-Hang-Latn-2002.yaml +0 -909
  234. data/maps/lshk-yue-Hani-Latn-jyutping-1993.yaml +0 -44820
  235. data/maps/mext-jpn-Hrkt-Latn-1954.yaml +0 -411
  236. data/maps/mns-mon-Cyrl-Latn-5217-2012.yaml +0 -163
  237. data/maps/mns-mon-Latn-Cyrl-5217-2012.yaml +0 -200
  238. data/maps/moct-kor-Hang-Latn-2000.yaml +0 -807
  239. data/maps/mofa-jpn-Hrkt-Latn-1989.yaml +0 -541
  240. data/maps/mvd-bel-Cyrl-Latn-2008.yaml +0 -225
  241. data/maps/mvd-bel-Cyrl-Latn-2010.yaml +0 -63
  242. data/maps/mvd-rus-Cyrl-Latn-2008.yaml +0 -109
  243. data/maps/mvd-rus-Cyrl-Latn-2010.yaml +0 -37
  244. data/maps/odni-ara-Arab-Latn-2015.yaml +0 -425
  245. data/maps/odni-aze-Cyrl-Latn-2015.yaml +0 -144
  246. data/maps/odni-bel-Cyrl-Latn-2015.yaml +0 -148
  247. data/maps/odni-bul-Cyrl-Latn-2015.yaml +0 -96
  248. data/maps/odni-che-Cyrl-Latn-2015.yaml +0 -169
  249. data/maps/odni-fas-Arab-Latn-2015.yaml +0 -406
  250. data/maps/odni-hin-Deva-Latn-2015.yaml +0 -258
  251. data/maps/odni-kat-Geor-Latn-2015.yaml +0 -87
  252. data/maps/odni-kaz-Cyrl-Latn-2015.yaml +0 -148
  253. data/maps/odni-kir-Cyrl-Latn-2015.yaml +0 -136
  254. data/maps/odni-kor-Hang-Latn-2015.yaml +0 -375
  255. data/maps/odni-mkd-Cyrl-Latn-2015.yaml +0 -122
  256. data/maps/odni-per-Arab-Latn-2015.yaml +0 -228
  257. data/maps/odni-rus-Cyrl-Latn-2015.yaml +0 -77
  258. data/maps/odni-srp-Cyrl-Latn-2015.yaml +0 -129
  259. data/maps/odni-tat-Cyrl-Latn-2015.yaml +0 -142
  260. data/maps/odni-tgk-Cyrl-Latn-2015.yaml +0 -148
  261. data/maps/odni-uig-Cyrl-Latn-2015.yaml +0 -138
  262. data/maps/odni-ukr-Cyrl-Latn-2015.yaml +0 -157
  263. data/maps/odni-urd-Arab-Latn-2015.yaml +0 -221
  264. data/maps/odni-uzb-Cyrl-Latn-2015.yaml +0 -166
  265. data/maps/royin-tha-Thai-Latn-1939-generic.yaml +0 -90
  266. data/maps/royin-tha-Thai-Latn-1968.yaml +0 -183
  267. data/maps/royin-tha-Thai-Latn-1999-chained.yaml +0 -180
  268. data/maps/royin-tha-Thai-Latn-1999.yaml +0 -80
  269. data/maps/sac-zho-Hans-Latn-1979.yaml +0 -24763
  270. data/maps/sasm-mon-Mong-Latn-general-1978.yaml +0 -389
  271. data/maps/sasm-mon-Mong-Latn-phonetic-1978.yaml +0 -354
  272. data/maps/ses-ara-Arab-Latn-1930.yaml +0 -283
  273. data/maps/stategeocadastre-ukr-Cyrl-Latn-1993.yaml +0 -222
  274. data/maps/ua-ukr-Cyrl-Latn-1996.yaml +0 -197
  275. data/maps/ua-ukr-Cyrl-Latn-2007.yaml +0 -75
  276. data/maps/ua-ukr-Cyrl-Latn-2010.yaml +0 -192
  277. data/maps/un-amh-Ethi-Latn-2016.yaml +0 -602
  278. data/maps/un-ara-Arab-Latn-1971.yaml +0 -139
  279. data/maps/un-ara-Arab-Latn-1972.yaml +0 -159
  280. data/maps/un-ara-Arab-Latn-2017.yaml +0 -420
  281. data/maps/un-bel-Cyrl-Latn-2007.yaml +0 -114
  282. data/maps/un-ben-Beng-Latn-2016.yaml +0 -534
  283. data/maps/un-ell-Grek-Latn-1987-phonetic.yaml +0 -780
  284. data/maps/un-ell-Grek-Latn-1987-tl.yaml +0 -31
  285. data/maps/un-ell-Grek-Latn-1987-ts.yaml +0 -19
  286. data/maps/un-hin-Deva-Latn-2016.yaml +0 -222
  287. data/maps/un-mar-Deva-Latn-2016.yaml +0 -91
  288. data/maps/un-mon-Mong-Latn-general-2013.yaml +0 -264
  289. data/maps/un-mon-Mong-Latn-phonetic-2013.yaml +0 -264
  290. data/maps/un-nep-Deva-Latn-1972.yaml +0 -350
  291. data/maps/un-nep-Deva-Latn-2013.yaml +0 -74
  292. data/maps/un-rus-Cyrl-Latn-1987.yaml +0 -166
  293. data/maps/un-ukr-Cyrl-Latn-1998.yaml +0 -53
  294. data/maps/un-ukr-Cyrl-Latn-2012.yaml +0 -162
  295. data/maps/var-hin-Deva-Latn-hunterian-1872.yaml +0 -221
  296. data/maps/var-jpn-Hrkt-Latn-hepburn-1886.yaml +0 -406
  297. data/maps/var-jpn-Hrkt-Latn-hepburn-1954.yaml +0 -386
  298. data/maps/var-kor-Hang-Hang-jamo.yaml +0 -11193
  299. data/maps/var-kor-Hang-Latn-mr-1939.yaml +0 -1054
  300. data/maps/var-kor-Kore-Hang-2013.yaml +0 -59754
  301. data/maps/var-kor-Kore-Latn-mr-1939.yaml +0 -36
  302. data/maps/var-mar-Deva-Latn-hunterian-1872.yaml +0 -43
  303. data/maps/var-mon-Mong-Latn-1930.yaml +0 -102
  304. data/maps/var-mon-Mong-Latn-lessing.yaml +0 -272
  305. data/maps/var-mon-Mong-Latn-vpmc.yaml +0 -274
  306. data/maps/var-pra-Deva-Latn-iast-1912.yaml +0 -30
  307. data/maps/var-san-Deva-Latn-iast-1912.yaml +0 -149
  308. data/maps/var-tha-Thai-Thai-phonemic.yaml +0 -59
  309. data/maps/var-tha-Thai-Zsym-ipa.yaml +0 -301
  310. data/maps/var-zho-Hani-Latn-wd-1979.yaml +0 -38912
  311. data/spec/interscript/filenames_spec.rb +0 -384
  312. data/spec/interscript/mapping_spec.rb +0 -42
  313. data/spec/interscript_spec.rb +0 -29
  314. data/spec/spec_helper.rb +0 -3
@@ -0,0 +1,46 @@
1
+ <h1><%= h map.name %></h1>
2
+
3
+ <dl>
4
+ <% map.metadata.data.each do |k,v| %>
5
+ <% case k
6
+ when :authority_id %>
7
+ <dt>Authority ID
8
+ <% when :id %>
9
+ <dt>Standard ID
10
+ <% when :language %>
11
+ <dt>Language
12
+ <% when :source_script %>
13
+ <dt>Source script
14
+ <% when :destination_script %>
15
+ <dt>Destination script
16
+ <% when :name %>
17
+ <dt>Name
18
+ <% when :url %>
19
+ <dt>URL
20
+ <% when :creation_date %>
21
+ <dt>Creation date
22
+ <% when :confirmation_date %>
23
+ <dt>Confirmation date
24
+ <% when :adoption_date %>
25
+ <dt>Adoption date
26
+ <% when :description %>
27
+ <dt>Description
28
+ <% when :source %>
29
+ <dt>Source
30
+ <% when :notes, :implementation_notes, :special_rules, :original_notes, :original_description # We ignore notes for now %>
31
+ <% else %>
32
+ <% p [k, v, map.name] %>
33
+ <dt><%= h k %>
34
+ <% end %>
35
+
36
+ <% case k
37
+ when :url %>
38
+ <dd><a href="<%= h v %>"><%= h v %></a>
39
+ <% when :notes, :implementation_notes, :special_rules, :original_notes, :original_description # We ignore notes for now %>
40
+ <% else %>
41
+ <dd><%= h v %>
42
+ <% end %>
43
+ <% end %>
44
+ </dl>
45
+
46
+ <%= render_stage(self.map.name, :main) %>
@@ -0,0 +1,89 @@
1
+ class Interscript::Node::Item
2
+ class Alias < self
3
+ def to_html(doc)
4
+ if map
5
+ n = doc.dep_aliases[map].full_name
6
+ "#{name.to_s.gsub("_", " ")} from map #{n}"
7
+ else
8
+ "#{name.to_s.gsub("_", " ")}"
9
+ end
10
+ end
11
+ end
12
+
13
+ class Stage < self
14
+ def to_html(doc)
15
+ if map
16
+ n = doc.dep_aliases[map].full_name
17
+ "stage #{name.to_s.gsub("_", " ")} from map #{n}"
18
+ else
19
+ "#{name.to_s.gsub("_", " ")}"
20
+ end
21
+ end
22
+ end
23
+
24
+ class Any < self
25
+ def to_html(doc)
26
+ "<nobr>any (</nobr>" +
27
+ case @value
28
+ when Array
29
+ value.map(&Interscript::Node::Item.method(:try_convert)).map{|i|i.to_html(doc)}.join(", ")
30
+ when ::String
31
+ value.split("").map(&Interscript::Node::Item.method(:try_convert)).map{|i|i.to_html(doc)}.join(", ")
32
+ when Range
33
+ [value.begin, value.end].map(&Interscript::Node::Item.method(:try_convert)).map{|i|i.to_html(doc)}.join(" to ")
34
+ else
35
+ h(value.inspect)
36
+ end +
37
+ ")"
38
+ end
39
+ end
40
+
41
+ class CaptureGroup < self
42
+ def to_html(doc)
43
+ "<nobr>capture group (</nobr>" +
44
+ data.to_html(doc) +
45
+ ")"
46
+ end
47
+ end
48
+
49
+ class CaptureRef < self
50
+ def to_html(_)
51
+ "<nobr>capture reference (</nobr>" +
52
+ id.to_s +
53
+ ")"
54
+ end
55
+ end
56
+
57
+ class Group < self
58
+ def to_html(doc)
59
+ @children.map{|i|i.to_html(doc)}.join(" + ")
60
+ end
61
+ end
62
+
63
+ class Repeat < self
64
+ def to_html(doc)
65
+ str = case self
66
+ when Interscript::Node::Item::Maybe
67
+ "zero or one "
68
+ when Interscript::Node::Item::MaybeSome
69
+ "zero or more of "
70
+ when Interscript::Node::Item::Some
71
+ "one or more of "
72
+ end
73
+ "<nobr>#{str}(</nobr>#{@data.to_html(doc)})"
74
+ end
75
+ end
76
+
77
+ class String < self
78
+ def to_html(_)
79
+ out = ""
80
+ self.data.each_char do |i|
81
+ out << "<ruby>"
82
+ out << "<kbd>#{h i}</kbd>"
83
+ out << "<rt>#{"%04x" % i.ord}</rt>"
84
+ out << "</ruby>"
85
+ end
86
+ out
87
+ end
88
+ end
89
+ end
data/requirements.txt ADDED
@@ -0,0 +1 @@
1
+ torch
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: interscript
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 2.1.0b1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain: []
11
11
  date: 2019-11-17 00:00:00.000000000 Z
12
12
  dependencies:
@@ -25,167 +25,13 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: debase
28
+ name: interscript-maps
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: pry
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: pycall
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: rambling-trie
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: rake
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: rspec
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: ruby-debug-ide
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- version: '0'
125
- - !ruby/object:Gem::Dependency
126
- name: rambling-trie-opal
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- version: '0'
139
- - !ruby/object:Gem::Dependency
140
- name: opal
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: 1.0.3
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: 1.0.3
153
- - !ruby/object:Gem::Dependency
154
- name: guard
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - ">="
158
- - !ruby/object:Gem::Version
159
- version: '0'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - ">="
165
- - !ruby/object:Gem::Version
166
- version: '0'
167
- - !ruby/object:Gem::Dependency
168
- name: guard-rake
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - ">="
172
- - !ruby/object:Gem::Version
173
- version: '0'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - ">="
179
- - !ruby/object:Gem::Version
180
- version: '0'
181
- - !ruby/object:Gem::Dependency
182
- name: closure-compiler
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - ">="
186
- - !ruby/object:Gem::Version
187
- version: '0'
188
- type: :development
34
+ type: :runtime
189
35
  prerelease: false
190
36
  version_requirements: !ruby/object:Gem::Requirement
191
37
  requirements:
@@ -195,263 +41,83 @@ dependencies:
195
41
  description: Interoperable script conversion systems
196
42
  email:
197
43
  - open.source@ribose.com
198
- executables: []
44
+ executables:
45
+ - interscript
199
46
  extensions: []
200
47
  extra_rdoc_files: []
201
48
  files:
202
- - README.adoc
203
- - lib/g2pwrapper.py
49
+ - ".gitignore"
50
+ - ".rspec"
51
+ - Gemfile
52
+ - LICENSE.adoc
53
+ - README.md
54
+ - Rakefile
55
+ - bin/console
56
+ - bin/interscript
57
+ - bin/maps_analyze_staging
58
+ - bin/maps_debug_compilers
59
+ - bin/maps_debug_ordering
60
+ - bin/maps_debug_ruby_compile
61
+ - bin/maps_debug_step_by_step
62
+ - bin/maps_optimize_order
63
+ - bin/maps_v1_analyze_regexps
64
+ - bin/maps_v1_to_v2
65
+ - bin/setup
66
+ - exe/interscript
67
+ - interscript.gemspec
204
68
  - lib/interscript.rb
205
69
  - lib/interscript/command.rb
206
- - lib/interscript/fs.rb
207
- - lib/interscript/mapping.rb
208
- - lib/interscript/opal.rb
209
- - lib/interscript/opal/entrypoint.rb
210
- - lib/interscript/opal/map_translate.rb
211
- - lib/interscript/opal/maps.js.erb
70
+ - lib/interscript/compiler.rb
71
+ - lib/interscript/compiler/javascript.rb
72
+ - lib/interscript/compiler/ruby.rb
73
+ - lib/interscript/dsl.rb
74
+ - lib/interscript/dsl/aliases.rb
75
+ - lib/interscript/dsl/document.rb
76
+ - lib/interscript/dsl/group.rb
77
+ - lib/interscript/dsl/group/parallel.rb
78
+ - lib/interscript/dsl/items.rb
79
+ - lib/interscript/dsl/metadata.rb
80
+ - lib/interscript/dsl/stage.rb
81
+ - lib/interscript/dsl/symbol_mm.rb
82
+ - lib/interscript/dsl/tests.rb
83
+ - lib/interscript/interpreter.rb
84
+ - lib/interscript/node.rb
85
+ - lib/interscript/node/alias_def.rb
86
+ - lib/interscript/node/dependency.rb
87
+ - lib/interscript/node/document.rb
88
+ - lib/interscript/node/group.rb
89
+ - lib/interscript/node/group/parallel.rb
90
+ - lib/interscript/node/group/sequential.rb
91
+ - lib/interscript/node/item.rb
92
+ - lib/interscript/node/item/alias.rb
93
+ - lib/interscript/node/item/any.rb
94
+ - lib/interscript/node/item/capture.rb
95
+ - lib/interscript/node/item/group.rb
96
+ - lib/interscript/node/item/repeat.rb
97
+ - lib/interscript/node/item/stage.rb
98
+ - lib/interscript/node/item/string.rb
99
+ - lib/interscript/node/metadata.rb
100
+ - lib/interscript/node/rule.rb
101
+ - lib/interscript/node/rule/funcall.rb
102
+ - lib/interscript/node/rule/run.rb
103
+ - lib/interscript/node/rule/sub.rb
104
+ - lib/interscript/node/stage.rb
105
+ - lib/interscript/node/tests.rb
106
+ - lib/interscript/stdlib.rb
107
+ - lib/interscript/utils/regexp_converter.rb
212
108
  - lib/interscript/version.rb
213
- - lib/model-7
214
- - lib/tha-pt-b-7
215
- - maps/acadsin-zho-Hani-Latn-2002.yaml
216
- - maps/alalc-amh-Ethi-Latn-1997.yaml
217
- - maps/alalc-amh-Ethi-Latn-2011.yaml
218
- - maps/alalc-ara-Arab-Latn-1997.yaml
219
- - maps/alalc-asm-Deva-Latn-1997.yaml
220
- - maps/alalc-asm-Deva-Latn-2012.yaml
221
- - maps/alalc-aze-Cyrl-Latn-1997.yaml
222
- - maps/alalc-bel-Cyrl-Latn-1997.yaml
223
- - maps/alalc-ben-Beng-Latn-2017.yaml
224
- - maps/alalc-bul-Cyrl-Latn-1997.yaml
225
- - maps/alalc-ell-Grek-Latn-1997.yaml
226
- - maps/alalc-ell-Grek-Latn-2010.yaml
227
- - maps/alalc-guj-Gujr-Latn-1997.yaml
228
- - maps/alalc-guj-Gujr-Latn-2011.yaml
229
- - maps/alalc-hin-Deva-Latn-1997.yaml
230
- - maps/alalc-hin-Deva-Latn-2011.yaml
231
- - maps/alalc-kat-Geok-Latn-1997.yaml
232
- - maps/alalc-kat-Geor-Latn-1997.yaml
233
- - maps/alalc-kor-Hang-Latn-1997.yaml
234
- - maps/alalc-mal-Mlym-Latn-1997.yaml
235
- - maps/alalc-mal-Mlym-Latn-2012.yaml
236
- - maps/alalc-mar-Deva-Latn-1997.yaml
237
- - maps/alalc-mar-Deva-Latn-2011.yaml
238
- - maps/alalc-mkd-Cyrl-Latn-1997.yaml
239
- - maps/alalc-mkd-Cyrl-Latn-2013.yaml
240
- - maps/alalc-mon-Cyrl-Latn-1997.yaml
241
- - maps/alalc-pan-Guru-Latn-1997.yaml
242
- - maps/alalc-pan-Guru-Latn-2011.yaml
243
- - maps/alalc-per-Arab-Latn-1997.yaml
244
- - maps/alalc-pli-Deva-Latn-2012.yaml
245
- - maps/alalc-pra-Deva-Latn-2012.yaml
246
- - maps/alalc-rus-Cyrl-Latn-1997.yaml
247
- - maps/alalc-rus-Cyrl-Latn-2012.yaml
248
- - maps/alalc-san-Deva-Latn-2012.yaml
249
- - maps/alalc-sin-Sinh-Latn-1997.yaml
250
- - maps/alalc-sin-Sinh-Latn-2011.yaml
251
- - maps/alalc-srp-Cyrl-Latn-1997.yaml
252
- - maps/alalc-srp-Cyrl-Latn-2013.yaml
253
- - maps/alalc-tam-Taml-Latn-1997.yaml
254
- - maps/alalc-tam-Taml-Latn-2011.yaml
255
- - maps/alalc-ukr-Cyrl-Latn-1997.yaml
256
- - maps/alalc-ukr-Cyrl-Latn-2011.yaml
257
- - maps/apcbg-bul-Cyrl-Latn-1995.yaml
258
- - maps/bas-rus-Cyrl-Latn-2017-bss.yaml
259
- - maps/bas-rus-Cyrl-Latn-2017-oss.yaml
260
- - maps/bgn-jpn-Hrkt-Latn-1962.yaml
261
- - maps/bgn-kor-Hang-Latn-1943.yaml
262
- - maps/bgn-kor-Kore-Latn-1943.yaml
263
- - maps/bgna-bul-Cyrl-Latn-2006.yaml
264
- - maps/bgna-bul-Cyrl-Latn-2009.yaml
265
- - maps/bgnpcgn-amh-Ethi-Latn-1967.yaml
266
- - maps/bgnpcgn-ara-Arab-Latn-1956.yaml
267
- - maps/bgnpcgn-arm-Armn-Latn-1981.yaml
268
- - maps/bgnpcgn-aze-Cyrl-Latn-1993.yaml
269
- - maps/bgnpcgn-bak-Cyrl-Latn-2007.yaml
270
- - maps/bgnpcgn-bel-Cyrl-Latn-1979.yaml
271
- - maps/bgnpcgn-bul-Cyrl-Latn-1952.yaml
272
- - maps/bgnpcgn-bul-Cyrl-Latn-2013.yaml
273
- - maps/bgnpcgn-che-Cyrl-Latn-2008.yaml
274
- - maps/bgnpcgn-ell-Grek-Latn-1962.yaml
275
- - maps/bgnpcgn-ell-Grek-Latn-1996.yaml
276
- - maps/bgnpcgn-fas-Arab-Latn-1956.yaml
277
- - maps/bgnpcgn-jpn-Hrkt-Latn-1976.yaml
278
- - maps/bgnpcgn-kat-Geor-Latn-1981.yaml
279
- - maps/bgnpcgn-kat-Geor-Latn-2009.yaml
280
- - maps/bgnpcgn-kor-Hang-Latn-kn-1945.yaml
281
- - maps/bgnpcgn-kor-Hang-Latn-rok-2011.yaml
282
- - maps/bgnpcgn-kor-Kore-Latn-rok-2011.yaml
283
- - maps/bgnpcgn-mkd-Cyrl-Latn-1981.yaml
284
- - maps/bgnpcgn-mkd-Cyrl-Latn-2013.yaml
285
- - maps/bgnpcgn-mon-Cyrl-Latn-1964.yaml
286
- - maps/bgnpcgn-nep-Deva-Latn-2011.yaml
287
- - maps/bgnpcgn-per-Arab-Latn-1958.yaml
288
- - maps/bgnpcgn-prs-Arab-Latn-2007.yaml
289
- - maps/bgnpcgn-prs-Arab-Latn-yaghoubi.yaml
290
- - maps/bgnpcgn-rue-Cyrl-Latn-2016.yaml
291
- - maps/bgnpcgn-rus-Cyrl-Latn-1947.yaml
292
- - maps/bgnpcgn-srp-Cyrl-Latn-2005.yaml
293
- - maps/bgnpcgn-tat-Cyrl-Latn-2007.yaml
294
- - maps/bgnpcgn-tgk-Cyrl-Latn-1994.yaml
295
- - maps/bgnpcgn-ukr-Cyrl-Latn-1965.yaml
296
- - maps/bgnpcgn-ukr-Cyrl-Latn-2019.yaml
297
- - maps/bgnpcgn-uzb-Cyrl-Latn-1979.yaml
298
- - maps/bgnpcgn-uzb-Cyrl-Latn-2000.yaml
299
- - maps/bgnpcgn-zho-Hans-Latn-1979.yaml
300
- - maps/bis-asm-Beng-Latn-13194-1991.yaml
301
- - maps/bis-ben-Beng-Latn-13194-1991.yaml
302
- - maps/bis-dev-Deva-Latn-13194-1991.yaml
303
- - maps/bis-guj-Gujr-Latn-13194-1991.yaml
304
- - maps/bis-knd-Knda-Latn-13194-1991.yaml
305
- - maps/bis-mlm-Mlym-Latn-13194-1991.yaml
306
- - maps/bis-ori-Orya-Latn-13194-1991.yaml
307
- - maps/bis-pnj-Guru-Latn-13194-1991.yaml
308
- - maps/bis-tel-Telu-Latn-13194-1991.yaml
309
- - maps/bis-tml-Taml-Latn-13194-1991.yaml
310
- - maps/by-bel-Cyrl-Latn-1998.yaml
311
- - maps/by-bel-Cyrl-Latn-2007.yaml
312
- - maps/din-grc-Grek-Latn-31634-2011-t1.yaml
313
- - maps/din-hin-Deva-Latn-33904-2018.yaml
314
- - maps/din-kat-Geor-Latn-32707-2010.yaml
315
- - maps/din-mar-Deva-Latn-33904-2018.yaml
316
- - maps/din-nep-Deva-Latn-33904-2018.yaml
317
- - maps/din-pli-Deva-Latn-33904-2018.yaml
318
- - maps/din-pra-Deva-Latn-33904-2018.yaml
319
- - maps/din-san-Deva-Latn-33904-2018.yaml
320
- - maps/din-tam-Taml-Latn-33903-2016.yaml
321
- - maps/dos-nep-Deva-Latn-1997.yaml
322
- - maps/elot-ell-Grek-Latn-743-1982-tl.yaml
323
- - maps/elot-ell-Grek-Latn-743-1982-ts.yaml
324
- - maps/elot-ell-Grek-Latn-743-2001-tl.yaml
325
- - maps/elot-ell-Grek-Latn-743-2001-ts.yaml
326
- - maps/ggg-kat-Geor-Latn-2002.yaml
327
- - maps/gki-bel-Cyrl-Latn-1992.yaml
328
- - maps/gki-bel-Cyrl-Latn-2000.yaml
329
- - maps/gost-rus-Cyrl-Latn-16876-71-1983.yaml
330
- - maps/gost-rus-Cyrl-Latn-7.79-2000-2002.yaml
331
- - maps/hk-yue-Hani-Latn-1888.yaml
332
- - maps/icao-bel-Cyrl-Latn-9303.yaml
333
- - maps/icao-bul-Cyrl-Latn-9303.yaml
334
- - maps/icao-fas-Arab-Latn-9303.yaml
335
- - maps/icao-heb-Hebr-Latn-9303.yaml
336
- - maps/icao-mkd-Cyrl-Latn-9303.yaml
337
- - maps/icao-rus-Cyrl-Latn-9303.yaml
338
- - maps/icao-srp-Cyrl-Latn-9303.yaml
339
- - maps/icao-ukr-Cyrl-Latn-9303.yaml
340
- - maps/iso-ara-Arab-Latn-233-1984.yaml
341
- - maps/iso-asm-Beng-Latn-15919-2001.yaml
342
- - maps/iso-ben-Beng-Latn-15919-2001.yaml
343
- - maps/iso-ell-Grek-Latn-843-1997-t1.yaml
344
- - maps/iso-ell-Grek-Latn-843-1997-t2.yaml
345
- - maps/iso-guj-Gujr-Latn-15919-2001.yaml
346
- - maps/iso-hin-Deva-Latn-15919-2001.yaml
347
- - maps/iso-inc-Deva-Latn-15919-2001.yaml
348
- - maps/iso-jpn-Hrkt-Latn-3602-1989.yaml
349
- - maps/iso-kan-Knda-Latn-15919-2001.yaml
350
- - maps/iso-kat-Geor-Latn-9984-1996.yaml
351
- - maps/iso-kor-Hang-Latn-1996-method1.yaml
352
- - maps/iso-kor-Hang-Latn-1996-method2.yaml
353
- - maps/iso-mal-Mlym-Latn-15919-2001.yaml
354
- - maps/iso-mar-Deva-Latn-15919-2001.yaml
355
- - maps/iso-nep-Deva-Latn-15919-2001.yaml
356
- - maps/iso-ori-Orya-Latn-15919-2001.yaml
357
- - maps/iso-pan-Guru-Latn-15919-2001.yaml
358
- - maps/iso-pli-Beng-Latn-15919-2001.yaml
359
- - maps/iso-pli-Deva-Latn-15919-2001.yaml
360
- - maps/iso-pli-Sinh-Latn-15919-2001.yaml
361
- - maps/iso-pli-Thai-Latn-15919-2001.yaml
362
- - maps/iso-pra-Deva-Latn-15919-2001.yaml
363
- - maps/iso-prs-Arab-Latn-233-3-1999.yaml
364
- - maps/iso-rus-Cyrl-Latn-9-1995.yaml
365
- - maps/iso-san-Deva-Latn-15919-2001.yaml
366
- - maps/iso-tam-Taml-Latn-15919-2001.yaml
367
- - maps/iso-tel-Telu-Latn-15919-2001.yaml
368
- - maps/iso-tha-Thai-Latn-11940-1998.yaml
369
- - maps/kp-kor-Hang-Latn-2002.yaml
370
- - maps/lshk-yue-Hani-Latn-jyutping-1993.yaml
371
- - maps/mext-jpn-Hrkt-Latn-1954.yaml
372
- - maps/mns-mon-Cyrl-Latn-5217-2012.yaml
373
- - maps/mns-mon-Latn-Cyrl-5217-2012.yaml
374
- - maps/moct-kor-Hang-Latn-2000.yaml
375
- - maps/mofa-jpn-Hrkt-Latn-1989.yaml
376
- - maps/mvd-bel-Cyrl-Latn-2008.yaml
377
- - maps/mvd-bel-Cyrl-Latn-2010.yaml
378
- - maps/mvd-rus-Cyrl-Latn-2008.yaml
379
- - maps/mvd-rus-Cyrl-Latn-2010.yaml
380
- - maps/odni-ara-Arab-Latn-2015.yaml
381
- - maps/odni-aze-Cyrl-Latn-2015.yaml
382
- - maps/odni-bel-Cyrl-Latn-2015.yaml
383
- - maps/odni-bul-Cyrl-Latn-2015.yaml
384
- - maps/odni-che-Cyrl-Latn-2015.yaml
385
- - maps/odni-fas-Arab-Latn-2015.yaml
386
- - maps/odni-hin-Deva-Latn-2015.yaml
387
- - maps/odni-kat-Geor-Latn-2015.yaml
388
- - maps/odni-kaz-Cyrl-Latn-2015.yaml
389
- - maps/odni-kir-Cyrl-Latn-2015.yaml
390
- - maps/odni-kor-Hang-Latn-2015.yaml
391
- - maps/odni-mkd-Cyrl-Latn-2015.yaml
392
- - maps/odni-per-Arab-Latn-2015.yaml
393
- - maps/odni-rus-Cyrl-Latn-2015.yaml
394
- - maps/odni-srp-Cyrl-Latn-2015.yaml
395
- - maps/odni-tat-Cyrl-Latn-2015.yaml
396
- - maps/odni-tgk-Cyrl-Latn-2015.yaml
397
- - maps/odni-uig-Cyrl-Latn-2015.yaml
398
- - maps/odni-ukr-Cyrl-Latn-2015.yaml
399
- - maps/odni-urd-Arab-Latn-2015.yaml
400
- - maps/odni-uzb-Cyrl-Latn-2015.yaml
401
- - maps/royin-tha-Thai-Latn-1939-generic.yaml
402
- - maps/royin-tha-Thai-Latn-1968.yaml
403
- - maps/royin-tha-Thai-Latn-1999-chained.yaml
404
- - maps/royin-tha-Thai-Latn-1999.yaml
405
- - maps/sac-zho-Hans-Latn-1979.yaml
406
- - maps/sasm-mon-Mong-Latn-general-1978.yaml
407
- - maps/sasm-mon-Mong-Latn-phonetic-1978.yaml
408
- - maps/ses-ara-Arab-Latn-1930.yaml
409
- - maps/stategeocadastre-ukr-Cyrl-Latn-1993.yaml
410
- - maps/ua-ukr-Cyrl-Latn-1996.yaml
411
- - maps/ua-ukr-Cyrl-Latn-2007.yaml
412
- - maps/ua-ukr-Cyrl-Latn-2010.yaml
413
- - maps/un-amh-Ethi-Latn-2016.yaml
414
- - maps/un-ara-Arab-Latn-1971.yaml
415
- - maps/un-ara-Arab-Latn-1972.yaml
416
- - maps/un-ara-Arab-Latn-2017.yaml
417
- - maps/un-bel-Cyrl-Latn-2007.yaml
418
- - maps/un-ben-Beng-Latn-2016.yaml
419
- - maps/un-ell-Grek-Latn-1987-phonetic.yaml
420
- - maps/un-ell-Grek-Latn-1987-tl.yaml
421
- - maps/un-ell-Grek-Latn-1987-ts.yaml
422
- - maps/un-hin-Deva-Latn-2016.yaml
423
- - maps/un-mar-Deva-Latn-2016.yaml
424
- - maps/un-mon-Mong-Latn-general-2013.yaml
425
- - maps/un-mon-Mong-Latn-phonetic-2013.yaml
426
- - maps/un-nep-Deva-Latn-1972.yaml
427
- - maps/un-nep-Deva-Latn-2013.yaml
428
- - maps/un-rus-Cyrl-Latn-1987.yaml
429
- - maps/un-ukr-Cyrl-Latn-1998.yaml
430
- - maps/un-ukr-Cyrl-Latn-2012.yaml
431
- - maps/var-hin-Deva-Latn-hunterian-1872.yaml
432
- - maps/var-jpn-Hrkt-Latn-hepburn-1886.yaml
433
- - maps/var-jpn-Hrkt-Latn-hepburn-1954.yaml
434
- - maps/var-kor-Hang-Hang-jamo.yaml
435
- - maps/var-kor-Hang-Latn-mr-1939.yaml
436
- - maps/var-kor-Kore-Hang-2013.yaml
437
- - maps/var-kor-Kore-Latn-mr-1939.yaml
438
- - maps/var-mar-Deva-Latn-hunterian-1872.yaml
439
- - maps/var-mon-Mong-Latn-1930.yaml
440
- - maps/var-mon-Mong-Latn-lessing.yaml
441
- - maps/var-mon-Mong-Latn-vpmc.yaml
442
- - maps/var-pra-Deva-Latn-iast-1912.yaml
443
- - maps/var-san-Deva-Latn-iast-1912.yaml
444
- - maps/var-tha-Thai-Thai-phonemic.yaml
445
- - maps/var-tha-Thai-Zsym-ipa.yaml
446
- - maps/var-zho-Hani-Latn-wd-1979.yaml
447
- - spec/interscript/filenames_spec.rb
448
- - spec/interscript/mapping_spec.rb
449
- - spec/interscript_spec.rb
450
- - spec/spec_helper.rb
109
+ - lib/interscript/visualize.rb
110
+ - lib/interscript/visualize/group.html.erb
111
+ - lib/interscript/visualize/json.rb
112
+ - lib/interscript/visualize/map.html.erb
113
+ - lib/interscript/visualize/nodes.rb
114
+ - requirements.txt
451
115
  homepage: https://www.interscript.com
452
116
  licenses:
453
- - MIT
454
- metadata: {}
117
+ - BSD-2-Clause
118
+ metadata:
119
+ homepage_uri: https://www.interscript.com
120
+ source_code_uri: https://github.com/interscript/interscript
455
121
  post_install_message:
456
122
  rdoc_options: []
457
123
  require_paths:
@@ -460,19 +126,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
460
126
  requirements:
461
127
  - - ">="
462
128
  - !ruby/object:Gem::Version
463
- version: '0'
129
+ version: 2.3.0
464
130
  required_rubygems_version: !ruby/object:Gem::Requirement
465
131
  requirements:
466
- - - ">="
132
+ - - ">"
467
133
  - !ruby/object:Gem::Version
468
- version: 2.4.0
134
+ version: 1.3.1
469
135
  requirements: []
470
- rubygems_version: 3.0.3
136
+ rubygems_version: 3.1.6
471
137
  signing_key:
472
138
  specification_version: 4
473
139
  summary: Interoperable script conversion systems
474
- test_files:
475
- - spec/interscript/filenames_spec.rb
476
- - spec/interscript/mapping_spec.rb
477
- - spec/interscript_spec.rb
478
- - spec/spec_helper.rb
140
+ test_files: []