xrpn 2.1 → 2.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 +6 -1
- data/xcmd/error +8 -0
- data/xcmd/unerror +8 -0
- data/xlib/_xrpn_version +1 -1
- data/xlib/unerror +6 -0
- data/xrpn.gemspec +2 -2
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ffb9be2c7f2d0322a75cc674de598d9606afa71b467ac55e65dbef3aae512d7
|
4
|
+
data.tar.gz: 7cda743855ab4708bff10c7e12cadadbcd8484605fb2f9526805988f0a06adad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bfe087a054e763f342bbe111a2e2ba9924a37719be5784e494deb6be75d3412d7f2442bdc84156dcc3a9389af69ed7a5cf42e3ba824d875ecb3f0fb04f3a3ec
|
7
|
+
data.tar.gz: f9400c2544b32edc95db3c243a6490ce4f1860a6dc9c9379042b51710845c542474053127bfd5c8cefbb2d579eaf58e01f8ed04958240b2c802a3162f0866b3e
|
data/bin/xrpn
CHANGED
@@ -137,7 +137,12 @@ until @p.pc == @p.prg[@p.pg].length do
|
|
137
137
|
read_xcmd
|
138
138
|
elsif XRPN.method_defined?(l1.downcase) # Or execute the command with either 1 or 2 parts
|
139
139
|
begin
|
140
|
-
|
140
|
+
if @p.flg["25"] == true
|
141
|
+
@p.flg["25"] = false
|
142
|
+
unerror { l2 ? ret = @p.send(l1.downcase, l2) : ret = @p.send(l1.downcase) }
|
143
|
+
else
|
144
|
+
l2 ? ret = @p.send(l1.downcase, l2) : ret = @p.send(l1.downcase)
|
145
|
+
end
|
141
146
|
rescue ArgumentError
|
142
147
|
puts "Command needs an argument (#{@line})"
|
143
148
|
exit if $exe
|
data/xcmd/error
ADDED
data/xcmd/unerror
ADDED
data/xlib/_xrpn_version
CHANGED
data/xlib/unerror
ADDED
data/xrpn.gemspec
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'xrpn'
|
3
|
-
s.version = '2.
|
3
|
+
s.version = '2.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 2.0: Startup speed 4X. Added command 'cmds'. 2.1: Fixed rounding overflow bug. Added : commands to access underlying Ruby."
|
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 2.0: Startup speed 4X. Added command 'cmds'. 2.1: Fixed rounding overflow bug. Added : commands to access underlying Ruby. 2.2: Added error exception (flag 25) with commands 'error'=CF 25 and 'unerror'=SF 25"
|
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: '2.
|
4
|
+
version: '2.2'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
@@ -30,7 +30,8 @@ description: 'A full programming language and environment extending the features
|
|
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 2.0: Startup speed
|
32
32
|
4X. Added command ''cmds''. 2.1: Fixed rounding overflow bug. Added : commands to
|
33
|
-
access underlying Ruby.'
|
33
|
+
access underlying Ruby. 2.2: Added error exception (flag 25) with commands ''error''=CF
|
34
|
+
25 and ''unerror''=SF 25'
|
34
35
|
email: g@isene.com
|
35
36
|
executables:
|
36
37
|
- xrpn
|
@@ -129,6 +130,7 @@ files:
|
|
129
130
|
- xcmd/end
|
130
131
|
- xcmd/eng
|
131
132
|
- xcmd/enter
|
133
|
+
- xcmd/error
|
132
134
|
- xcmd/exp
|
133
135
|
- xcmd/expx1
|
134
136
|
- xcmd/fact
|
@@ -283,6 +285,7 @@ files:
|
|
283
285
|
- xcmd/tone
|
284
286
|
- xcmd/tonexy
|
285
287
|
- xcmd/tx
|
288
|
+
- xcmd/unerror
|
286
289
|
- xcmd/version
|
287
290
|
- xcmd/view
|
288
291
|
- xcmd/writefile
|
@@ -336,6 +339,7 @@ files:
|
|
336
339
|
- xlib/setpt
|
337
340
|
- xlib/string
|
338
341
|
- xlib/theme
|
342
|
+
- xlib/unerror
|
339
343
|
- xlib/xrpn_class
|
340
344
|
- xrpn.gemspec
|
341
345
|
homepage: https://github.com/isene/XRPN
|