jackhill/mal.git
6 years agoFix eval test
Vasilij Schneidermann [Wed, 13 Sep 2017 14:49:26 +0000 (16:49 +0200)]
Fix eval test

6 years agoFix Makefile
Vasilij Schneidermann [Wed, 13 Sep 2017 14:49:15 +0000 (16:49 +0200)]
Fix Makefile

6 years agoAdd seven Scheme implementations to Dockerfile
Vasilij Schneidermann [Wed, 13 Sep 2017 07:58:18 +0000 (09:58 +0200)]
Add seven Scheme implementations to Dockerfile

6 years agoAdd Dockerfile and try finding sash
Vasilij Schneidermann [Wed, 13 Sep 2017 07:57:43 +0000 (09:57 +0200)]
Add Dockerfile and try finding sash

6 years agoMerge remote-tracking branch 'upstream/master' into r7rs-implementation
Vasilij Schneidermann [Tue, 12 Sep 2017 08:08:15 +0000 (10:08 +0200)]
Merge remote-tracking branch 'upstream/master' into r7rs-implementation

6 years agoMake use of scheme_MODE
Vasilij Schneidermann [Tue, 12 Sep 2017 07:44:51 +0000 (09:44 +0200)]
Make use of scheme_MODE

6 years agoClojure, Haxe: all target based on MODE.
Joel Martin [Tue, 12 Sep 2017 04:28:00 +0000 (23:28 -0500)]
Clojure, Haxe: all target based on MODE.

6 years agoFix IMPL variables in travis scripts.
Joel Martin [Mon, 11 Sep 2017 23:30:29 +0000 (18:30 -0500)]
Fix IMPL variables in travis scripts.

6 years agoFix conveyance of *_MODE variables to build rules.
Joel Martin [Mon, 11 Sep 2017 23:23:32 +0000 (18:23 -0500)]
Fix conveyance of *_MODE variables to build rules.

6 years agoRemove redundant Haxe travis test.
Joel Martin [Mon, 11 Sep 2017 23:10:24 +0000 (18:10 -0500)]
Remove redundant Haxe travis test.

6 years agoGeneric <impl>_MODE setting. Add travis modes.
Joel Martin [Mon, 11 Sep 2017 22:49:26 +0000 (17:49 -0500)]
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.

6 years agoRename to scheme
Vasilij Schneidermann [Mon, 11 Sep 2017 21:54:50 +0000 (23:54 +0200)]
Rename to scheme

6 years agoMatlab: update to Octave 4.2.1
Joel Martin [Mon, 11 Sep 2017 21:45:53 +0000 (16:45 -0500)]
Matlab: update to Octave 4.2.1

Make Octave the primary in the README description and add instructions
for direct Octave execution.

6 years agoFix build with cyclone
Vasilij Schneidermann [Sun, 10 Sep 2017 11:28:27 +0000 (13:28 +0200)]
Fix build with cyclone

6 years agoImprove env lookup performance considerably
Vasilij Schneidermann [Sun, 10 Sep 2017 11:21:45 +0000 (13:21 +0200)]
Improve env lookup performance considerably

6 years agoMention Scheme in README, add instructions
Vasilij Schneidermann [Sun, 10 Sep 2017 10:24:55 +0000 (12:24 +0200)]
Mention Scheme in README, add instructions

6 years agoImplement scm-eval
Vasilij Schneidermann [Sat, 9 Sep 2017 14:09:47 +0000 (16:09 +0200)]
Implement scm-eval

6 years agoSelf-hosting fix
Vasilij Schneidermann [Sat, 9 Sep 2017 10:34:18 +0000 (12:34 +0200)]
Self-hosting fix

6 years agoMake perf tests run
Vasilij Schneidermann [Sat, 9 Sep 2017 10:29:35 +0000 (12:29 +0200)]
Make perf tests run

6 years agoImplement step A
Vasilij Schneidermann [Fri, 8 Sep 2017 19:06:17 +0000 (21:06 +0200)]
Implement step A

6 years agoMove readline to util library
Vasilij Schneidermann [Fri, 8 Sep 2017 14:50:34 +0000 (16:50 +0200)]
Move readline to util library

6 years agoFix warning for argv with CHICKEN
Vasilij Schneidermann [Fri, 8 Sep 2017 14:35:07 +0000 (16:35 +0200)]
Fix warning for argv with CHICKEN

6 years agoImplement step 9
Vasilij Schneidermann [Fri, 8 Sep 2017 14:34:44 +0000 (16:34 +0200)]
Implement step 9

