jackhill/mal.git
8 years agotests: make throw of non-strings optional/soft.
Joel Martin [Fri, 25 Mar 2016 02:12:48 +0000 (21:12 -0500)]
tests: make throw of non-strings optional/soft.

8 years agoplpgsql: add steps7-9
Joel Martin [Fri, 25 Mar 2016 02:10:10 +0000 (21:10 -0500)]
plpgsql: add steps7-9

8 years agoplpgsql: steps 4-6.
Joel Martin [Tue, 22 Mar 2016 05:53:31 +0000 (00:53 -0500)]
plpgsql: steps 4-6.

8 years agoplpgsql (Postgres PL/pgSQL): steps 0-3.
Joel Martin [Tue, 22 Mar 2016 01:28:08 +0000 (20:28 -0500)]
plpgsql (Postgres PL/pgSQL): steps 0-3.

8 years agoMerge pull request #205 from Wilfred/fix_link
Joel Martin [Sat, 30 Apr 2016 14:18:48 +0000 (09:18 -0500)]
Merge pull request #205 from Wilfred/fix_link

Fix broken link

8 years agoFix broken link
Wilfred Hughes [Sat, 30 Apr 2016 11:18:24 +0000 (12:18 +0100)]
Fix broken link

Previously, this would link to https://github.com/kanaka/mal/blob/master/factorcode.org

8 years agoFAQ: add question about * and ! endings on forms.
Joel Martin [Thu, 28 Apr 2016 20:10:37 +0000 (15:10 -0500)]
FAQ: add question about * and ! endings on forms.

8 years agoMerge pull request #204 from dubek/guide-step2-addition
Joel Martin [Thu, 28 Apr 2016 01:04:22 +0000 (20:04 -0500)]
Merge pull request #204 from dubek/guide-step2-addition

process/guide: add vector and hash-map evaluation in step 2

8 years agoprocess/guide: add vector and hash-map evaluation in step 2
Dov Murik [Wed, 27 Apr 2016 21:19:48 +0000 (17:19 -0400)]
process/guide: add vector and hash-map evaluation in step 2

8 years agoMerge pull request #202 from leafac/patch-1
Joel Martin [Sat, 23 Apr 2016 17:42:15 +0000 (12:42 -0500)]
Merge pull request #202 from leafac/patch-1

Fix typos

8 years agoFix typos
Leandro Facchinetti [Sat, 23 Apr 2016 15:42:12 +0000 (11:42 -0400)]
Fix typos

8 years agoMerge pull request #201 from leafac/patch-1
Joel Martin [Wed, 20 Apr 2016 15:42:10 +0000 (10:42 -0500)]
Merge pull request #201 from leafac/patch-1

Fix space

8 years agoFix space
Leandro Facchinetti [Wed, 20 Apr 2016 06:16:49 +0000 (02:16 -0400)]
Fix space

8 years agoMerge pull request #200 from leafac/patch-1
Joel Martin [Tue, 19 Apr 2016 20:30:07 +0000 (15:30 -0500)]
Merge pull request #200 from leafac/patch-1

Fix typo in FAQ

8 years agoFix typo in FAQ
Leandro Facchinetti [Tue, 19 Apr 2016 19:49:15 +0000 (15:49 -0400)]
Fix typo in FAQ

`qestion` -> `question`.

8 years agoREADME: fix clojurewest path and add midwest.io links.
Joel Martin [Sat, 16 Apr 2016 16:43:50 +0000 (11:43 -0500)]
README: fix clojurewest path and add midwest.io links.

8 years agoJS: fix typo in interop.js
Joel Martin [Mon, 11 Apr 2016 17:15:21 +0000 (12:15 -0500)]
JS: fix typo in interop.js

8 years agoMerge pull request #199 from dubek/c-add-boehm-gc
Joel Martin [Fri, 8 Apr 2016 15:14:44 +0000 (10:14 -0500)]
Merge pull request #199 from dubek/c-add-boehm-gc

c: Add Boehm garbage collector

8 years agoTravis: Add OS X build of Swift3.
Joel Martin [Fri, 8 Apr 2016 13:44:57 +0000 (08:44 -0500)]
Travis: Add OS X build of Swift3.

8 years agoMerge pull request #198 from keith-rollin/mac_port
Joel Martin [Fri, 8 Apr 2016 13:43:50 +0000 (08:43 -0500)]
Merge pull request #198 from keith-rollin/mac_port

Port swift3 to OSX.

8 years agoc: Add Boehm garbage collector
Dov Murik [Wed, 9 Dec 2015 20:41:41 +0000 (15:41 -0500)]
c: Add Boehm garbage collector

