jackhill/mal.git
8 years agoAdd Hints wiki page.
Joel Martin [Wed, 4 May 2016 06:10:34 +0000 (01:10 -0500)]
Add Hints wiki page.

8 years agoplpgsql: fix env.sql envs.sql in stats target.
Joel Martin [Tue, 3 May 2016 17:21:57 +0000 (12:21 -0500)]
plpgsql: fix env.sql envs.sql in stats target.

8 years agoplpgsql: fix Makefile stats targets.
Joel Martin [Tue, 3 May 2016 17:19:49 +0000 (12:19 -0500)]
plpgsql: fix Makefile stats targets.

8 years agoplpgsql: schema namespaces. refactor IO.
Joel Martin [Tue, 3 May 2016 04:02:29 +0000 (23:02 -0500)]
plpgsql: schema namespaces. refactor IO.

- move each file to a schema namespace. Don't recreate DB, just the
  schemas. This is much faster and avoids the error about user still
  using the DB when recreating the DB.
- combine RUN and MAIN_LOOP into MAIN routine.
- add open column to streams table
- close stream 1 in MAIN

8 years agoplpgsql: another attempt using travis user.
Joel Martin [Sat, 30 Apr 2016 04:12:38 +0000 (23:12 -0500)]
plpgsql: another attempt using travis user.

8 years agoplpgsql: try again with Travis user/sudo permissions.
Joel Martin [Fri, 29 Apr 2016 22:50:49 +0000 (17:50 -0500)]
plpgsql: try again with Travis user/sudo permissions.

This time sudo inside the entrypoint only for starting postgres
service.

8 years agoplpgsql: set WORKDIR in Dockerfile.
Joel Martin [Fri, 29 Apr 2016 22:37:59 +0000 (17:37 -0500)]
plpgsql: set WORKDIR in Dockerfile.

8 years agoplpgsql: minor tweaks to Dockerfile to work with Travis.
Joel Martin [Fri, 29 Apr 2016 22:27:37 +0000 (17:27 -0500)]
plpgsql: minor tweaks to Dockerfile to work with Travis.

Travis runs as user 1001, make that a user in the container too and
use sudo to launch the entrypoint as the postgres user.

8 years agoTravis: enable plpgsql.
Joel Martin [Fri, 29 Apr 2016 20:58:09 +0000 (15:58 -0500)]
Travis: enable plpgsql.

8 years agoplpgsql: add to README.
Joel Martin [Thu, 31 Mar 2016 06:09:08 +0000 (01:09 -0500)]
plpgsql: add to README.

8 years agoplpgsql: testing via Makefile/Docker container.
Joel Martin [Thu, 31 Mar 2016 06:04:15 +0000 (01:04 -0500)]
plpgsql: testing via Makefile/Docker container.

- Add Dockerfile for an image with postgres installed that
  automatically starts the server when the docker image is started.
- Fix Unicode issue with keywords that caused "requested character too
  large for encoding: 670" when used with rebuilt docker image.
  Switched from 0x29e (670) to 0x7f (127) as the keyword string
  prefix.
- Add default PSQL user as "postgres" in wrap.sh

8 years agoplpgsql: fix issues with repeated calls to wrap.sh
Joel Martin [Thu, 31 Mar 2016 05:45:01 +0000 (00:45 -0500)]
plpgsql: fix issues with repeated calls to wrap.sh

8 years agoplpgsql: remove type table. Fix slurp.
Joel Martin [Thu, 31 Mar 2016 05:38:35 +0000 (00:38 -0500)]
plpgsql: remove type table. Fix slurp.

- Use COPY FROM PROGRAM to invoke sed to double backslashes before
  reading into the table.

8 years agoplpgsql: refactor/remove collection table. Add seq/conj.
Joel Martin [Thu, 31 Mar 2016 04:58:03 +0000 (23:58 -0500)]
plpgsql: refactor/remove collection table. Add seq/conj.

8 years agoplpgsql: add time-ms, use bigints, add indexes for perf.
Joel Martin [Sat, 26 Mar 2016 06:44:43 +0000 (01:44 -0500)]
plpgsql: add time-ms, use bigints, add indexes for perf.

8 years agoplpgsql: restructure I/O to allow input in command mode.
Joel Martin [Sat, 26 Mar 2016 05:41:35 +0000 (00:41 -0500)]
plpgsql: restructure I/O to allow input in command mode.

8 years agoplpgsql: stepA, hash-maps, metadata.
Joel Martin [Sat, 26 Mar 2016 04:11:40 +0000 (23:11 -0500)]
plpgsql: stepA, hash-maps, metadata.

8 years agoplpgsql: IO using stream table. Add keywords.
Joel Martin [Fri, 25 Mar 2016 05:05:54 +0000 (00:05 -0500)]
plpgsql: IO using stream table. Add keywords.

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