plurimath 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 404151e47fbf8514843549a85589c81010aa22a253ad1eff339ffe097032b21c
4
- data.tar.gz: 794974d9678cf592cc86bbd4b93ee258e6f2e9e971d3c4b37c1808bdf19d3b9e
3
+ metadata.gz: 944558a33a10197af09d6f879e505fcb58aa9f5aa60827c0e8a9943cfdd11c5b
4
+ data.tar.gz: ff7798321515a67a926b11227ae5f7de17abf6a43cfc6dcff86c02d74a4d78ce
5
5
  SHA512:
6
- metadata.gz: 634212971ff264966aeb2a5cf4c56ea73ca101ea10ab5292b43b7afd5a869e332668818e8ef964a8b6277880936f0b47cf220d80174b2133c01191a876088be6
7
- data.tar.gz: 5b8fec514a60620a67f876a27400010bb92a2fcd5d2d5519fb08f64debd55f2215394a0ffd115e0a22ecdb5eab564548a37fc9ffa8f3f1189bc85121c3033a07
6
+ metadata.gz: a1b099faaa7af87d92ebc809d80f5ce73da92052d3328ae0de4fd4047cb1786c6a25658d9190e7e0b6288dfd214f3dc0a2dd87e5d383d6e034fd9296b2a25478
7
+ data.tar.gz: d69ff8fd9b43ab5151433992c4f69434604fdf455ea980c31b879dd8ac522a493190bb89106944c34cc669aae196842bd5e651e4b2299b85aee38343bcbfed86
@@ -166,6 +166,7 @@ module Plurimath
166
166
  "<=": :"&#x2264;",
167
167
  "|~": :"&#x2308;",
168
168
  "/_": :"&#x2220;",
169
+ "''": :"&#x2033;",
169
170
  "+-": :"&#xb1;",
170
171
  "-:": :"&#xf7;",
171
172
  "\\ ": :"&#xa0;",
@@ -209,7 +210,7 @@ module Plurimath
209
210
  "~": :"&#x7e;",
210
211
  "|": :"&#x7c;",
211
212
  "%": :"&#x25;",
212
- "'": :"&#x27;",
213
+ "'": :"&#x2032;",
213
214
  "&": :"&#x26;",
214
215
  "#": :"&#x23;",
215
216
  "=": :"=",
@@ -3561,6 +3561,7 @@ module Plurimath
3561
3561
  cosh: :unary,
3562
3562
  ddot: :unary,
3563
3563
  mbox: :unary,
3564
+ '"': :symbols,
3564
3565
  sum: :power_base,
3565
3566
  inf: :power_base,
3566
3567
  lim: :power_base,
@@ -77,10 +77,10 @@ module Plurimath
77
77
  end
78
78
 
79
79
  rule(:symbol_text_or_integer) do
80
- symbol_class_commands |
80
+ str('"').as(:symbol) |
81
+ symbol_class_commands |
81
82
  (slash >> math_operators_classes) |
82
83
  match["a-zA-Z"].as(:symbols) |
83
- (str('"') >> match("[^\"]").repeat >> str('"')).as(:text) |
84
84
  match(/\d+(\.[0-9]+)|\d/).repeat(1).as(:number) |
85
85
  str("\\\\").as("\\\\") |
86
86
  (slash >> (lparen | rparen).as(:symbols)) |
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Plurimath
4
- VERSION = "0.2.2"
4
+ VERSION = "0.2.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plurimath
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-15 00:00:00.000000000 Z
11
+ date: 2023-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parslet