By default, garbage collection is enabled.  You can run:

    make USE_GC=

to build the C implementation without garbage collection.

8 years agoPort swift3 to OSX.
Keith Rollin [Fri, 8 Apr 2016 02:44:58 +0000 (19:44 -0700)]
Port swift3 to OSX.

8 years agoMerge pull request #194 from dubek/literal-empty-list
Joel Martin [Tue, 5 Apr 2016 14:38:19 +0000 (09:38 -0500)]
Merge pull request #194 from dubek/literal-empty-list

Fix handling of literal empty list in several impls

8 years agoMerge pull request #6 from kanaka/issue194-literal-empty-list
Dov Murik [Mon, 4 Apr 2016 23:45:28 +0000 (19:45 -0400)]
Merge pull request #6 from kanaka/issue194-literal-empty-list

erlang, factor, rust: fix empty list eval

8 years agoMerge pull request #195 from wasamasa/bugfix-empty-list-literal
Joel Martin [Mon, 4 Apr 2016 17:10:20 +0000 (12:10 -0500)]
Merge pull request #195 from wasamasa/bugfix-empty-list-literal

Accept empty list literal

8 years agoerlang, factor, rust: fix empty list eval
Joel Martin [Sun, 3 Apr 2016 22:16:02 +0000 (23:16 +0100)]
erlang, factor, rust: fix empty list eval

This should address remaining implementation fixes for #194.

8 years agoMerge pull request #5 from zmower/literal-empty-list
Dov Murik [Mon, 4 Apr 2016 12:38:45 +0000 (08:38 -0400)]
Merge pull request #5 from zmower/literal-empty-list

Literal empty list - Ada fix

8 years agoAda: add () fix to step2
Chris M Moore [Sun, 3 Apr 2016 15:16:02 +0000 (16:16 +0100)]
Ada: add () fix to step2

8 years agoprocess: Fix step2_eval.txt to "handle" empty literal lists
Dov Murik [Sun, 3 Apr 2016 03:18:30 +0000 (23:18 -0400)]
process: Fix step2_eval.txt to "handle" empty literal lists

8 years agoMerge pull request #4 from kanaka/issue194-literal-empty-list
Dov Murik [Sun, 3 Apr 2016 03:17:37 +0000 (23:17 -0400)]
Merge pull request #4 from kanaka/issue194-literal-empty-list

Fix matlab/objc/objpascal/swift3. Move test to step2.

8 years agoFix empty list eval in step2 for most languages.
Joel Martin [Sat, 2 Apr 2016 22:56:04 +0000 (17:56 -0500)]
Fix empty list eval in step2 for most languages.

I think the only remaining ones are ada, elisp, factor, and rust.

8 years agotests: move empty list test from step3 to step2.
Joel Martin [Sat, 2 Apr 2016 22:28:40 +0000 (17:28 -0500)]
tests: move empty list test from step3 to step2.

8 years agoswift3: fix empty list evaluation.
Joel Martin [Sat, 2 Apr 2016 22:27:57 +0000 (17:27 -0500)]
swift3: fix empty list evaluation.

Part of #194.

8 years agoobjpascal: fix empty list evaluation.
Joel Martin [Sat, 2 Apr 2016 22:27:43 +0000 (17:27 -0500)]
objpascal: fix empty list evaluation.

Part of #194.

8 years agoobjc: fix empty list evaluation.
Joel Martin [Sat, 2 Apr 2016 22:27:25 +0000 (17:27 -0500)]
objc: fix empty list evaluation.

Part of #194.

8 years agomatlab: fix empty list evaluation.
Joel Martin [Sat, 2 Apr 2016 22:26:53 +0000 (17:26 -0500)]
matlab: fix empty list evaluation.

Part of #194.

