github-markup 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.2.2 (2010-02-09)
2
+
3
+ * pod fixes from Ricardo Signes
4
+
1
5
  ## 0.2.1 (2010-01-25)
2
6
 
3
7
  * ReST fixes from Michael Jones
data/README.md CHANGED
@@ -73,6 +73,17 @@ Or, more realistically:
73
73
  GitHub::Markup.render(file, File.read(file))
74
74
 
75
75
 
76
+ Testing
77
+ -------
78
+
79
+ To run the tests:
80
+
81
+ $ rake
82
+
83
+ To add tests see the `Commands` section earlier in this
84
+ README.
85
+
86
+
76
87
  Contributing
77
88
  ------------
78
89
 
@@ -1,5 +1,5 @@
1
1
  module GitHub
2
2
  module Markup
3
- Version = '0.2.1'
3
+ Version = '0.2.2'
4
4
  end
5
5
  end
@@ -23,11 +23,8 @@ command('asciidoc -s --backend=xhtml11 -o - -', /asciidoc/)
23
23
  #
24
24
  # Any block passed to `command` will be handed the command's STDOUT for
25
25
  # post processing.
26
- command("/usr/bin/env pod2html", /pod/) do |rendered|
27
- require 'fileutils'
28
- if rendered =~ /<body.+?>\s*(.+)\s*<\/body>/mi
29
- FileUtils.rm("pod2htmd.tmp") if File.exists?('pod2htmd.tmp') rescue nil
30
- FileUtils.rm("pod2htmi.tmp") if File.exists?('pod2htmi.tmp') rescue nil
31
- $1.sub('<!-- INDEX BEGIN -->', '').sub('<!-- INDEX END -->', '')
26
+ command("/usr/bin/env perl -MPod::Simple::HTML -e Pod::Simple::HTML::go", /pod/) do |rendered|
27
+ if rendered =~ /<!-- start doc -->\s*(.+)\s*<!-- end doc -->/mi
28
+ $1
32
29
  end
33
30
  end
@@ -1,118 +1,108 @@
1
+ <a name='___top' class='dummyTopAnchor' ></a>
1
2
 
2
- <div name="index">
3
- <p><a name="__index__"></a></p>
3
+ <h1><a class='u' href='#___top' title='click to go to top of document'
4
+ name="Matrixy"
5
+ >Matrixy</a></h1>
4
6
 
5
- <ul>
7
+ <h2><a class='u' href='#___top' title='click to go to top of document'
8
+ name="INTRODUCTION"
9
+ >INTRODUCTION</a></h2>
6
10
 
7
- <li><a href="#matrixy">Matrixy</a></li>
8
- <ul>
11
+ <p>This is a port of the MATLAB/Octave programming language to Parrot.
12
+ See the ROADMAP file for more information on the status of this project,
13
+ and what else needs to be done.</p>
9
14
 
10
- <li><a href="#introduction">INTRODUCTION</a></li>
11
- <li><a href="#about">ABOUT</a></li>
12
- <li><a href="#implementation">IMPLEMENTATION</a></li>
13
- <li><a href="#dependencies">DEPENDENCIES</a></li>
14
- <ul>
15
+ <h2><a class='u' href='#___top' title='click to go to top of document'
16
+ name="ABOUT"
17
+ >ABOUT</a></h2>
15
18
 
16
- <li><a href="#parrot">Parrot</a></li>
17
- <li><a href="#parrot_linear_algebra">Parrot-Linear-Algebra</a></li>
18
- </ul>
19
+ <p>Primary goals are:</p>
19
20
 
20
- <li><a href="#building">BUILDING</a></li>
21
- <li><a href="#todo">TODO</a></li>
22
- <li><a href="#bugs">BUGS</a></li>
23
- <li><a href="#contact">CONTACT</a></li>
24
- </ul>
21
+ <blockquote>
22
+ <p>=item* Create a working compiler that understands the majority of the MATLAB/Octave programming language.</p>
23
+ </blockquote>
25
24
 
26
- </ul>
25
+ <h2><a class='u' href='#___top' title='click to go to top of document'
26
+ name="IMPLEMENTATION"
27
+ >IMPLEMENTATION</a></h2>
27
28
 
