1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
|
<a name='___top' class='dummyTopAnchor' ></a>
<h1><a class='u' href='#___top' title='click to go to top of document'
name="Matrixy"
>Matrixy</a></h1>
<h2><a class='u' href='#___top' title='click to go to top of document'
name="INTRODUCTION"
>INTRODUCTION</a></h2>
<p>This is a port of the MATLAB/Octave programming language to Parrot.
See the ROADMAP file for more information on the status of this project,
and what else needs to be done.</p>
<h2><a class='u' href='#___top' title='click to go to top of document'
name="ABOUT"
>ABOUT</a></h2>
<p>Primary goals are:</p>
<blockquote>
<p>=item* Create a working compiler that understands the majority of the MATLAB/Octave programming language.</p>
</blockquote>
<h2><a class='u' href='#___top' title='click to go to top of document'
name="IMPLEMENTATION"
>IMPLEMENTATION</a></h2>
<p>This project is broken into three primary components:</p>
<blockquote>
<p>=item* The first is the parser,
located in the <code>src/parser/</code> directory.
The parser proper is composed of three source files,
<em>grammar.pg</em> which is a Perl6Grammar file,
and <em>actions.pm</em> which is the associated actions file written in NQP,
and <em>grammar-oper.pm</em> which is the operator precidence parser.
In addition,
several helper functions used by the parser are located in <code>src/internals</code>.</p>
<p>=item* The second component is the library of builtin functions in the <code>src/builtins/</code> 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.</p>
<p>=item* A number of library functions are written in M,
or mostly M with some inline PIR code in <code>toolbox/</code>.</p>
</blockquote>
<h2><a class='u' href='#___top' title='click to go to top of document'
name="DEPENDENCIES"
>DEPENDENCIES</a></h2>
<p>Matrixy depends on these dependencies:</p>
<h3><a class='u' href='#___top' title='click to go to top of document'
name="Parrot"
>Parrot</a></h3>
<p>To get a proper version of Parrot to build Matrixy,
you will need to check out and build Parrot from source:</p>
<pre> svn co http://svn.parrot.org/parrot/trunk parrot
cd parrot
perl Configure.pl
make && make test && make install-dev</pre>
<h3><a class='u' href='#___top' title='click to go to top of document'
name="Parrot-Linear-Algebra"
>Parrot-Linear-Algebra</a></h3>
<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>
<h2><a class='u' href='#___top' title='click to go to top of document'
name="BUILDING"
>BUILDING</a></h2>
<p>Once all dependencies are in place, you can build Matrixy using this sequence of commands:</p>
<pre> perl Configure.pl
nmake test</pre>
<h2><a class='u' href='#___top' title='click to go to top of document'
name="TODO"
>TODO</a></h2>
<pre> * Parser
* Standard Builtins
* Test against Octave Test Suite.</pre>
<h2><a class='u' href='#___top' title='click to go to top of document'
name="BUGS"
>BUGS</a></h2>
<p>Lots!</p>
<h2><a class='u' href='#___top' title='click to go to top of document'
name="CONTACT"
>CONTACT</a></h2>
<p>If you need to contact the Matrixy team, go to the project home page at:</p>
<p>www.github.com\Whiteknight\matrixy</p>
|