8 years agoAda: empty list fix (issue #194)
Chris M Moore [Sat, 2 Apr 2016 19:15:46 +0000 (20:15 +0100)]
Ada: empty list fix (issue #194)

8 years agomake: Fix empty/nil value for literal empty list
Dov Murik [Fri, 1 Apr 2016 20:49:55 +0000 (16:49 -0400)]
make: Fix empty/nil value for literal empty list

Issue #190

8 years agohaxe: Fix exception on literal empty list
Dov Murik [Fri, 1 Apr 2016 20:23:45 +0000 (16:23 -0400)]
haxe: Fix exception on literal empty list

Issue #190

8 years agofactor: Fix exception on literal empty list
Dov Murik [Fri, 1 Apr 2016 20:15:42 +0000 (16:15 -0400)]
factor: Fix exception on literal empty list

Issue #190

8 years agoscala: Fix exception on literal empty list
Dov Murik [Fri, 1 Apr 2016 02:31:49 +0000 (22:31 -0400)]
scala: Fix exception on literal empty list

Issue #190

8 years agogroovy: Fix exception on literal empty list
Dov Murik [Fri, 1 Apr 2016 01:42:23 +0000 (21:42 -0400)]
groovy: Fix exception on literal empty list

Issue #190

8 years agocrystal: Fix exception on literal empty list in step3
Dov Murik [Thu, 31 Mar 2016 18:52:41 +0000 (14:52 -0400)]
crystal: Fix exception on literal empty list in step3

Issue #190

8 years agobash: Fix crash on literal empty list
Dov Murik [Thu, 31 Mar 2016 18:46:28 +0000 (14:46 -0400)]
bash: Fix crash on literal empty list

Issue #190

8 years agod: Fix crash on literal empty list
Dov Murik [Thu, 31 Mar 2016 18:33:32 +0000 (14:33 -0400)]
d: Fix crash on literal empty list

Issue #190

8 years agoMerge pull request #197 from dubek/postscript-interop
Joel Martin [Thu, 31 Mar 2016 15:19:51 +0000 (10:19 -0500)]
Merge pull request #197 from dubek/postscript-interop

ps: Fix ps* interop

8 years agops: Fix ps* interop
Dov Murik [Wed, 30 Mar 2016 20:38:45 +0000 (16:38 -0400)]
ps: Fix ps* interop

* Simplify postscript code parsing by using the `cvx` (convert to
  executable) function.
* Tweak the test cases to match reality (returns list of stack operands,
  or nil if stack is empty after exec).

8 years agoforth: Fix exception on literal empty list
Dov Murik [Wed, 30 Mar 2016 18:28:50 +0000 (14:28 -0400)]
forth: Fix exception on literal empty list

Issue #190

8 years agops: Fix exception on literal empty list
Dov Murik [Wed, 30 Mar 2016 17:15:23 +0000 (13:15 -0400)]
ps: Fix exception on literal empty list

Issue #190

8 years agoes6: Fix exception on literal empty list
Dov Murik [Wed, 30 Mar 2016 15:28:53 +0000 (11:28 -0400)]
es6: Fix exception on literal empty list

Issue #190

8 years agoMerge pull request #196 from dubek/fix-regress-fail
Joel Martin [Wed, 30 Mar 2016 15:01:33 +0000 (10:01 -0500)]
Merge pull request #196 from dubek/fix-regress-fail

Makefile: fail REGRESS=1 when earlier step fails

8 years agoclojure: Fix exception on literal empty list
Dov Murik [Wed, 30 Mar 2016 14:28:49 +0000 (10:28 -0400)]
clojure: Fix exception on literal empty list

Issue #190

8 years agoMakefile: fail REGRESS=1 when earlier step fails
Dov Murik [Wed, 30 Mar 2016 14:14:48 +0000 (10:14 -0400)]
Makefile: fail REGRESS=1 when earlier step fails

When running tests with REGRESS=1, the Makefile would not exit with
failure if an earlier step failed some tests.  Replacing ; with && in
the test rule fixed this behaviour to exit with failure exitcode on the
first regression failure.

8 years agokotlin: Fix exception on literal empty list
Dov Murik [Wed, 30 Mar 2016 14:06:14 +0000 (10:06 -0400)]
kotlin: Fix exception on literal empty list

Issue #190

8 years agoguile: Fix crash/exception on literal empty list
Dov Murik [Wed, 30 Mar 2016 13:29:00 +0000 (09:29 -0400)]
guile: Fix crash/exception on literal empty list

Issue #190

8 years agojulia: Fix exception on literal empty list
Dov Murik [Wed, 30 Mar 2016 13:18:07 +0000 (09:18 -0400)]
julia: Fix exception on literal empty list

Issue #190

8 years agonim: Fix crash on literal empty list
Dov Murik [Wed, 30 Mar 2016 13:11:52 +0000 (09:11 -0400)]
nim: Fix crash on literal empty list

Issue #190

8 years agoio: Fix exception on literal empty list
Dov Murik [Wed, 30 Mar 2016 13:02:13 +0000 (09:02 -0400)]
io: Fix exception on literal empty list

Issue #190

8 years agophp: Fix exception on literal empty list
Dov Murik [Wed, 30 Mar 2016 12:56:24 +0000 (08:56 -0400)]
php: Fix exception on literal empty list

Issue #190

8 years agoAccept empty list literal
Vasilij Schneidermann [Tue, 29 Mar 2016 20:10:32 +0000 (22:10 +0200)]
Accept empty list literal

8 years agofsharp: Fix exception on literal empty list
Dov Murik [Mon, 28 Mar 2016 20:56:23 +0000 (16:56 -0400)]
fsharp: Fix exception on literal empty list

Issue #190

8 years agohaskell: Fix exception on literal empty list
Dov Murik [Mon, 28 Mar 2016 19:21:51 +0000 (15:21 -0400)]
haskell: Fix exception on literal empty list

Issue #190

8 years agominiMAL: Fix exception on literal empty list
Dov Murik [Mon, 28 Mar 2016 19:13:54 +0000 (15:13 -0400)]
miniMAL: Fix exception on literal empty list

Issue #190

8 years agoocaml: Fix exception on literal empty list
Dov Murik [Mon, 28 Mar 2016 19:13:05 +0000 (15:13 -0400)]
ocaml: Fix exception on literal empty list

Issue #190

8 years agoMerge pull request #192 from joostkremers/guide
Joel Martin [Mon, 28 Mar 2016 15:56:00 +0000 (10:56 -0500)]
Merge pull request #192 from joostkremers/guide

Several fixes to the guide

8 years agoelixir: Fix exception on literal empty list
Dov Murik [Mon, 28 Mar 2016 03:07:36 +0000 (23:07 -0400)]
elixir: Fix exception on literal empty list

Issue #190

8 years agogo: Fix panic on literal empty list
Dov Murik [Mon, 28 Mar 2016 02:47:58 +0000 (22:47 -0400)]
go: Fix panic on literal empty list

Issue #190

8 years agoperl: Fix exception on literal empty list
Dov Murik [Mon, 28 Mar 2016 02:40:21 +0000 (22:40 -0400)]
perl: Fix exception on literal empty list

Issue #190

8 years agoracket: Fix exception on literal empty list
Dov Murik [Mon, 28 Mar 2016 02:33:20 +0000 (22:33 -0400)]
racket: Fix exception on literal empty list

Issue #190

8 years agolua: Fix exception on literal empty list
Dov Murik [Mon, 28 Mar 2016 02:26:14 +0000 (22:26 -0400)]
lua: Fix exception on literal empty list

Issue #190

8 years agoc: Fix segfault on literal empty list
Dov Murik [Mon, 28 Mar 2016 02:21:04 +0000 (22:21 -0400)]
c: Fix segfault on literal empty list

Issue #190

8 years agovimscript: Fix exception on literal empty list
Dov Murik [Mon, 28 Mar 2016 02:12:19 +0000 (22:12 -0400)]
vimscript: Fix exception on literal empty list

Issue #190

8 years agotcl: Fix exception on literal empty list
Dov Murik [Mon, 28 Mar 2016 01:57:12 +0000 (21:57 -0400)]
tcl: Fix exception on literal empty list

Issue #190

8 years agoruby: Fix exception on literal empty list
Dov Murik [Mon, 28 Mar 2016 01:27:56 +0000 (21:27 -0400)]
ruby: Fix exception on literal empty list

Issue #190

8 years agomal: Fix exception on literal empty list
Dov Murik [Mon, 28 Mar 2016 02:00:31 +0000 (22:00 -0400)]
mal: Fix exception on literal empty list

Issue #190

8 years agojs: Fix exception on literal empty list
Dov Murik [Mon, 28 Mar 2016 01:42:36 +0000 (21:42 -0400)]
js: Fix exception on literal empty list

Issue #190

8 years agocoffee: Fix exception on literal empty list
Dov Murik [Mon, 28 Mar 2016 02:04:55 +0000 (22:04 -0400)]
coffee: Fix exception on literal empty list

Issue #190

8 years agoprocess: Add literal empty list check to step3-stepA
Dov Murik [Mon, 28 Mar 2016 02:15:51 +0000 (22:15 -0400)]
process: Add literal empty list check to step3-stepA

8 years agotests: Add test for literal empty list in step3
Dov Murik [Mon, 28 Mar 2016 02:15:30 +0000 (22:15 -0400)]
tests: Add test for literal empty list in step3

8 years agoES6: fix *ARGV* to be symbol.
Joel Martin [Sun, 27 Mar 2016 21:45:20 +0000 (16:45 -0500)]
ES6: fix *ARGV* to be symbol.

8 years agoREADME: note Chris Moore created the Ada implementation.
Joel Martin [Sun, 27 Mar 2016 21:42:47 +0000 (16:42 -0500)]
README: note Chris Moore created the Ada implementation.

8 years agoMerge pull request #191 from zmower/ada
Joel Martin [Sun, 27 Mar 2016 21:38:18 +0000 (16:38 -0500)]
Merge pull request #191 from zmower/ada

An Ada implementation of mal

8 years agoAda: update README.md and add prompt to stepA
Chris M Moore [Sat, 26 Mar 2016 15:33:29 +0000 (15:33 +0000)]
Ada: update README.md and add prompt to stepA

8 years agoSeveral fixes to the guide
Joost Kremers [Fri, 25 Mar 2016 20:08:11 +0000 (21:08 +0100)]
Several fixes to the guide

8 years agoMerge branch 'master' into ada
Chris M Moore [Fri, 25 Mar 2016 16:15:54 +0000 (16:15 +0000)]
Merge branch 'master' into ada

8 years agoAda: change *ARGV* and *host-language* to strings
Chris M Moore [Fri, 25 Mar 2016 13:24:57 +0000 (13:24 +0000)]
Ada: change *ARGV* and *host-language* to strings

8 years agoAda: rework strings part 3 : strings are stored, printed and returned without the...
Chris M Moore [Fri, 25 Mar 2016 12:55:27 +0000 (12:55 +0000)]
Ada: rework strings part 3 : strings are stored, printed and returned without the quotes

8 years agoAda: rework strings part 2 : New_String_Mal_Type adds the quotes in
Chris M Moore [Fri, 25 Mar 2016 12:19:22 +0000 (12:19 +0000)]
Ada: rework strings part 2 : New_String_Mal_Type adds the quotes in

8 years agoAda: rework strings part 1 : Get_String returns the string minus the quotes
Chris M Moore [Fri, 25 Mar 2016 11:33:33 +0000 (11:33 +0000)]
Ada: rework strings part 1 : Get_String returns the string minus the quotes

8 years agoAda: add ada to .travis.yml
Chris M Moore [Fri, 25 Mar 2016 11:02:49 +0000 (11:02 +0000)]
Ada: add ada to .travis.yml

8 years agoAda: add Dockerfile
Chris M Moore [Fri, 25 Mar 2016 10:58:13 +0000 (10:58 +0000)]
Ada: add Dockerfile

8 years agoMerge pull request #189 from Wilfred/guide_subheading
Joel Martin [Fri, 25 Mar 2016 02:11:44 +0000 (21:11 -0500)]
Merge pull request #189 from Wilfred/guide_subheading

Tweaking text in guide.

8 years agoTweaking text in guide.
Wilfred Hughes [Thu, 24 Mar 2016 21:49:00 +0000 (21:49 +0000)]
Tweaking text in guide.

Referring to the pseudocode in the process/ directory is important, but
it's easy to miss that detail when reading the guide for the first time.

Similarly, it's important to add a new Makefile in many cases, so
reformat to draw attention to that.

8 years agoMerge pull request #188 from dubek/guide-toc
Joel Martin [Wed, 23 Mar 2016 15:42:22 +0000 (10:42 -0500)]
Merge pull request #188 from dubek/guide-toc

process/guide.md: Add TOC; fix heading levels

8 years agoprocess/guide.md: Add TOC; fix heading levels
Dov Murik [Wed, 23 Mar 2016 03:41:10 +0000 (23:41 -0400)]
process/guide.md: Add TOC; fix heading levels

8 years agoAda: -O3 for some perf tests
Chris M Moore [Tue, 22 Mar 2016 23:11:30 +0000 (23:11 +0000)]
Ada: -O3 for some perf tests

8 years agoAda: steps 3 and 4 do need eval_callback
Chris M Moore [Tue, 22 Mar 2016 22:59:31 +0000 (22:59 +0000)]
Ada: steps 3 and 4 do need eval_callback

8 years agoAda: fix Makefile and re-write early steps to remove some dependencies
Chris M Moore [Tue, 22 Mar 2016 22:30:39 +0000 (22:30 +0000)]
Ada: fix Makefile and re-write early steps to remove some dependencies

8 years agoAda: remove lambda from eval_ast
Chris M Moore [Tue, 22 Mar 2016 20:24:25 +0000 (20:24 +0000)]
Ada: remove lambda from eval_ast

8 years agoAda: fix script/command line mode
Chris M Moore [Tue, 22 Mar 2016 20:16:35 +0000 (20:16 +0000)]
Ada: fix script/command line mode