28
- <hr name="index" />
29
- </div>
29
+ <p>This project is broken into three primary components:</p>
30
30
 
31
+ <blockquote>
32
+ <p>=item* The first is the parser,
33
+ located in the <code>src/parser/</code> directory.
34
+ The parser proper is composed of three source files,
35
+ <em>grammar.pg</em> which is a Perl6Grammar file,
36
+ and <em>actions.pm</em> which is the associated actions file written in NQP,
37
+ and <em>grammar-oper.pm</em> which is the operator precidence parser.
38
+ In addition,
39
+ several helper functions used by the parser are located in <code>src/internals</code>.</p>
40
+
41
+ <p>=item* The second component is the library of builtin functions in the <code>src/builtins/</code> directory.
42
+ These functions are,
43
+ currently,
44
+ written primarily in PIR.
45
+ Function names prefixed with an underscore are &#34;private&#34; functions for use with the parser.
46
+ Other functions should have names which are the same as names for regular MATLAB or Octave functions,
47
+ since they will be available to the HLL.
48
+ These are also separated into different namespaces depending on visibility and utility.</p>
49
+
50
+ <p>=item* A number of library functions are written in M,
51
+ or mostly M with some inline PIR code in <code>toolbox/</code>.</p>
52
+ </blockquote>
53
+
54
+ <h2><a class='u' href='#___top' title='click to go to top of document'
55
+ name="DEPENDENCIES"
56
+ >DEPENDENCIES</a></h2>
31
57
 
32
- <p>
33
- </p>
34
- <h1><a name="matrixy">Matrixy</a></h1>
35
- <p>
36
- </p>
37
- <h2><a name="introduction">INTRODUCTION</a></h2>
38
- <p>This is a port of the MATLAB/Octave programming language to Parrot. See the
39
- ROADMAP file for more information on the status of this project, and what else
40
- needs to be done.</p>
41
- <p>
42
- </p>
43
- <h2><a name="about">ABOUT</a></h2>
44
- <p>Primary goals are:</p>
45
- <ul>
46
- <li><strong><a name="create_a_working_compiler_that_understands_the_majority_of_the_matlab_octave_programming_language" class="item">Create a working compiler that understands the majority of the
47
- MATLAB/Octave programming language.</a></strong>
48
-
49
- </ul>
50
- <p>
51
- </p>
52
- <h2><a name="implementation">IMPLEMENTATION</a></h2>
53
- <p>This project is broken into three primary components:</p>
54
- <ul>
55
- <li><strong><a name="the_first_is_the_parser_located_in_the_src_parser_directory_the_parser_proper_is_composed_of_three_source_files_grammar_pg_which_is_a_perl6grammar_file_and_actions_pm_which_is_the_associated_actions_file_written_in_nqp_and_grammar_oper_pm_which_is_the_operator_precidence_parser_in_addition_several_helper_functions_used_by_the_parser_are_located_in_src_internals" class="item">The first is the parser, located in the <code>src/parser/</code> directory. The
56
- parser proper is composed of three source files, <em class="file">grammar.pg</em> which is a
57
- Perl6Grammar file, and <em class="file">actions.pm</em> which is the associated actions file
58
- written in NQP, and <em class="file">grammar-oper.pm</em> which is the operator precidence parser.
59
- In addition, several helper functions used by the parser are located in
60
- <code>src/internals</code>.</a></strong>
61
-
62
- <li><strong><a name="the_second_component_is_the_library_of_builtin_functions_in_the_src_builtins_directory_these_functions_are_currently_written_primarily_in_pir_function_names_prefixed_with_an_underscore_are_private_functions_for_use_with_the_parser_other_functions_should_have_names_which_are_the_same_as_names_for_regular_matlab_or_octave_functions_since_they_will_be_available_to_the_hll_these_are_also_separated_into_different_namespaces_depending_on_visibility_and_utility" class="item">The second component is the library of builtin functions in the
63
- <code>src/builtins/</code> directory. These functions are, currently, written primarily in
64
- PIR. Function names prefixed with an underscore are &quot;private&quot; functions for use
65
- with the parser. Other functions should have names which are the same as names
66
- for regular MATLAB or Octave functions, since they will be available to the
67
- HLL. These are also separated into different namespaces depending on visibility
68
- and utility.</a></strong>
69
-
70
- <li><strong><a name="a_number_of_library_functions_are_written_in_m_or_mostly_m_with_some_inline_pir_code_in_toolbox" class="item">A number of library functions are written in M, or mostly M with some
71
- inline PIR code in <code>toolbox/</code>.</a></strong>
72
-
73
- </ul>
74
- <p>
75
- </p>
76
- <h2><a name="dependencies">DEPENDENCIES</a></h2>
77
58
  <p>Matrixy depends on these dependencies:</p>
