amath 0.1.0 → 0.2.1

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