aboutsummaryrefslogtreecommitdiff
path: root/matlab/core.m
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2015-02-08 18:56:13 -0600
committerJoel Martin <github@martintribe.org>2015-02-08 23:51:38 -0600
commit9831bce71071b1db9391ef77d450199c6bc76990 (patch)
tree32812e9cf0c7ceef42c5f274fbde9c49591535b2 /matlab/core.m
parent23c5aa440a0d21934bc16407cf0312ac95734738 (diff)
downloadmal-9831bce71071b1db9391ef77d450199c6bc76990.tar.gz
mal-9831bce71071b1db9391ef77d450199c6bc76990.zip
matlab: add step6
Diffstat (limited to 'matlab/core.m')
-rw-r--r--matlab/core.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/matlab/core.m b/matlab/core.m
index 8a64934..fb6e456 100644
--- a/matlab/core.m
+++ b/matlab/core.m
@@ -31,6 +31,9 @@ classdef core
n('str') = @core.do_str;
n('prn') = @core.prn;
n('println') = @core.println;
+ n('read-string') = @reader.read_str;
+ n('slurp') = @fileread;
+
n('<') = @(a,b) a<b;
n('<=') = @(a,b) a<=b;
n('>') = @(a,b) a>b;