1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-20 01:57:09 +03:00
Commit Graph

34 Commits

Author SHA1 Message Date
Joel Martin
2d76e8776c Generic <impl>_MODE setting. Add travis modes.
For implementations that support different compile/run modes, the
convention is not <impl_name>_MODE=<mode>. This is passed through to
make/docker commands. Fix Makefiles and run scripts to listen to the
respective *_MODE variables.

Enable travis builds/tests for 4 Haxe modes and 2 python modes.
2017-09-11 17:54:26 -05:00
Joel Martin
4bb2ab37be Matlab: update to Octave 4.2.1
Make Octave the primary in the README description and add instructions
for direct Octave execution.
2017-09-11 16:47:55 -05:00
Dov Murik
27a8252525 matlab: Add 'run' script to handle command-line args
The 'run' wrapper script escapes and creates the proper matlab/octave
command-line, replacing definitions from the main Makefile.
2016-05-14 23:55:30 -04:00
Joel Martin
9870acb645 matlab: fix empty list evaluation.
Part of #194.
2016-04-02 17:26:53 -05:00
Joel Martin
9044b1fdb1 Merge branch 'master' into issue_166_string_ops 2016-02-24 12:00:08 -06:00
Joel Martin
bcfd8b7020 Generic recursive rules for dist, stats, clean
Also add missing clean rules for julia and matlab and fix perl clean
rule.
2016-02-24 01:09:19 -06:00
Joel Martin
6791e640e1 haxe, matlab, miniMAL, python, rpython: add seq/string?
Issue #166.
2016-02-11 09:19:53 -06:00
Joel Martin
425233e3ad Matlab: fix real matlab issues, , add conj.
Default mode is now Octave, but hex literals and columns numbers on
stack traces are not supported by Matlab so use decimal.

Also, add conj.
2016-02-05 17:31:19 -06:00
Joel Martin
d5a3eb9454 rpython, matlab: fix first/rest on nil. 2016-02-03 12:22:29 -06:00
Joel Martin
d5b81cc072 julia, matlab, r, rust, swift: fix macro result evaluation
Related to issue #142.
2016-01-26 14:16:20 -06:00
Dov Murik
29ba1fb6c0 Add gensym and clean or macro to stepA of 19 implementations (part 3)
* awk
* cpp
* cs
* es6
* factor
* fsharp
* groovy
* haskell
* java
* julia
* kotlin
* matlab
* php
* r
* rpython
* rust
* scala
* swift
* vb
2016-01-25 16:30:54 -05:00
Joel Martin
9d54117c83 matlab: missed octave support fixes. 2016-01-08 20:49:45 -06:00
Joel Martin
7c56c6a572 matlab: update Dockerfile and Makefile 2015-12-31 15:21:18 -06:00
Joel Martin
4769962955 matlab: support Octave 4.0.0
- Workarounds for Octave 4.0.0:
    - no containers.Map yet so use new Dict
      structure when running under Octave.
    - weird error when +FOO/ directory and FOO.m file both exist so
      rename types.m to type_utils.m
    - no getReport so implement custom stack printer
    - workaround weird issue that happens when a class initializer is
      called with the first argument of the same class as per
      Env(outer, ...). The class is not properly initialized. So for
      now, wrap the outer in a cell as Env({outer}, ...)
    - missing MException object types so when in Octave, use a global
      variable to store the error object.
    - missing native2unicode so just use 0xff character for keyword
      prefix.
    - workaround some function calling/passing differences. For
      example, the "@" anonymous function symbol does not seem to work
      for conveying an existing function but only for defininign a new
      one. E.g. this works:
          @(a,b) a+b
      but this doesn't
          @my_adder_fn.
      so just do this:
          @(a,b) my_adder_fn(a,b)

- Add Dockerfile with Octave

- Active Travis for matlab implementation using Octave
2015-12-31 13:55:18 -06:00
Joel Martin
e0188ffe5b Matlab: fix hash-map equality and keywords.
- hash-map equality is related to #161.
2015-11-30 14:09:38 -06:00
Joel Martin
f15b4021db All: show comments with stats target.
- Put guile into correct alphabetical order.
2015-10-26 22:33:49 -05:00
Joel Martin
80320efc47 RPython: step1 basics 2015-06-11 09:33:07 -05:00
Joel Martin
294aba2c43 README: add more testing info.
Fix stats target for matlab.
2015-03-02 17:57:45 -06:00
Joel Martin
751ab516f1 matlab: move Reader.m to +types/Reader.m
Fixes https://github.com/kanaka/mal/issues/18 for case insensitive
file-systems.
2015-03-02 13:04:44 -06:00
Joel Martin
90f618cbe7 All: rename stepA_interop to stepA_mal
Also, add missed postscript interop tests.
2015-02-28 11:09:54 -06:00
Joel Martin
0b234e13a1 matlab: fix do/slice, strings. Self-hosting!
Fix Makefile stats/stats-lisp.
2015-02-10 01:51:28 -06:00
Joel Martin
53942f889a matlab: add metadata and atom support. 2015-02-10 01:34:56 -06:00
Joel Martin
6a572dff25 matlab: add keyword, vector, hash-map support.
Switch List to full object like vector and hash-map.
2015-02-10 01:46:17 -06:00
Joel Martin
7f567f3645 matlab: stepA, perf test, comments. 2015-02-09 00:23:10 -06:00
Joel Martin
b550d8b72a matlab: Add step9. 2015-02-08 23:51:53 -06:00
Joel Martin
c4033aab51 matlab: add step8 2015-02-08 23:51:47 -06:00
Joel Martin
c3023f2642 matlab: step7, fix reader bug. 2015-02-08 23:51:45 -06:00
Joel Martin
9831bce710 matlab: add step6 2015-02-08 23:51:38 -06:00
Joel Martin
23c5aa440a matlab: add step5_tco 2015-02-08 23:51:27 -06:00
Joel Martin
6d12affa8b matlab: all step4 except optional. 2015-02-08 23:51:22 -06:00
Joel Martin
d6624158bd matlab: start of step4 2015-02-08 23:51:08 -06:00
Joel Martin
ab6e6fae4e matlab: step3 2015-02-07 22:07:16 -06:00
Joel Martin
a8d58c9360 matlab: step2 2015-02-07 21:03:43 -06:00
Joel Martin
9a54ea186c matlab: step0 and step1 basics. 2015-02-07 20:32:24 -06:00