xrpn 1.6 → 1.7

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/xcmd/stdout +8 -0
  3. data/xrpn.gemspec +2 -2
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6eaeb18f29172b8e96f6f06ef04d3be02c30296f13b3f7f67a30fae7791ba464
4
- data.tar.gz: d5807637849f72490dd5ec06357d3b7f8de1024850dd87954fdf2d69e1cdb6b8
3
+ metadata.gz: a81afb93ab5528746ee3506675542ce31b85a1fe513f7bdda71e7b1702b95f09
4
+ data.tar.gz: c22adf280fd778f57ff9beb6fa49afa03e408c8b688105ef5b7cf89529c7fe16
5
5
  SHA512:
6
- metadata.gz: d150e537776c8ffb9a0e1324a132b9fece173abbea78b23b329b082774d07da3e80d028a0098edf59655a10b983cc65df063ff5c57e8795c28e75a86756bb530
7
- data.tar.gz: ac92b3b15c37ddb86b921a4fbfa30ff3ac38237325747a1cd4b5ebcfce85bbd23634b284af332c76ebc7366457baa02ad86e9868fb5a879d726a1cc8d786a248
6
+ metadata.gz: a0cee89c7e30519538ef273f2714c8e877cdbe393b1bcbbd504439946b7704f25f3c457a04163e54ff84c74cd61cf3c783db28ac907d9cfc6ffb33d4ad59fcb1
7
+ data.tar.gz: f23b8a11dd7245316d9c433306d114a8faba605bb2a9f226fdfc2e26390ebbbee0bed5ade3c2f8a200010fe6016f9c5bd440e8bd0d3d17210b078a6c10387a5b
data/xcmd/stdout ADDED
@@ -0,0 +1,8 @@
1
+ class XRPN
2
+ # Send content of X to STDOUT
3
+ def stdout
4
+ $stdout.write @x
5
+ end
6
+ end
7
+
8
+ # vim:ft=ruby:
data/xrpn.gemspec CHANGED
@@ -1,9 +1,9 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'xrpn'
3
- s.version = '1.6'
3
+ s.version = '1.7'
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.6: Added the option to use single-quotes for Alpha entry. Added the safety-catch of adding an END to programs that does not have and END as the last line."
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."
7
7
 
8
8
  s.authors = ["Geir Isene"]
9
9
  s.email = 'g@isene.com'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xrpn
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.6'
4
+ version: '1.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-30 00:00:00.000000000 Z
11
+ date: 2023-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tty-prompt
@@ -28,9 +28,8 @@ description: 'A full programming language and environment extending the features
28
28
  the venerable HP calculator programmable calculators. With XRPN you can accomplish
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
- programs and opens the possibilities to many, many more. New in 1.6: Added the option
32
- to use single-quotes for Alpha entry. Added the safety-catch of adding an END to
33
- programs that does not have and END as the last line.'
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.'
34
33
  email: g@isene.com
35
34
  executables:
36
35
  - xrpn
@@ -261,6 +260,7 @@ files:
261
260
  - xcmd/sreg
262
261
  - xcmd/sregq
263
262
  - xcmd/stdivide
263
+ - xcmd/stdout
264
264
  - xcmd/stmultiply
265
265
  - xcmd/sto
266
266
  - xcmd/stoflag