ascode 0.2.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +33 -1
  3. data/lib/ascode.rb +0 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee65159e184599f488bf3465c010bbcefeb1112cf6e3424a0679b391afe267cd
4
- data.tar.gz: 8f339c4334a31d099617680a15c2892d951b113f77b947e8eee3be57d0144960
3
+ metadata.gz: c37206388b99453269bd2dda688fd0bf35d7594d377b947f02c2b599346e29ae
4
+ data.tar.gz: 022a9a0e56b67752dbf34f55b49e72cfbceefc9fa1e819353da9b94a4279503a
5
5
  SHA512:
6
- metadata.gz: 07736e47d143f77e4d2d0bc23810d54d71a1bb6cfaa5cb1b71f344c42e54200fd0c7abb1a4544052d6aa802c93479570ebfa61925ec0bbb3e1f6c2ff94818082
7
- data.tar.gz: ece6c8d48ecc8c422d9bce25a8d591b5b0ad5ab3ff1aef3660c754b2e33ced609a71b4ab1619c64f8520c72c87232a1453dc2b74e360bbd7e1a6d161d37c3d3a
6
+ metadata.gz: 178f05b1a2346522cac93f3776461538bf86f2807203fc80fc33f270b8a64c45ed6f66a7fd86d4ea4c55370f76865279514e1fde5a42f7a0a89187526819663b
7
+ data.tar.gz: f0dffbeac596f27cfdc5a7c821db781142478fe341a6b346980a89699f14b8a45e96d2cd1fa69e63acee480f170467829ffc8c75a7b9bbc250a0c74093b92137
data/README.md CHANGED
@@ -3,4 +3,36 @@
3
3
 
4
4
  > Esoteric golfing language
5
5
 
6
- > In active development, so behavior may be changed without prior notice.
6
+ > In active development, so behavior may be changed without prior notice.
7
+
8
+ - [Getting Started](#getting-started)
9
+ - [Features](#features)
10
+
11
+ ### Getting Started
12
+
13
+ ###### Install
14
+
15
+ ```bash
16
+ gem install ascode
17
+ ```
18
+
19
+ ###### Run
20
+
21
+ Function documentation is available in [`lib/ascode/functions.md
22
+ `](https://github.com/sudoio/ascode/blob/master/lib/ascode/functions.md).
23
+
24
+ At this moment, the only way to play with `ascode` is `irb`.
25
+
26
+ ```bash
27
+ $ irb
28
+ irb(main):001:0> require 'ascode'
29
+ => true
30
+ irb(main):002:0> Ascode.run('5*±')
31
+ 123
32
+ -615
33
+ ```
34
+
35
+ ### Features
36
+ - Implicit input/output
37
+ - If you did not output anything, `>` (`output` function) will be called at the end of the program.
38
+ - During `pop`, if the value is not in the stack, it will be grabbed via `<` (`input` function).
data/lib/ascode.rb CHANGED
@@ -11,5 +11,3 @@ module Ascode
11
11
  end
12
12
  end
13
13
 
14
- # Test
15
- Ascode.run('*±')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ascode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artem Varaksa