6 years agoImplement step 8
Vasilij Schneidermann [Thu, 7 Sep 2017 20:41:37 +0000 (22:41 +0200)]
Implement step 8

6 years agoImplement step 7
Vasilij Schneidermann [Thu, 7 Sep 2017 17:57:04 +0000 (19:57 +0200)]
Implement step 7

6 years agoImplement step 6
Vasilij Schneidermann [Thu, 7 Sep 2017 17:56:21 +0000 (19:56 +0200)]
Implement step 6

6 years agoImplement step 5
Vasilij Schneidermann [Wed, 6 Sep 2017 15:40:38 +0000 (17:40 +0200)]
Implement step 5

6 years agoImplement step 4
Vasilij Schneidermann [Tue, 5 Sep 2017 23:24:34 +0000 (01:24 +0200)]
Implement step 4

6 years agoAdd gitignore
Vasilij Schneidermann [Tue, 5 Sep 2017 06:33:36 +0000 (08:33 +0200)]
Add gitignore

6 years agoImplement step 3
Vasilij Schneidermann [Mon, 4 Sep 2017 17:49:02 +0000 (19:49 +0200)]
Implement step 3

6 years agoImplement step 2
Vasilij Schneidermann [Mon, 4 Sep 2017 15:51:38 +0000 (17:51 +0200)]
Implement step 2

6 years agoImplement step 1
Vasilij Schneidermann [Sun, 3 Sep 2017 21:30:37 +0000 (23:30 +0200)]
Implement step 1

6 years agoAdd notes
Vasilij Schneidermann [Sat, 2 Sep 2017 19:50:26 +0000 (21:50 +0200)]
Add notes

6 years agoImplement step 0
Vasilij Schneidermann [Fri, 1 Sep 2017 22:46:52 +0000 (00:46 +0200)]
Implement step 0

6 years agoMerge pull request #272 from iqbalansari/master
Joel Martin [Tue, 29 Aug 2017 22:53:39 +0000 (17:53 -0500)]
Merge pull request #272 from iqbalansari/master

Common Lisp: Refactor the implementation, add support for MKCL

6 years agoCommon Lisp: Fix try* to catch all errors
Iqbal Ansari [Sat, 26 Aug 2017 07:33:26 +0000 (13:03 +0530)]
Common Lisp: Fix try* to catch all errors

6 years agoCommon Lisp: Add support for running MAL using MKCL
Iqbal Ansari [Thu, 24 Aug 2017 13:28:17 +0000 (18:58 +0530)]
Common Lisp: Add support for running MAL using MKCL

6 years agoCommon Lisp: Simplify the clean task
Iqbal Ansari [Wed, 23 Aug 2017 18:19:52 +0000 (23:49 +0530)]
Common Lisp: Simplify the clean task

6 years agoCommon Lisp: Create standalone executables for supported Lisps
Iqbal Ansari [Wed, 23 Aug 2017 18:15:05 +0000 (23:45 +0530)]
Common Lisp: Create standalone executables for supported Lisps

6 years agoCommon Lisp: Add basic completion for toplevel symbols to the REPL
Iqbal Ansari [Tue, 22 Aug 2017 12:58:50 +0000 (18:28 +0530)]
Common Lisp: Add basic completion for toplevel symbols to the REPL

6 years agoCommon Lisp: Fix printing of user defined functions
Iqbal Ansari [Tue, 22 Aug 2017 11:23:03 +0000 (16:53 +0530)]
Common Lisp: Fix printing of user defined functions

6 years agoCommon Lisp: Do not prefix symbols with package name unnecessarily
Iqbal Ansari [Tue, 22 Aug 2017 10:48:31 +0000 (16:18 +0530)]
Common Lisp: Do not prefix symbols with package name unnecessarily

6 years agoCommon Lisp: Get rid of apply-uwrapped-values and friends
Iqbal Ansari [Tue, 22 Aug 2017 10:31:11 +0000 (16:01 +0530)]
Common Lisp: Get rid of apply-uwrapped-values and friends

6 years agoCommon Lisp: Abstract definition of mal level functions in defmal macro
Iqbal Ansari [Tue, 22 Aug 2017 08:19:24 +0000 (13:49 +0530)]
Common Lisp: Abstract definition of mal level functions in defmal macro

6 years agoCommon Lisp: Do not export make-mal-boolean and make-mal-nil
Iqbal Ansari [Tue, 22 Aug 2017 07:45:48 +0000 (13:15 +0530)]
Common Lisp: Do not export make-mal-boolean and make-mal-nil

