xrpn 1.8.1 → 1.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/xrpn +5 -5
- data/xlib/_xrpn_version +1 -1
- data/xrpn.gemspec +2 -2
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12914b57a8fff50199cbc83042b0f6c05b5647434752a8554eb4b04680b2fa48
|
4
|
+
data.tar.gz: d96268b3a519d92d1c38d2e48ecd5ac2069b602850fe397194a2ec98414568e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c06c7454ba8b085d02ad5fb0f9d18383438b104ea68d457b62f2f56b42831e8e6228cd9028ee2c5f09d1a451febd91b53f25ec3036f2a787fe254619bac3dd8
|
7
|
+
data.tar.gz: 00d0b29e11921699b5f93a670673314d65dd19c456700572fb0a5f4f7502b7069ab120a586b7f0291d065331d56e01c4535de47cf280da757cccde1dbbe540e8
|
data/bin/xrpn
CHANGED
@@ -134,19 +134,19 @@ until @p.pc == @p.prg[@p.pg].length do
|
|
134
134
|
begin
|
135
135
|
l2 ? ret = @p.send(l1.downcase, l2) : ret = @p.send(l1.downcase)
|
136
136
|
rescue ArgumentError
|
137
|
-
puts "Command needs an argument
|
137
|
+
puts "Command needs an argument (#{@line})"
|
138
138
|
exit if $exe
|
139
139
|
rescue TypeError
|
140
|
-
error("ERROR: Wrong type
|
140
|
+
error("ERROR: Wrong type (#{@line})")
|
141
141
|
exit if $exe
|
142
142
|
rescue ZeroDivisionError
|
143
|
-
error("ERROR: Division by zero
|
143
|
+
error("ERROR: Division by zero (#{@line})")
|
144
144
|
exit if $exe
|
145
145
|
rescue FloatDomainError
|
146
|
-
error("ERROR: Number out of range
|
146
|
+
error("ERROR: Number out of range (#{@line})")
|
147
147
|
exit if $exe
|
148
148
|
rescue Math::DomainError
|
149
|
-
error("ERROR: Number out of domain
|
149
|
+
error("ERROR: Number out of domain (#{@line})")
|
150
150
|
exit if $exe
|
151
151
|
end
|
152
152
|
puts ret if $debug and ret.instance_of? String
|
data/xlib/_xrpn_version
CHANGED
data/xrpn.gemspec
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'xrpn'
|
3
|
-
s.version = '1.8.
|
3
|
+
s.version = '1.8.2'
|
4
4
|
s.licenses = ['Unlicense']
|
5
5
|
s.summary = "XRPN - The eXtended RPN (Reverse Polish Notation) programming language"
|
6
|
-
s.description = "A full programming language and environment extending the features of the venerable HP calculator programmable calculators. With XRPN you can accomplish a wide range of modern programming tasks as well as running existing HP-41 FOCAL programs directly. XRPN gives modern life to tens of thousands of old HP calculator programs and opens the possibilities to many, many more. New in 1.7: Added function 'stdout' that writes content of X to STDOUT. New in 1.8: Better error handling - especially for the rsh integration (https://github.com/isene/rsh)
|
6
|
+
s.description = "A full programming language and environment extending the features of the venerable HP calculator programmable calculators. With XRPN you can accomplish a wide range of modern programming tasks as well as running existing HP-41 FOCAL programs directly. XRPN gives modern life to tens of thousands of old HP calculator programs and opens the possibilities to many, many more. New in 1.7: Added function 'stdout' that writes content of X to STDOUT. New in 1.8.2: Better error handling - especially for the rsh integration (https://github.com/isene/rsh)"
|
7
7
|
|
8
8
|
s.authors = ["Geir Isene"]
|
9
9
|
s.email = 'g@isene.com'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xrpn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
@@ -29,9 +29,8 @@ description: 'A full programming language and environment extending the features
|
|
29
29
|
a wide range of modern programming tasks as well as running existing HP-41 FOCAL
|
30
30
|
programs directly. XRPN gives modern life to tens of thousands of old HP calculator
|
31
31
|
programs and opens the possibilities to many, many more. New in 1.7: Added function
|
32
|
-
''stdout'' that writes content of X to STDOUT. New in 1.8: Better error handling
|
33
|
-
- especially for the rsh integration (https://github.com/isene/rsh)
|
34
|
-
bug fix.'
|
32
|
+
''stdout'' that writes content of X to STDOUT. New in 1.8.2: Better error handling
|
33
|
+
- especially for the rsh integration (https://github.com/isene/rsh)'
|
35
34
|
email: g@isene.com
|
36
35
|
executables:
|
37
36
|
- xrpn
|