plurimath 0.2.2 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f803c950538b870ea7493acaa13d112a0fe7f68edeb277e7bb9b0b2c6e54e96
|
4
|
+
data.tar.gz: ec1131060265a3f03ed8f7b685a28e77d0ccc59998a3fe93c8ab64e6a6ca23f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17696e31768ad9e0cb7d05832bd4b203c0665bab3208593f7b4be509f5e372dd7528b939c7d0ebf1c63f6957c62c113eacc00e3a9026173ec9c6f266d123f2da
|
7
|
+
data.tar.gz: 68d908d657769b9b3e240fdaefdc68cf1a196ecc6fbe961bd274a6c2404f3a6927f17e3ea3efc226d3ddf6f594f7d1b389b88f48119e16b146344de2ef487583
|
@@ -166,6 +166,7 @@ module Plurimath
|
|
166
166
|
"<=": :"≤",
|
167
167
|
"|~": :"⌈",
|
168
168
|
"/_": :"∠",
|
169
|
+
"''": :"″",
|
169
170
|
"+-": :"±",
|
170
171
|
"-:": :"÷",
|
171
172
|
"\\ ": :" ",
|
@@ -209,7 +210,7 @@ module Plurimath
|
|
209
210
|
"~": :"~",
|
210
211
|
"|": :"|",
|
211
212
|
"%": :"%",
|
212
|
-
"'": :"&#
|
213
|
+
"'": :"′",
|
213
214
|
"&": :"&",
|
214
215
|
"#": :"#",
|
215
216
|
"=": :"=",
|
@@ -77,12 +77,12 @@ module Plurimath
|
|
77
77
|
end
|
78
78
|
|
79
79
|
rule(:symbol_text_or_integer) do
|
80
|
-
|
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
|
-
str("\\\\").as("\\\\") |
|
85
|
+
str("\\\\").as("\\\\") >> match(/\s/).repeat |
|
86
86
|
(slash >> (lparen | rparen).as(:symbols)) |
|
87
87
|
lparen |
|
88
88
|
str("\\ ").as(:space)
|
data/lib/plurimath/version.rb
CHANGED
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.
|
4
|
+
version: 0.2.4
|
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-
|
11
|
+
date: 2023-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parslet
|