bato 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +42 -0
- data/bato.gemspec +4 -4
- data/lib/bato/bersiyon.rb +1 -1
- data/lib/bato/ruby_parser_patches.rb +123 -136
- metadata +23 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc177983146b108a8bb719b9bdd88dcb06b97515f4647b36ba921739f567e279
|
4
|
+
data.tar.gz: fc85bd2899254488ec7ed1b68e9755e879e4a94e3c9d640af7d46b6c90eaa418
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b25e110bf8244970b623537978911593f14dfe18dc966f59ba109c88db8a1d2d76720b0218e757aafcd5051541a5636d693527dc58f2d21c29aa23be4a904d9b
|
7
|
+
data.tar.gz: 59d1a259e5b73a99c87244667ecb1bb57fd3781e1b792aa11b3a67bd75e56ca7201adb6600d19c91c732bba0b9ebde1683c5e36041f70417bb6df78dc464c1a4
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
bato (0.0.13)
|
5
|
+
ruby2ruby (~> 2.4.4)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
diff-lcs (1.4.4)
|
11
|
+
rake (13.0.6)
|
12
|
+
rspec (3.10.0)
|
13
|
+
rspec-core (~> 3.10.0)
|
14
|
+
rspec-expectations (~> 3.10.0)
|
15
|
+
rspec-mocks (~> 3.10.0)
|
16
|
+
rspec-core (3.10.1)
|
17
|
+
rspec-support (~> 3.10.0)
|
18
|
+
rspec-expectations (3.10.1)
|
19
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
20
|
+
rspec-support (~> 3.10.0)
|
21
|
+
rspec-mocks (3.10.2)
|
22
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
23
|
+
rspec-support (~> 3.10.0)
|
24
|
+
rspec-support (3.10.2)
|
25
|
+
ruby2ruby (2.4.4)
|
26
|
+
ruby_parser (~> 3.1)
|
27
|
+
sexp_processor (~> 4.6)
|
28
|
+
ruby_parser (3.17.0)
|
29
|
+
sexp_processor (~> 4.15, >= 4.15.1)
|
30
|
+
sexp_processor (4.15.3)
|
31
|
+
|
32
|
+
PLATFORMS
|
33
|
+
x86_64-darwin-20
|
34
|
+
|
35
|
+
DEPENDENCIES
|
36
|
+
bato!
|
37
|
+
bundler (~> 2.2.19)
|
38
|
+
rake (~> 13.0.6)
|
39
|
+
rspec (~> 3.10.0)
|
40
|
+
|
41
|
+
BUNDLED WITH
|
42
|
+
2.2.19
|
data/bato.gemspec
CHANGED
@@ -19,9 +19,9 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
22
|
-
spec.add_dependency 'ruby2ruby'
|
22
|
+
spec.add_dependency 'ruby2ruby', '~> 2.4.4'
|
23
23
|
|
24
|
-
spec.add_development_dependency 'bundler'
|
25
|
-
spec.add_development_dependency 'rake'
|
26
|
-
spec.add_development_dependency 'rspec'
|
24
|
+
spec.add_development_dependency 'bundler', '~> 2.2.19'
|
25
|
+
spec.add_development_dependency 'rake', '~> 13.0.6'
|
26
|
+
spec.add_development_dependency 'rspec', '~> 3.10.0'
|
27
27
|
end
|
data/lib/bato/bersiyon.rb
CHANGED
@@ -3,138 +3,138 @@
|
|
3
3
|
module RubyParserStuff
|
4
4
|
class Keyword
|
5
5
|
pang_kapahayagang_mga_salita = [
|
6
|
-
['katapusan', %i[kEND kEND],
|
7
|
-
['dulo', %i[kEND kEND],
|
8
|
-
['wakas', %i[kEND kEND],
|
9
|
-
['ang', %i[kDEF kDEF],
|
10
|
-
['panuntunang', %i[kDEF kDEF],
|
11
|
-
['panuntunan', %i[kDEF kDEF],
|
12
|
-
['iligtas', %i[kRESCUE kRESCUE_MOD],
|
13
|
-
['agapan', %i[kRESCUE kRESCUE_MOD],
|
14
|
-
['bigyang_daan', %i[kYIELD kYIELD],
|
15
|
-
['magbigay_daan', %i[kYIELD kYIELD],
|
16
|
-
['sariling', %i[kSELF kSELF],
|
17
|
-
['sarili', %i[kSELF kSELF],
|
18
|
-
['mali', %i[kFALSE kFALSE],
|
19
|
-
['subukang_muli', %i[kRETRY kRETRY],
|
20
|
-
['ibalik', %i[kRETURN kRETURN],
|
21
|
-
['ibalik_ang', %i[kRETURN kRETURN],
|
22
|
-
['magbalik', %i[kRETURN kRETURN],
|
23
|
-
['magbalik_nang', %i[kRETURN kRETURN],
|
24
|
-
['isauli', %i[kRETURN kRETURN],
|
25
|
-
['isauli_ang', %i[kRETURN kRETURN],
|
26
|
-
['ibigay', %i[kRETURN kRETURN],
|
27
|
-
['ibigay_ang', %i[kRETURN kRETURN],
|
28
|
-
['magbigay', %i[kRETURN kRETURN],
|
29
|
-
['magbigay_nang', %i[kRETURN kRETURN],
|
30
|
-
['tama', %i[kTRUE kTRUE],
|
31
|
-
['totoo', %i[kTRUE kTRUE],
|
32
|
-
['tunay', %i[kTRUE kTRUE],
|
33
|
-
['katotohanan', %i[kTRUE kTRUE],
|
34
|
-
['nakatukoy?', %i[kDEFINED kDEFINED],
|
35
|
-
['nakasaad?', %i[kDEFINED kDEFINED],
|
36
|
-
['tanggalin', %i[kUNDEF kUNDEF],
|
37
|
-
['magtanggal', %i[kUNDEF kUNDEF],
|
38
|
-
['ihinto', %i[kBREAK kBREAK],
|
39
|
-
['hinto', %i[kBREAK kBREAK],
|
40
|
-
['wala', %i[kNIL kNIL],
|
41
|
-
['sumunod', %i[kNEXT kNEXT],
|
42
|
-
['kasunod', %i[kNEXT kNEXT],
|
43
|
-
['ulitin', %i[kREDO kREDO],
|
44
|
-
['at_ulitin', %i[kREDO kREDO],
|
45
|
-
['uliting_muli', %i[kREDO kREDO],
|
46
|
-
['bilang', %i[kCLASS kCLASS],
|
47
|
-
['klase', %i[kCLASS kCLASS],
|
48
|
-
['alyas', %i[kALIAS kALIAS],
|
49
|
-
['iba', %i[kELSE kELSE],
|
50
|
-
['kung_iba', %i[kELSE kELSE],
|
51
|
-
['kung_hindi_naman', %i[kELSE kELSE],
|
52
|
-
['kapag_hindi', %i[kELSE kELSE],
|
53
|
-
['kapag_hindi_naman', %i[kELSE kELSE],
|
54
|
-
['kung_hindi_pa', %i[kELSE kELSE],
|
55
|
-
['kapag_hindi_pa', %i[kELSE kELSE],
|
56
|
-
['at_kung_hindi', %i[kELSE kELSE],
|
57
|
-
['at_kapag_hindi', %i[kELSE kELSE],
|
58
|
-
['at_kung_hindi_naman', %i[kELSE kELSE],
|
59
|
-
['at_kapag_hindi_naman', %i[kELSE kELSE],
|
60
|
-
['at_kung_hindi_pa', %i[kELSE kELSE],
|
61
|
-
['at_kapag_hindi_pa', %i[kELSE kELSE],
|
62
|
-
['maliban_dito', %i[kELSE kELSE],
|
63
|
-
['maliban_sa_mga_ito', %i[kELSE kELSE],
|
64
|
-
['matiyak', %i[kENSURE kENSURE],
|
65
|
-
['tiyakin', %i[kENSURE kENSURE],
|
66
|
-
['tiyaking', %i[kENSURE kENSURE],
|
67
|
-
['siguraduhing', %i[kENSURE kENSURE],
|
68
|
-
['siguraduhin', %i[kENSURE kENSURE],
|
69
|
-
['panigurado', %i[kENSURE kENSURE],
|
70
|
-
['kung_hindi', %i[kELSE kELSE],
|
71
|
-
['dapat', %i[kTHEN kTHEN],
|
72
|
-
['na_ganito', %i[kDO kDO],
|
73
|
-
['nang_ganito', %i[kDO kDO],
|
74
|
-
['ng_ganito', %i[kDO kDO],
|
75
|
-
['ganito', %i[kDO kDO],
|
76
|
-
['ganito_gawin', %i[kDO kDO],
|
77
|
-
['ganito_ang_gagawin', %i[kDO kDO],
|
78
|
-
['simula', %i[kBEGIN kBEGIN],
|
79
|
-
['simulan', %i[kBEGIN kBEGIN],
|
6
|
+
['katapusan', %i[kEND kEND], EXPR_END],
|
7
|
+
['dulo', %i[kEND kEND], EXPR_END],
|
8
|
+
['wakas', %i[kEND kEND], EXPR_END],
|
9
|
+
['ang', %i[kDEF kDEF], EXPR_FNAME],
|
10
|
+
['panuntunang', %i[kDEF kDEF], EXPR_FNAME],
|
11
|
+
['panuntunan', %i[kDEF kDEF], EXPR_FNAME],
|
12
|
+
['iligtas', %i[kRESCUE kRESCUE_MOD], EXPR_MID],
|
13
|
+
['agapan', %i[kRESCUE kRESCUE_MOD], EXPR_MID],
|
14
|
+
['bigyang_daan', %i[kYIELD kYIELD], EXPR_ARG],
|
15
|
+
['magbigay_daan', %i[kYIELD kYIELD], EXPR_ARG],
|
16
|
+
['sariling', %i[kSELF kSELF], EXPR_END],
|
17
|
+
['sarili', %i[kSELF kSELF], EXPR_END],
|
18
|
+
['mali', %i[kFALSE kFALSE], EXPR_END],
|
19
|
+
['subukang_muli', %i[kRETRY kRETRY], EXPR_END],
|
20
|
+
['ibalik', %i[kRETURN kRETURN], EXPR_MID],
|
21
|
+
['ibalik_ang', %i[kRETURN kRETURN], EXPR_MID],
|
22
|
+
['magbalik', %i[kRETURN kRETURN], EXPR_MID],
|
23
|
+
['magbalik_nang', %i[kRETURN kRETURN], EXPR_MID],
|
24
|
+
['isauli', %i[kRETURN kRETURN], EXPR_MID],
|
25
|
+
['isauli_ang', %i[kRETURN kRETURN], EXPR_MID],
|
26
|
+
['ibigay', %i[kRETURN kRETURN], EXPR_MID],
|
27
|
+
['ibigay_ang', %i[kRETURN kRETURN], EXPR_MID],
|
28
|
+
['magbigay', %i[kRETURN kRETURN], EXPR_MID],
|
29
|
+
['magbigay_nang', %i[kRETURN kRETURN], EXPR_MID],
|
30
|
+
['tama', %i[kTRUE kTRUE], EXPR_END],
|
31
|
+
['totoo', %i[kTRUE kTRUE], EXPR_END],
|
32
|
+
['tunay', %i[kTRUE kTRUE], EXPR_END],
|
33
|
+
['katotohanan', %i[kTRUE kTRUE], EXPR_END],
|
34
|
+
['nakatukoy?', %i[kDEFINED kDEFINED], EXPR_ARG],
|
35
|
+
['nakasaad?', %i[kDEFINED kDEFINED], EXPR_ARG],
|
36
|
+
['tanggalin', %i[kUNDEF kUNDEF], EXPR_FNAME|EXPR_FITEM],
|
37
|
+
['magtanggal', %i[kUNDEF kUNDEF], EXPR_FNAME|EXPR_FITEM],
|
38
|
+
['ihinto', %i[kBREAK kBREAK], EXPR_MID],
|
39
|
+
['hinto', %i[kBREAK kBREAK], EXPR_MID],
|
40
|
+
['wala', %i[kNIL kNIL], EXPR_END],
|
41
|
+
['sumunod', %i[kNEXT kNEXT], EXPR_MID],
|
42
|
+
['kasunod', %i[kNEXT kNEXT], EXPR_MID],
|
43
|
+
['ulitin', %i[kREDO kREDO], EXPR_END],
|
44
|
+
['at_ulitin', %i[kREDO kREDO], EXPR_END],
|
45
|
+
['uliting_muli', %i[kREDO kREDO], EXPR_END],
|
46
|
+
['bilang', %i[kCLASS kCLASS], EXPR_CLASS],
|
47
|
+
['klase', %i[kCLASS kCLASS], EXPR_CLASS],
|
48
|
+
['alyas', %i[kALIAS kALIAS], EXPR_FNAME|EXPR_FITEM],
|
49
|
+
['iba', %i[kELSE kELSE], EXPR_BEG],
|
50
|
+
['kung_iba', %i[kELSE kELSE], EXPR_BEG],
|
51
|
+
['kung_hindi_naman', %i[kELSE kELSE], EXPR_BEG],
|
52
|
+
['kapag_hindi', %i[kELSE kELSE], EXPR_BEG],
|
53
|
+
['kapag_hindi_naman', %i[kELSE kELSE], EXPR_BEG],
|
54
|
+
['kung_hindi_pa', %i[kELSE kELSE], EXPR_BEG],
|
55
|
+
['kapag_hindi_pa', %i[kELSE kELSE], EXPR_BEG],
|
56
|
+
['at_kung_hindi', %i[kELSE kELSE], EXPR_BEG],
|
57
|
+
['at_kapag_hindi', %i[kELSE kELSE], EXPR_BEG],
|
58
|
+
['at_kung_hindi_naman', %i[kELSE kELSE], EXPR_BEG],
|
59
|
+
['at_kapag_hindi_naman', %i[kELSE kELSE], EXPR_BEG],
|
60
|
+
['at_kung_hindi_pa', %i[kELSE kELSE], EXPR_BEG],
|
61
|
+
['at_kapag_hindi_pa', %i[kELSE kELSE], EXPR_BEG],
|
62
|
+
['maliban_dito', %i[kELSE kELSE], EXPR_BEG],
|
63
|
+
['maliban_sa_mga_ito', %i[kELSE kELSE], EXPR_BEG],
|
64
|
+
['matiyak', %i[kENSURE kENSURE], EXPR_BEG],
|
65
|
+
['tiyakin', %i[kENSURE kENSURE], EXPR_BEG],
|
66
|
+
['tiyaking', %i[kENSURE kENSURE], EXPR_BEG],
|
67
|
+
['siguraduhing', %i[kENSURE kENSURE], EXPR_BEG],
|
68
|
+
['siguraduhin', %i[kENSURE kENSURE], EXPR_BEG],
|
69
|
+
['panigurado', %i[kENSURE kENSURE], EXPR_BEG],
|
70
|
+
['kung_hindi', %i[kELSE kELSE], EXPR_BEG],
|
71
|
+
['dapat', %i[kTHEN kTHEN], EXPR_BEG],
|
72
|
+
['na_ganito', %i[kDO kDO], EXPR_BEG],
|
73
|
+
['nang_ganito', %i[kDO kDO], EXPR_BEG],
|
74
|
+
['ng_ganito', %i[kDO kDO], EXPR_BEG],
|
75
|
+
['ganito', %i[kDO kDO], EXPR_BEG],
|
76
|
+
['ganito_gawin', %i[kDO kDO], EXPR_BEG],
|
77
|
+
['ganito_ang_gagawin', %i[kDO kDO], EXPR_BEG],
|
78
|
+
['simula', %i[kBEGIN kBEGIN], EXPR_BEG],
|
79
|
+
['simulan', %i[kBEGIN kBEGIN], EXPR_BEG]
|
80
80
|
]
|
81
81
|
|
82
82
|
pang_ekspresyon_na_mga_salita = [
|
83
|
-
['at', %i[kAND kAND],
|
84
|
-
['at_ang', %i[kAND kAND],
|
85
|
-
['kalagayan', %i[kCASE kCASE],
|
86
|
-
['kaukulan', %i[kCASE kCASE],
|
87
|
-
['sakaling', %i[kCASE kCASE],
|
88
|
-
['sakali', %i[kCASE kCASE],
|
89
|
-
['kung_sakaling', %i[kCASE kCASE],
|
90
|
-
['sakali_na', %i[kCASE kCASE],
|
91
|
-
['kung_sakali_na', %i[kCASE kCASE],
|
92
|
-
['ngunit_kapag', %i[kELSIF kELSIF],
|
93
|
-
['kung_kapag', %i[kELSIF kELSIF],
|
94
|
-
['ngunit_kapag_ang', %i[kELSIF kELSIF],
|
95
|
-
['kung_kapag_ang', %i[kELSIF kELSIF],
|
96
|
-
['para_sa', %i[kFOR kFOR],
|
97
|
-
['para_ang', %i[kFOR kFOR],
|
98
|
-
['kapag', %i[kIF kIF_MOD],
|
99
|
-
['kapag_ang', %i[kIF kIF_MOD],
|
100
|
-
['kapag_na_ang', %i[kIF kIF_MOD],
|
101
|
-
['kung', %i[kIF kIF_MOD],
|
102
|
-
['kung_ang', %i[kIF kIF_MOD],
|
103
|
-
['sa', %i[kIN kIN],
|
104
|
-
['sa_loob_ng', %i[kIN kIN],
|
105
|
-
['nasa', %i[kIN kIN],
|
106
|
-
['na_nasa', %i[kIN kIN],
|
107
|
-
['modyul', %i[kMODULE kMODULE],
|
108
|
-
['grupo', %i[kMODULE kMODULE],
|
109
|
-
['o', %i[kOR kOR],
|
110
|
-
['o_ang', %i[kOR kOR],
|
111
|
-
['malibang', %i[kUNLESS kUNLESS_MOD],
|
112
|
-
['maliban_na', %i[kUNLESS kUNLESS_MOD],
|
113
|
-
['maliban_ang', %i[kUNLESS kUNLESS_MOD],
|
114
|
-
['hanggang', %i[kUNTIL kUNTIL_MOD],
|
115
|
-
['hanggang_ang', %i[kUNTIL kUNTIL_MOD],
|
116
|
-
['mapa_hanggang', %i[kUNTIL kUNTIL_MOD],
|
117
|
-
['pagka', %i[kWHEN kWHEN],
|
118
|
-
['pagka_ang', %i[kWHEN kWHEN],
|
119
|
-
['ay', %i[kWHEN kWHEN],
|
120
|
-
['habang', %i[kWHILE kWHILE_MOD],
|
121
|
-
['habang_ang', %i[kWHILE kWHILE_MOD],
|
83
|
+
['at', %i[kAND kAND], EXPR_BEG],
|
84
|
+
['at_ang', %i[kAND kAND], EXPR_BEG],
|
85
|
+
['kalagayan', %i[kCASE kCASE], EXPR_BEG],
|
86
|
+
['kaukulan', %i[kCASE kCASE], EXPR_BEG],
|
87
|
+
['sakaling', %i[kCASE kCASE], EXPR_BEG],
|
88
|
+
['sakali', %i[kCASE kCASE], EXPR_BEG],
|
89
|
+
['kung_sakaling', %i[kCASE kCASE], EXPR_BEG],
|
90
|
+
['sakali_na', %i[kCASE kCASE], EXPR_BEG],
|
91
|
+
['kung_sakali_na', %i[kCASE kCASE], EXPR_BEG],
|
92
|
+
['ngunit_kapag', %i[kELSIF kELSIF], EXPR_BEG],
|
93
|
+
['kung_kapag', %i[kELSIF kELSIF], EXPR_BEG],
|
94
|
+
['ngunit_kapag_ang', %i[kELSIF kELSIF], EXPR_BEG],
|
95
|
+
['kung_kapag_ang', %i[kELSIF kELSIF], EXPR_BEG],
|
96
|
+
['para_sa', %i[kFOR kFOR], EXPR_BEG],
|
97
|
+
['para_ang', %i[kFOR kFOR], EXPR_BEG],
|
98
|
+
['kapag', %i[kIF kIF_MOD], EXPR_BEG],
|
99
|
+
['kapag_ang', %i[kIF kIF_MOD], EXPR_BEG],
|
100
|
+
['kapag_na_ang', %i[kIF kIF_MOD], EXPR_BEG],
|
101
|
+
['kung', %i[kIF kIF_MOD], EXPR_BEG],
|
102
|
+
['kung_ang', %i[kIF kIF_MOD], EXPR_BEG],
|
103
|
+
['sa', %i[kIN kIN], EXPR_BEG],
|
104
|
+
['sa_loob_ng', %i[kIN kIN], EXPR_BEG],
|
105
|
+
['nasa', %i[kIN kIN], EXPR_BEG],
|
106
|
+
['na_nasa', %i[kIN kIN], EXPR_BEG],
|
107
|
+
['modyul', %i[kMODULE kMODULE], EXPR_BEG],
|
108
|
+
['grupo', %i[kMODULE kMODULE], EXPR_BEG],
|
109
|
+
['o', %i[kOR kOR], EXPR_BEG],
|
110
|
+
['o_ang', %i[kOR kOR], EXPR_BEG],
|
111
|
+
['malibang', %i[kUNLESS kUNLESS_MOD], EXPR_BEG],
|
112
|
+
['maliban_na', %i[kUNLESS kUNLESS_MOD], EXPR_BEG],
|
113
|
+
['maliban_ang', %i[kUNLESS kUNLESS_MOD], EXPR_BEG],
|
114
|
+
['hanggang', %i[kUNTIL kUNTIL_MOD], EXPR_BEG],
|
115
|
+
['hanggang_ang', %i[kUNTIL kUNTIL_MOD], EXPR_BEG],
|
116
|
+
['mapa_hanggang', %i[kUNTIL kUNTIL_MOD], EXPR_BEG],
|
117
|
+
['pagka', %i[kWHEN kWHEN], EXPR_BEG],
|
118
|
+
['pagka_ang', %i[kWHEN kWHEN], EXPR_BEG],
|
119
|
+
['ay', %i[kWHEN kWHEN], EXPR_BEG],
|
120
|
+
['habang', %i[kWHILE kWHILE_MOD], EXPR_BEG],
|
121
|
+
['habang_ang', %i[kWHILE kWHILE_MOD], EXPR_BEG]
|
122
122
|
]
|
123
123
|
|
124
124
|
pang_internal_na_mekanismo_na_mga_salita = [
|
125
|
-
['END', %i[klEND klEND],
|
126
|
-
['BEGIN', %i[klBEGIN klBEGIN],
|
127
|
-
['super', %i[kSUPER kSUPER],
|
128
|
-
['__FILE__', %i[k__FILE__ k__FILE__],
|
129
|
-
['__LINE__', %i[k__LINE__ k__LINE__],
|
130
|
-
['__ENCODING__', %i[k__ENCODING__ k__ENCODING__],
|
125
|
+
['END', %i[klEND klEND], EXPR_END],
|
126
|
+
['BEGIN', %i[klBEGIN klBEGIN], EXPR_END],
|
127
|
+
['super', %i[kSUPER kSUPER], EXPR_ARG],
|
128
|
+
['__FILE__', %i[k__FILE__ k__FILE__], EXPR_END],
|
129
|
+
['__LINE__', %i[k__LINE__ k__LINE__], EXPR_END],
|
130
|
+
['__ENCODING__', %i[k__ENCODING__ k__ENCODING__], EXPR_END]
|
131
131
|
]
|
132
132
|
|
133
133
|
pang_argumentong_mga_salita = [
|
134
|
-
['hindi', %i[kNOT kNOT],
|
134
|
+
['hindi', %i[kNOT kNOT], EXPR_BEG]
|
135
135
|
]
|
136
136
|
|
137
|
-
|
137
|
+
orihinal_na_pagkakasabi = $VERBOSE
|
138
138
|
$VERBOSE = nil
|
139
139
|
|
140
140
|
mga_salita = [
|
@@ -144,21 +144,8 @@ module RubyParserStuff
|
|
144
144
|
pang_argumentong_mga_salita
|
145
145
|
].flatten(1).map { |args| KWtable.new(*args) }
|
146
146
|
|
147
|
-
|
148
|
-
WORDLIST19 = Hash[*mga_salita.map { |o| [o.name, o] }.flatten]
|
147
|
+
WORDLIST = Hash[*mga_salita.map { |o| [o.name, o] }.flatten]
|
149
148
|
|
150
|
-
$VERBOSE =
|
151
|
-
|
152
|
-
WORDLIST18.delete '__ENCODING__'
|
153
|
-
|
154
|
-
pang_ekspresyon_na_mga_salita.each do |k|
|
155
|
-
WORDLIST19[k[0]] = WORDLIST19[k[0]].dup
|
156
|
-
WORDLIST19[k[0]].state = :expr_value
|
157
|
-
end
|
158
|
-
|
159
|
-
pang_argumentong_mga_salita.each do |k|
|
160
|
-
WORDLIST19[k[0]] = WORDLIST19[k[0]].dup
|
161
|
-
WORDLIST19[k[0]].state = :expr_arg
|
162
|
-
end
|
149
|
+
$VERBOSE = orihinal_na_pagkakasabi
|
163
150
|
end
|
164
151
|
end
|
metadata
CHANGED
@@ -1,71 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bato
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Bryan Juliano
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby2ruby
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.4.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 2.4.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 2.2.19
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 2.2.19
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 13.0.6
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 13.0.6
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 3.10.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 3.10.0
|
69
69
|
description: Bato Programming Language
|
70
70
|
email:
|
71
71
|
- joelbryan.juliano@gmail.com
|
@@ -78,6 +78,7 @@ files:
|
|
78
78
|
- ".rspec"
|
79
79
|
- ".travis.yml"
|
80
80
|
- Gemfile
|
81
|
+
- Gemfile.lock
|
81
82
|
- LICENSE.txt
|
82
83
|
- README.md
|
83
84
|
- Rakefile
|
@@ -128,7 +129,7 @@ homepage: https://github.com/jjuliano/bato
|
|
128
129
|
licenses:
|
129
130
|
- MIT
|
130
131
|
metadata: {}
|
131
|
-
post_install_message:
|
132
|
+
post_install_message:
|
132
133
|
rdoc_options: []
|
133
134
|
require_paths:
|
134
135
|
- lib
|
@@ -143,9 +144,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
144
|
- !ruby/object:Gem::Version
|
144
145
|
version: '0'
|
145
146
|
requirements: []
|
146
|
-
|
147
|
-
|
148
|
-
signing_key:
|
147
|
+
rubygems_version: 3.2.15
|
148
|
+
signing_key:
|
149
149
|
specification_version: 4
|
150
150
|
summary: Ang Bato ay isang programming language sa wikang Filipino
|
151
151
|
test_files:
|