jpt 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/jpt.gemspec +1 -1
- data/lib/jpt.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cab20722404e3bcdbd98ef81536008cb4ea9bb6787c863fb0c47226efb9648f
|
4
|
+
data.tar.gz: 4c0945333dba2f1a076dfd564a883bf6dd89fb1aceea6f3507269516516fd41b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 041252f53901e46c0bc1ab299e1d086fb84340331b2d6e7810a3e9d2cce444e52cc7debf4a29ad08639c224dea8449fc212f9430d2c5062f6a2b8efd65d2ed38
|
7
|
+
data.tar.gz: f7b823647ac4685aecc95d91d39753c31958a90119766d79bc19d7f33140037992ba42eb396b46df716138c353734eb1554660a7e0c6e02def8a56a970c58273
|
data/jpt.gemspec
CHANGED
data/lib/jpt.rb
CHANGED
@@ -28,6 +28,14 @@ module JPTType
|
|
28
28
|
:value
|
29
29
|
in ["@", *] | ["$", *]
|
30
30
|
:nodes
|
31
|
+
in ["not", ast1]
|
32
|
+
declared_as(ast1, :logical, " in #{ast}")
|
33
|
+
:logical
|
34
|
+
in ["and" | "or", *ast1]
|
35
|
+
ast1.each do |astx|
|
36
|
+
declared_as(astx, :logical, " in #{ast}")
|
37
|
+
end
|
38
|
+
:logical
|
31
39
|
in ["func", funcname, *funcargs]
|
32
40
|
ret, *parms = FUNCTABLE[funcname]
|
33
41
|
if parms.length != funcargs.length
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jpt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carsten Bormann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|