6 years agoCommon Lisp: Use mal-nil and listify wherever applicable
Iqbal Ansari [Tue, 22 Aug 2017 07:45:00 +0000 (13:15 +0530)]
Common Lisp: Use mal-nil and listify wherever applicable

6 years agoCommon Lisp: Refactor reader to reduce redundant error checks
Iqbal Ansari [Tue, 22 Aug 2017 07:24:23 +0000 (12:54 +0530)]
Common Lisp: Refactor reader to reduce redundant error checks

6 years agoCommon Lisp: Miscellaneous cleanups
Iqbal Ansari [Sun, 4 Dec 2016 08:20:37 +0000 (13:50 +0530)]
Common Lisp: Miscellaneous cleanups

Refactor env a bit

6 years agoCommon Lisp: Move source code to src/ folder
Iqbal Ansari [Tue, 22 Nov 2016 11:55:16 +0000 (17:25 +0530)]
Common Lisp: Move source code to src/ folder

6 years agoCommon Lisp: Cleanup printing of hashmap and sequences
Iqbal Ansari [Tue, 22 Nov 2016 08:19:00 +0000 (13:49 +0530)]
Common Lisp: Cleanup printing of hashmap and sequences

6 years agoCommon Lisp: DRY conversion of vectors to list
Iqbal Ansari [Tue, 22 Nov 2016 08:17:28 +0000 (13:47 +0530)]
Common Lisp: DRY conversion of vectors to list

6 years agoCommon Lisp: Use genhash APIs instead of native API in (un)wrap-value
Iqbal Ansari [Tue, 22 Nov 2016 08:15:40 +0000 (13:45 +0530)]
Common Lisp: Use genhash APIs instead of native API in (un)wrap-value

6 years agoCommon Lisp: Do not create boolean and nil while reading
Iqbal Ansari [Tue, 22 Nov 2016 08:14:20 +0000 (13:44 +0530)]
Common Lisp: Do not create boolean and nil while reading

6 years agoCommon Lisp: Fix warning while compiling core.lisp
Iqbal Ansari [Tue, 22 Nov 2016 08:12:27 +0000 (13:42 +0530)]
Common Lisp: Fix warning while compiling core.lisp

6 years ago[travis] pass down CLJ_MODE
Joel Martin [Thu, 27 Jul 2017 05:52:31 +0000 (00:52 -0500)]
[travis] pass down CLJ_MODE

6 years ago[clojure] add ClojureScript mode to travis list.
Joel Martin [Thu, 27 Jul 2017 05:35:46 +0000 (00:35 -0500)]
[clojure] add ClojureScript mode to travis list.

6 years ago[clojure] fix uberjar file name.
Joel Martin [Thu, 27 Jul 2017 05:19:00 +0000 (00:19 -0500)]
[clojure] fix uberjar file name.

The project.clj sets the uberjar path so the build needs to copy from
that location.

6 years ago[clojure] Fixes to support lumo 1.6.0.
Joel Martin [Thu, 27 Jul 2017 04:53:39 +0000 (23:53 -0500)]
[clojure] Fixes to support lumo 1.6.0.

- Pass down the CLJ_MODE value for DOCKERIZED builds in addition to
  run/tests.
- Correct deps so that node_modules is installed for CLJ_MODE=cljs for
  all steps.
