bel_parser 1.0.0.alpha.54 → 1.0.0.alpha.55
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gemspec +1 -1
- data/VERSION +1 -1
- data/bin/{bel_debug_ast → bel2_debug_ast} +4 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 981319422806855aa5dac3236f61c90a6ebb3dae
|
4
|
+
data.tar.gz: 359bae084495788f62f17cc46c6fb0072a1e4458
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06b53305167223b4730976ba4a2222df20407d0a7e4d332acdb9838473ef5705a18f242c75c315d536ae0b602db7b5c3884a7c6481582532133d6c91c1ef85fb
|
7
|
+
data.tar.gz: b7cc488e948bac38049f0f42807ba8ffb7b9a35f66139829720666625775de792aa9226c56a7505290eff1cb09af8005c0dde09c6d933ac2ebc94178ac397e3e
|
data/.gemspec
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.0.alpha.
|
1
|
+
1.0.0.alpha.55
|
@@ -8,12 +8,12 @@ require 'bel_parser'
|
|
8
8
|
options = {}
|
9
9
|
OptionParser.new do |opts|
|
10
10
|
opts.banner = <<-USAGE.gsub(/^ {4}/, '')
|
11
|
-
Debug the AST.
|
11
|
+
Debug the AST of BEL Script.
|
12
12
|
|
13
|
-
Read from a BEL file.
|
13
|
+
Read from a BEL Script file.
|
14
14
|
usage: #$PROGRAM_NAME --file [FILE]
|
15
15
|
|
16
|
-
Read from standard input.
|
16
|
+
Read BEL Script from standard input.
|
17
17
|
usage: #$PROGRAM_NAME
|
18
18
|
USAGE
|
19
19
|
|
@@ -69,8 +69,8 @@ BELParser::ASTGenerator.new(io).each do |result|
|
|
69
69
|
line_number, line, asts = result
|
70
70
|
puts line
|
71
71
|
asts.each do |ast|
|
72
|
-
next if options[:complete] && ast.incomplete?
|
73
72
|
if ast
|
73
|
+
next if options[:complete] && ast.incomplete?
|
74
74
|
puts ast.to_sexp(1)
|
75
75
|
else
|
76
76
|
puts ' (null)'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bel_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.alpha.
|
4
|
+
version: 1.0.0.alpha.55
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anthony Bargnesi
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-05-
|
12
|
+
date: 2016-05-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sparql-client
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
description: Implements language versions 1.0 and 2.0.
|
29
29
|
email: abargnesi@selventa.com
|
30
30
|
executables:
|
31
|
-
-
|
31
|
+
- bel2_debug_ast
|
32
32
|
- bel2_validator
|
33
33
|
- bel_script_reader
|
34
34
|
extensions: []
|
@@ -39,8 +39,8 @@ files:
|
|
39
39
|
- LICENSE
|
40
40
|
- README.md
|
41
41
|
- VERSION
|
42
|
+
- bin/bel2_debug_ast
|
42
43
|
- bin/bel2_validator
|
43
|
-
- bin/bel_debug_ast
|
44
44
|
- bin/bel_script_reader
|
45
45
|
- lib/bel/translator/plugins/bel_script.rb
|
46
46
|
- lib/bel/translator/plugins/bel_script/bel_citation_serialization.rb
|