78
- <p>
79
- </p>
80
- <h3><a name="parrot">Parrot</a></h3>
81
- <p>To get a proper version of Parrot to build Matrixy, you will need to check out
82
- and build Parrot from source:</p>
83
- <pre>
84
- svn co <a href="http://svn.parrot.org/parrot/trunk">http://svn.parrot.org/parrot/trunk</a> parrot
59
+
60
+ <h3><a class='u' href='#___top' title='click to go to top of document'
61
+ name="Parrot"
62
+ >Parrot</a></h3>
63
+
64
+ <p>To get a proper version of Parrot to build Matrixy,
65
+ you will need to check out and build Parrot from source:</p>
66
+
67
+ <pre> svn co http://svn.parrot.org/parrot/trunk parrot
85
68
  cd parrot
86
69
  perl Configure.pl
87
- make &amp;&amp; make test &amp;&amp; make install-dev</pre>
88
- <p>
89
- </p>
90
- <h3><a name="parrot_linear_algebra">Parrot-Linear-Algebra</a></h3>
91
- <p>The linear algebra package for Parrot is available separately and provides
92
- functionality required by Matrixy. This includes matrix data types and matrix
93
- manipulation libraries</p>
94
- <p>
95
- </p>
96
- <h2><a name="building">BUILDING</a></h2>
97
- <p>Once all dependencies are in place, you can build Matrixy using this sequence of
98
- commands:</p>
99
- <pre>
100
- perl Configure.pl
70
+ make &#38;&#38; make test &#38;&#38; make install-dev</pre>
71
+
72
+ <h3><a class='u' href='#___top' title='click to go to top of document'
73
+ name="Parrot-Linear-Algebra"
74
+ >Parrot-Linear-Algebra</a></h3>
75
+
76
+ <p>The linear algebra package for Parrot is available separately and provides functionality required by Matrixy. This includes matrix data types and matrix manipulation libraries</p>
77
+
78
+ <h2><a class='u' href='#___top' title='click to go to top of document'
79
+ name="BUILDING"
80
+ >BUILDING</a></h2>
81
+
82
+ <p>Once all dependencies are in place, you can build Matrixy using this sequence of commands:</p>
83
+
84
+ <pre> perl Configure.pl
101
85
  nmake test</pre>
102
- <p>
103
- </p>
104
- <h2><a name="todo">TODO</a></h2>
105
- <pre>
106
- * Parser
86
+
87
+ <h2><a class='u' href='#___top' title='click to go to top of document'
88
+ name="TODO"
89
+ >TODO</a></h2>
90
+
91
+ <pre> * Parser
107
92
  * Standard Builtins
108
93
  * Test against Octave Test Suite.</pre>
109
- <p>
110
- </p>
111
- <h2><a name="bugs">BUGS</a></h2>
94
+
95
+ <h2><a class='u' href='#___top' title='click to go to top of document'
96
+ name="BUGS"
97
+ >BUGS</a></h2>
98
+
112
99
  <p>Lots!</p>
113
- <p>
114
- </p>
115
- <h2><a name="contact">CONTACT</a></h2>
100
+
101
+ <h2><a class='u' href='#___top' title='click to go to top of document'
102
+ name="CONTACT"
103
+ >CONTACT</a></h2>
104
+
116
105
  <p>If you need to contact the Matrixy team, go to the project home page at:</p>
106
+
117
107
  <p>www.github.com\Whiteknight\matrixy</p>
118
108
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-markup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Wanstrath
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-25 00:00:00 -08:00
12
+ date: 2010-02-09 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15