- Lumo 1.6.0 is currently not able to install globally as root
  (https://github.com/anmonteiro/lumo/issues/206) so add the local
  node_modules/.bin to the PATH in the run script.
- Reader conditionals needed for clojure.reader/cljs.reader until this
  is fixed: https://github.com/anmonteiro/lumo/issues/209

6 years agoMerge pull request #271 from c0deaddict/master
Joel Martin [Wed, 26 Jul 2017 12:23:22 +0000 (07:23 -0500)]
Merge pull request #271 from c0deaddict/master

Elm: Removed usage of Env from step1 and step2

6 years agoElm: Removed usage of Env from step1 and step2
Jos van Bakel [Tue, 25 Jul 2017 20:19:56 +0000 (22:19 +0200)]
Elm: Removed usage of Env from step1 and step2

6 years agoREADME: update to 68 languages.
Joel Martin [Tue, 25 Jul 2017 16:18:33 +0000 (11:18 -0500)]
README: update to 68 languages.

6 years agoplpgsql: support Travis run with alt. user
Joel Martin [Tue, 25 Jul 2017 16:13:13 +0000 (11:13 -0500)]
plpgsql: support Travis run with alt. user

Seems that Travis sometimes runs with a user other than 1001 so add
user ID 2000 as well.

6 years agoelm: move more specific deps lower in the file.
Joel Martin [Tue, 25 Jul 2017 16:12:46 +0000 (11:12 -0500)]
elm: move more specific deps lower in the file.

6 years agoMerge pull request #270 from c0deaddict/master
Joel Martin [Tue, 25 Jul 2017 16:11:53 +0000 (11:11 -0500)]
Merge pull request #270 from c0deaddict/master

Elm implementation

6 years agoElm: fixed Dockerfile
Jos van Bakel [Tue, 25 Jul 2017 14:42:53 +0000 (16:42 +0200)]
Elm: fixed Dockerfile

6 years agoElm: use direct paths in Makefile
Jos van Bakel [Tue, 25 Jul 2017 07:55:52 +0000 (09:55 +0200)]
Elm: use direct paths in Makefile

6 years agoMerged master, resolved conflicts
Jos van Bakel [Tue, 25 Jul 2017 06:28:33 +0000 (08:28 +0200)]
Merged master, resolved conflicts

6 years agoElm: revert change in core.mal
Jos van Bakel [Sat, 22 Jul 2017 20:21:45 +0000 (22:21 +0200)]
Elm: revert change in core.mal

6 years agoElm: fix makefile, added to readme and enable travis
Jos van Bakel [Sat, 22 Jul 2017 20:18:35 +0000 (22:18 +0200)]
Elm: fix makefile, added to readme and enable travis

6 years agoElm: re-enabled steps 1-9
Jos van Bakel [Sat, 22 Jul 2017 19:59:59 +0000 (21:59 +0200)]
Elm: re-enabled steps 1-9

6 years agoElm step A: GC working
Jos van Bakel [Sat, 22 Jul 2017 19:44:25 +0000 (21:44 +0200)]
Elm step A: GC working

6 years agoMerge pull request #268 from wasamasa/gst-fix-warning
Joel Martin [Fri, 21 Jul 2017 18:04:34 +0000 (13:04 -0500)]
Merge pull request #268 from wasamasa/gst-fix-warning

Fix init warning

6 years agoMerge pull request #269 from dubek/bash-fix-string-predicate
Joel Martin [Fri, 21 Jul 2017 18:03:05 +0000 (13:03 -0500)]
Merge pull request #269 from dubek/bash-fix-string-predicate

bash: Fix `string?` result on keyword arguments

6 years agobash: Fix `string?` result on keyword arguments
Dov Murik [Thu, 20 Jul 2017 20:12:14 +0000 (20:12 +0000)]
bash: Fix `string?` result on keyword arguments

Fixed wrong `string?` value on keyword arguments in bash implementation
(2 soft test fails).

Before the fix:

```
TEST: (string? :abc) -> ['',false] -> SOFT FAIL (line 115):
    Expected : '(string? :abc)\r\nfalse'
    Got      : '(string? :abc)\r\ntrue'
TEST: (string? (keyword "abc")) -> ['',false] -> SOFT FAIL (line 117):
    Expected : '(string? (keyword "abc"))\r\nfalse'
    Got      : '(string? (keyword "abc"))\r\ntrue'
```

With the fix:

```
TEST: (string? :abc) -> ['',false] -> SUCCESS
TEST: (string? (keyword "abc")) -> ['',false] -> SUCCESS
```

6 years agoFix init warning
Vasilij Schneidermann [Thu, 20 Jul 2017 15:37:08 +0000 (17:37 +0200)]
Fix init warning

I mistakenly assumed that the way to retrieve the current context is
by calling a documented static method.  Apparently thisContext is the
missing sixth keyword in Smalltalk, so that's not needed.

6 years agoMerge pull request #267 from dubek/rexx
Joel Martin [Thu, 20 Jul 2017 14:12:48 +0000 (09:12 -0500)]
Merge pull request #267 from dubek/rexx

Add Rexx implementation

6 years agoMerge pull request #266 from dubek/add-test-cases
Joel Martin [Thu, 20 Jul 2017 13:59:59 +0000 (08:59 -0500)]
Merge pull request #266 from dubek/add-test-cases

tests: Add test cases in step4 and step9

6 years agorexx: Add `rexx` to Travis CI matrix
Dov Murik [Thu, 20 Jul 2017 12:07:45 +0000 (12:07 +0000)]
rexx: Add `rexx` to Travis CI matrix

6 years agorexx: Add Rexx to main README
Dov Murik [Thu, 20 Jul 2017 12:07:01 +0000 (12:07 +0000)]
rexx: Add Rexx to main README

6 years agoAdd rexx implementation
Dov Murik [Sun, 2 Apr 2017 10:46:45 +0000 (10:46 +0000)]
Add rexx implementation

6 years agotests: Add test cases in step4 and step9
Dov Murik [Thu, 20 Jul 2017 11:36:36 +0000 (11:36 +0000)]
tests: Add test cases in step4 and step9

6 years agoElm: GC almost working.
Jos van Bakel [Tue, 18 Jul 2017 19:34:36 +0000 (21:34 +0200)]
Elm: GC almost working.

6 years agoMerge pull request #265 from wasamasa/gst-eval
Joel Martin [Tue, 11 Jul 2017 22:03:34 +0000 (17:03 -0500)]
Merge pull request #265 from wasamasa/gst-eval

Implement gst-eval

6 years agoImplement gst-eval
Vasilij Schneidermann [Tue, 11 Jul 2017 21:38:06 +0000 (23:38 +0200)]
Implement gst-eval

6 years agoMerge pull request #264 from wasamasa/gnu-smalltalk-implementation
Joel Martin [Mon, 10 Jul 2017 22:23:25 +0000 (17:23 -0500)]
Merge pull request #264 from wasamasa/gnu-smalltalk-implementation

Gnu smalltalk implementation

6 years agoBackport a regex bugfix from 3.2.91 to 3.2.4
Vasilij Schneidermann [Mon, 10 Jul 2017 21:28:26 +0000 (23:28 +0200)]
Backport a regex bugfix from 3.2.91 to 3.2.4

6 years agoAdd to test matrix
Vasilij Schneidermann [Mon, 10 Jul 2017 19:47:05 +0000 (21:47 +0200)]
Add to test matrix

6 years agoAdd dockerfile
Vasilij Schneidermann [Mon, 10 Jul 2017 19:39:05 +0000 (21:39 +0200)]
Add dockerfile

6 years agoMention in README
Vasilij Schneidermann [Mon, 10 Jul 2017 07:12:48 +0000 (09:12 +0200)]
Mention in README

6 years agoMerge branch 'master' into gnu-smalltalk-implementation
Vasilij Schneidermann [Mon, 10 Jul 2017 07:07:25 +0000 (09:07 +0200)]
Merge branch 'master' into gnu-smalltalk-implementation

6 years agoFix backquote error for perf tests
Vasilij Schneidermann [Mon, 10 Jul 2017 07:04:39 +0000 (09:04 +0200)]
Fix backquote error for perf tests

6 years agoWrite function for relative loading
Vasilij Schneidermann [Sun, 9 Jul 2017 21:57:14 +0000 (23:57 +0200)]
Write function for relative loading

6 years agoSelf-hosting fix
Vasilij Schneidermann [Sun, 9 Jul 2017 20:51:15 +0000 (22:51 +0200)]
Self-hosting fix

6 years agoImplement step A
Vasilij Schneidermann [Sun, 9 Jul 2017 18:10:16 +0000 (20:10 +0200)]
Implement step A

6 years agoWrap BlockClosure into Fn to work around a bug
Vasilij Schneidermann [Sun, 9 Jul 2017 18:05:59 +0000 (20:05 +0200)]
Wrap BlockClosure into Fn to work around a bug

Extending a BlockClosure by a meta field gives a segfault for whatever
reason.  Yes, seriously.

6 years agoElm step A: implemented GC. MAL tests are failing..
Jos van Bakel [Sun, 9 Jul 2017 10:34:58 +0000 (12:34 +0200)]
Elm step A: implemented GC. MAL tests are failing..

6 years agoImplement step 9
Vasilij Schneidermann [Sun, 9 Jul 2017 08:51:56 +0000 (10:51 +0200)]
Implement step 9

6 years agoMonkey-patch BlockClosure for simpler code
Vasilij Schneidermann [Sat, 8 Jul 2017 20:55:08 +0000 (22:55 +0200)]
Monkey-patch BlockClosure for simpler code

6 years agoImplement step 8
Vasilij Schneidermann [Sat, 8 Jul 2017 17:49:09 +0000 (19:49 +0200)]
Implement step 8

6 years agoElm step A: fixed Env ref counting, fixed unwinding of Env on error.
Jos van Bakel [Sat, 8 Jul 2017 16:41:39 +0000 (18:41 +0200)]
Elm step A: fixed Env ref counting, fixed unwinding of Env on error.