From 8a9d0a8a41a176cb0e3bf6cbac70b21e9d983e2a Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Tue, 10 Feb 2015 12:15:24 -0600 Subject: matlab: add to README. 24th implementation! --- README.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6745018..eab655c 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Mal is an Clojure inspired Lisp interpreter. -Mal is implemented in 23 different languages: +Mal is implemented in 24 different languages: * Bash shell * C @@ -18,6 +18,7 @@ Mal is implemented in 23 different languages: * Lua * GNU Make * mal itself +* MATLAB * OCaml * Perl * PHP @@ -152,7 +153,7 @@ node stepX_YYY.js ### Lua -Running the Lua implementations of mal requires lua 5.1 or later, +Running the Lua implementation of mal requires lua 5.1 or later, luarocks and the lua-rex-pcre library installed. ``` @@ -188,6 +189,21 @@ make ./stepX_YYY ``` +### MATLAB + +The MATLAB implementation of mal has been tested with MATLAB version +R2014a on Linux. Note that MATLAB is a commercial product. It should +be fairly simple to support GNU Octave once it support classdef object +syntax. + +``` +cd matlab +./stepX_YYY +matlab -nodisplay -nosplash -nodesktop -nojvm -r "stepX_YYY();quit;" + # OR with command line arguments +matlab -nodisplay -nosplash -nodesktop -nojvm -r "stepX_YYY('arg1','arg2');quit;" +``` + ### Perl 5.8 For readline line editing support, install Term::ReadLine::Perl or -- cgit v1.2.3