amath 0.1.0 → 0.2.0

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.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amath
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
@@ -9,6 +9,40 @@ bindir: bin
9
9
  cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: asciiunits
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - '='
17
+ - !ruby/object:Gem::Version
18
+ version: 0.1.6
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - '='
24
+ - !ruby/object:Gem::Version
25
+ version: 0.1.6
26
+ - !ruby/object:Gem::Dependency
27
+ name: lutaml-model
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: '0.8'
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: 0.8.162
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '0.8'
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: 0.8.162
12
46
  - !ruby/object:Gem::Dependency
13
47
  name: parsanol
14
48
  requirement: !ruby/object:Gem::Requirement
@@ -18,7 +52,7 @@ dependencies:
18
52
  version: '1.3'
19
53
  - - ">="
20
54
  - !ruby/object:Gem::Version
21
- version: 1.3.107
55
+ version: 1.3.134
22
56
  type: :runtime
23
57
  prerelease: false
24
58
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,10 +62,11 @@ dependencies:
28
62
  version: '1.3'
29
63
  - - ">="
30
64
  - !ruby/object:Gem::Version
31
- version: 1.3.107
65
+ version: 1.3.134
32
66
  description: |
33
67
  AsciiMath parser that runs a compiled Parsanol grammar artifact and
34
- returns a parse tree. Used by Plurimath.
68
+ returns a typed AsciiMath model declared with LutaML Model. Used by
69
+ Plurimath.
35
70
  email:
36
71
  - open.source@ribose.com
37
72
  executables: []
@@ -40,20 +75,42 @@ extra_rdoc_files: []
40
75
  files:
41
76
  - LICENSE.md
42
77
  - README.adoc
78
+ - artifacts/asciimath.bindings.python.json
79
+ - artifacts/asciimath.bindings.rs.json
80
+ - artifacts/asciimath.bindings.ruby.json
81
+ - artifacts/asciimath.bindings.ts.json
43
82
  - artifacts/asciimath.checksums.txt
44
83
  - artifacts/asciimath.json
84
+ - artifacts/pma.bindings.python.json
85
+ - artifacts/pma.bindings.rs.json
86
+ - artifacts/pma.bindings.ruby.json
87
+ - artifacts/pma.bindings.ts.json
88
+ - artifacts/pma.checksums.txt
89
+ - artifacts/pma.json
90
+ - corpora/pma/accepted.yml
91
+ - corpora/pma/refused.yml
45
92
  - corpora/uncertainty-shared-exponent.yml
93
+ - data/asciimath-symbols.json
94
+ - data/quantities.json
46
95
  - docs/parser-contract.adoc
96
+ - docs/stage-contract.adoc
97
+ - grammars/asciimath.wrappers.json
47
98
  - lib/amath.rb
48
99
  - lib/amath/artifact.rb
49
100
  - lib/amath/configuration.rb
50
101
  - lib/amath/engine.rb
51
102
  - lib/amath/error_position.rb
52
103
  - lib/amath/errors.rb
104
+ - lib/amath/model.rb
105
+ - lib/amath/model/nodes.rb
53
106
  - lib/amath/native_recursion_guard.rb
54
107
  - lib/amath/parser.rb
108
+ - lib/amath/pma.rb
109
+ - lib/amath/raw_tree.rb
55
110
  - lib/amath/renester.rb
111
+ - lib/amath/symbols.rb
56
112
  - lib/amath/version.rb
113
+ - model/asciimath.lml.json
57
114
  homepage: https://github.com/plurimath/amath
58
115
  licenses:
59
116
  - BSD-2-Clause
@@ -73,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
130
  - !ruby/object:Gem::Version
74
131
  version: '0'
75
132
  requirements: []
76
- rubygems_version: 3.6.9
133
+ rubygems_version: 4.0.23
77
134
  specification_version: 4
78
135
  summary: AsciiMath parser by Plurimath.
79
136
  test_files: []