mucgly 0.0.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.
- data/CHANGELOG.rdoc +3 -0
- data/LICENSE +20 -0
- data/README.rdoc +292 -0
- data/Rakefile +29 -0
- data/bin/mucgly +220 -0
- data/doc/EasyFile/InOut.html +2097 -0
- data/doc/EasyFile/Read.html +1334 -0
- data/doc/EasyFile/ReadStack.html +461 -0
- data/doc/EasyFile/Stacked.html +411 -0
- data/doc/EasyFile/String.html +570 -0
- data/doc/EasyFile/Write.html +1084 -0
- data/doc/EasyFile/WriteStack.html +305 -0
- data/doc/EasyFile.html +155 -0
- data/doc/Mucgly/Env.html +1675 -0
- data/doc/Mucgly/MucglyFile/ParseState.html +1662 -0
- data/doc/Mucgly/MucglyFile/Token.html +529 -0
- data/doc/Mucgly/MucglyFile.html +545 -0
- data/doc/Mucgly/Separators.html +521 -0
- data/doc/Mucgly.html +244 -0
- data/doc/_index.html +261 -0
- data/doc/class_list.html +53 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +338 -0
- data/doc/file.CHANGELOG.html +79 -0
- data/doc/file.README.html +390 -0
- data/doc/file_list.html +58 -0
- data/doc/frames.html +28 -0
- data/doc/index.html +390 -0
- data/doc/js/app.js +214 -0
- data/doc/js/full_list.js +178 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +742 -0
- data/doc/top-level-namespace.html +112 -0
- data/lib/easyfile.rb +720 -0
- data/lib/mucgly.rb +627 -0
- data/test/test_basic.rx.txt +19 -0
- data/test/test_include.rb +6 -0
- data/test/test_include.txt +3 -0
- data/test/test_mucgly.rb +32 -0
- data/test/test_multi.rx.txt +4 -0
- data/test/test_specials_cli.rx.txt +11 -0
- data/test/test_specials_cmd.rx.txt +53 -0
- metadata +98 -0
@@ -0,0 +1,53 @@
|
|
1
|
+
-<:hook \\>-\
|
2
|
+
Escaped chars (escape, hook hook): "\\", "\\" "\\"
|
3
|
+
|
4
|
+
1: Changing hook from "\\" to "@"...
|
5
|
+
\:hook @\ \
|
6
|
+
Escaped chars (escape, hook hook): "\\", "\@" "\@"
|
7
|
+
|
8
|
+
2: Changing hook from "\@" to "#"...
|
9
|
+
@:hook #@\
|
10
|
+
Escaped chars (escape, hook hook): "\\", "\#" "\#"
|
11
|
+
|
12
|
+
3: Changing hook from "\#" to "\\"...
|
13
|
+
#:hook \\#\
|
14
|
+
Escaped chars (escape, hook hook): "\\", "\\" "\\"
|
15
|
+
|
16
|
+
4: Changing escape from "\\" to "#"...
|
17
|
+
\:escape #\ #
|
18
|
+
Escaped chars (escape, hook hook): "##", "#\" "#\"
|
19
|
+
|
20
|
+
5: Changing escape from "##" to "#\"...
|
21
|
+
\:escape #\\\
|
22
|
+
Escaped chars (escape, hook hook): "\\", "\\" "\\"
|
23
|
+
|
24
|
+
6: Changing hooks from "\\" and "\\" to "{" and "}"...
|
25
|
+
\:hook { }\ \
|
26
|
+
Escaped chars (escape, hook hook): "\\", "\{" "\}"
|
27
|
+
|
28
|
+
7: Changing hooks from "\{" and "\}" to "#\{" and "\}#"...
|
29
|
+
{:hook #{ \}#}\
|
30
|
+
Escaped chars (escape, hook hook): "\\", "\#{" "\}#"
|
31
|
+
|
32
|
+
8: Changing hookbeg from "\#{" to "{"...
|
33
|
+
#{:hookbeg {}#\
|
34
|
+
Escaped chars (escape, hook hook): "\\", "\{" "\}#"
|
35
|
+
|
36
|
+
9: Changing hookend from "\}#" to "}"...
|
37
|
+
{:hookend }}#\
|
38
|
+
Escaped chars (escape, hook hook): "\\", "\{" "\}"
|
39
|
+
|
40
|
+
11: Next line is comment and will disappear from output.
|
41
|
+
{:comment This is a comment and will not appear in the output}\
|
42
|
+
|
43
|
+
12: Output is diverted to another output file.
|
44
|
+
{_pushOutput( _ofilename.gsub( /cmd/, "cmd2" ) )}\
|
45
|
+
13: This is the only line to this file.
|
46
|
+
{_closeOutput}\
|
47
|
+
|
48
|
+
14: Skipped item 13: and now back in original file.
|
49
|
+
|
50
|
+
15: Exiting at this point so following lines are not output.
|
51
|
+
{:exit }\
|
52
|
+
|
53
|
+
16: Not output to any file.
|
metadata
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: mucgly
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Tero Isannainen
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2014-01-14 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description: ''
|
15
|
+
email: tero.isannainen@gmail.com
|
16
|
+
executables:
|
17
|
+
- mucgly
|
18
|
+
extensions: []
|
19
|
+
extra_rdoc_files:
|
20
|
+
- README.rdoc
|
21
|
+
files:
|
22
|
+
- README.rdoc
|
23
|
+
- CHANGELOG.rdoc
|
24
|
+
- LICENSE
|
25
|
+
- Rakefile
|
26
|
+
- lib/mucgly.rb
|
27
|
+
- lib/easyfile.rb
|
28
|
+
- doc/top-level-namespace.html
|
29
|
+
- doc/js/full_list.js
|
30
|
+
- doc/js/app.js
|
31
|
+
- doc/js/jquery.js
|
32
|
+
- doc/index.html
|
33
|
+
- doc/css/common.css
|
34
|
+
- doc/css/full_list.css
|
35
|
+
- doc/css/style.css
|
36
|
+
- doc/EasyFile.html
|
37
|
+
- doc/file.README.html
|
38
|
+
- doc/method_list.html
|
39
|
+
- doc/file_list.html
|
40
|
+
- doc/Mucgly/MucglyFile.html
|
41
|
+
- doc/Mucgly/Env.html
|
42
|
+
- doc/Mucgly/MucglyFile/Token.html
|
43
|
+
- doc/Mucgly/MucglyFile/ParseState.html
|
44
|
+
- doc/Mucgly/Separators.html
|
45
|
+
- doc/Mucgly.html
|
46
|
+
- doc/EasyFile/String.html
|
47
|
+
- doc/EasyFile/Read.html
|
48
|
+
- doc/EasyFile/ReadStack.html
|
49
|
+
- doc/EasyFile/InOut.html
|
50
|
+
- doc/EasyFile/Write.html
|
51
|
+
- doc/EasyFile/WriteStack.html
|
52
|
+
- doc/EasyFile/Stacked.html
|
53
|
+
- doc/class_list.html
|
54
|
+
- doc/_index.html
|
55
|
+
- doc/file.CHANGELOG.html
|
56
|
+
- doc/frames.html
|
57
|
+
- test/test_specials_cmd.rx.txt
|
58
|
+
- test/test_include.rb
|
59
|
+
- test/test_include.txt
|
60
|
+
- test/test_basic.rx.txt
|
61
|
+
- test/test_multi.rx.txt
|
62
|
+
- test/test_specials_cli.rx.txt
|
63
|
+
- test/test_mucgly.rb
|
64
|
+
- bin/mucgly
|
65
|
+
homepage:
|
66
|
+
licenses:
|
67
|
+
- Ruby
|
68
|
+
post_install_message: Check README...
|
69
|
+
rdoc_options: []
|
70
|
+
require_paths:
|
71
|
+
- lib
|
72
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 1.9.3
|
78
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
79
|
+
none: false
|
80
|
+
requirements:
|
81
|
+
- - ! '>='
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
requirements: []
|
85
|
+
rubyforge_project:
|
86
|
+
rubygems_version: 1.8.23
|
87
|
+
signing_key:
|
88
|
+
specification_version: 3
|
89
|
+
summary: Mucgly processes inline macros.
|
90
|
+
test_files:
|
91
|
+
- test/test_specials_cmd.rx.txt
|
92
|
+
- test/test_include.rb
|
93
|
+
- test/test_include.txt
|
94
|
+
- test/test_basic.rx.txt
|
95
|
+
- test/test_multi.rx.txt
|
96
|
+
- test/test_specials_cli.rx.txt
|
97
|
+
- test/test_mucgly.rb
|
98
|
+
has_rdoc:
|