Dov Murik [Thu, 12 May 2016 12:51:19 +0000 (08:51 -0400)]
factor: Set *ARGV* and run command-line script correctly in step6-stepA
Dov Murik [Wed, 11 May 2016 20:29:33 +0000 (16:29 -0400)]
r: Fix setting *ARGV*
Dov Murik [Wed, 11 May 2016 20:11:18 +0000 (16:11 -0400)]
js: Fix setting *ARGV* in step6 & step7
Dov Murik [Wed, 11 May 2016 20:01:15 +0000 (16:01 -0400)]
fsharp: When executing a mal script, don't print the final return value
Dov Murik [Wed, 11 May 2016 19:51:22 +0000 (15:51 -0400)]
erlang: When executing a mal script, don't print the final return value
Dov Murik [Wed, 11 May 2016 19:50:19 +0000 (15:50 -0400)]
cpp: When executing a mal script, don't print the final return value
Dov Murik [Wed, 11 May 2016 19:48:21 +0000 (15:48 -0400)]
ocaml: Remove debug prints in step6 & step7
Dov Murik [Tue, 10 May 2016 19:28:29 +0000 (15:28 -0400)]
tests: Test *ARGV* is set correctly in step 6
Add new mini test harness run_argv_test.sh to run the Mal interpreter
with different command-line arguments and test the stdout of that
process.
The main Makefile will automatically run the new harness whenever step 6
is tested (either directly or during REGRESS=1 of a more advanced step).
Joel Martin [Wed, 11 May 2016 14:03:50 +0000 (09:03 -0500)]
Merge pull request #211 from dubek/racket-fix-argv
racket: Set *ARGV* correctly
Dov Murik [Wed, 11 May 2016 13:02:36 +0000 (09:02 -0400)]
racket: Set *ARGV* correctly
Joel Martin [Tue, 10 May 2016 17:41:44 +0000 (12:41 -0500)]
Merge pull request #210 from dubek/test-slurp-newline
tests: Test slurp captures final newline in step6
Dov Murik [Tue, 10 May 2016 16:36:06 +0000 (12:36 -0400)]
tests: Test slurp captures final newline in step6
Joel Martin [Tue, 10 May 2016 15:43:38 +0000 (10:43 -0500)]
Link to cheatsheet at gh-pages.
Joel Martin [Tue, 10 May 2016 15:34:05 +0000 (10:34 -0500)]
Add cheatsheet. Link to it from guide.
Joel Martin [Tue, 10 May 2016 15:26:39 +0000 (10:26 -0500)]
Use more common spelling of deferrable.
Deferable is apprently a less common but correct spelling.
Joel Martin [Mon, 9 May 2016 23:00:49 +0000 (18:00 -0500)]
Makefile/runtest/tests: deferable/optional options
- tests/*: marked with deferable and optional runtest flags. Some
moving around of tests within different sections to more closely
align with the guide.
- runtest.py has --deferable/--no-deferable and
--optional/--no-optional to control whether tests marked as
deferable and optional are tested.
- Makefile: DEFERABLE and OPTIONAL top level flags to be passed to
runtest when running tests.
- Also, fix problems in java quoting revealed by step7 test changes.
Joel Martin [Mon, 9 May 2016 22:46:42 +0000 (17:46 -0500)]
guide: update step9, stepA diagrams.
- Add single arg `prn` as mandatory in step4 (for testing do
side-effects).
- Re-order some deferables in the guide to more closely match the
tests.
Joel Martin [Mon, 9 May 2016 16:13:30 +0000 (11:13 -0500)]
Merge pull request #208 from dubek/vim-fix-time-ms
vimscript: implement time-ms in C
Joel Martin [Mon, 9 May 2016 16:12:21 +0000 (11:12 -0500)]
Merge pull request #209 from dubek/python-interop
python: Fix interop (py*, py!*)
Dov Murik [Mon, 9 May 2016 05:39:45 +0000 (01:39 -0400)]
python: Fix interop (py*, py!*)
py!*: Fix to work on both Python 2 and 3.
py*: Python types are converted to Mal types where applicable.
Added tests for Python interop.
Dov Murik [Mon, 9 May 2016 04:21:15 +0000 (00:21 -0400)]
docs/Hints: vimscript no longer shells out in time-ms
Dov Murik [Mon, 9 May 2016 04:16:52 +0000 (00:16 -0400)]
vimscript: implement time-ms in a C function
Instead of shelling out to `date`, implement time-ms as a C function in
the vimextras.c library (which was already used for readline()).
Since Vim numbers can only hold numbers up to 32-bit, we return the
number of milliseconds since 2000 and not since 1970.
Dov Murik [Mon, 9 May 2016 04:11:59 +0000 (00:11 -0400)]
vimscript: rename libvimreadline -> libvimextras
Joel Martin [Thu, 5 May 2016 20:30:46 +0000 (15:30 -0500)]
Merge pull request #207 from dubek/vhdl
Add VHDL implementation
Dov Murik [Thu, 5 May 2016 20:06:28 +0000 (16:06 -0400)]
vhdl: Update Dockerfile, add Travis-CI build
Dov Murik [Wed, 23 Mar 2016 20:03:58 +0000 (16:03 -0400)]
Add VHDL implementation
Dov Murik [Thu, 5 May 2016 01:25:58 +0000 (21:25 -0400)]
docs/Hints: add questions about command-line arguments
Joel Martin [Wed, 4 May 2016 19:24:04 +0000 (14:24 -0500)]
Hints.md: fix formatting.
Joel Martin [Wed, 4 May 2016 06:10:34 +0000 (01:10 -0500)]
Add Hints wiki page.
Joel Martin [Tue, 3 May 2016 17:21:57 +0000 (12:21 -0500)]
plpgsql: fix env.sql envs.sql in stats target.
Joel Martin [Tue, 3 May 2016 17:19:49 +0000 (12:19 -0500)]
plpgsql: fix Makefile stats targets.
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
Joel Martin [Sat, 30 Apr 2016 04:12:38 +0000 (23:12 -0500)]
plpgsql: another attempt using travis user.
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.
Joel Martin [Fri, 29 Apr 2016 22:37:59 +0000 (17:37 -0500)]
plpgsql: set WORKDIR in Dockerfile.
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.
Joel Martin [Fri, 29 Apr 2016 20:58:09 +0000 (15:58 -0500)]
Travis: enable plpgsql.
Joel Martin [Thu, 31 Mar 2016 06:09:08 +0000 (01:09 -0500)]
plpgsql: add to README.
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
Joel Martin [Thu, 31 Mar 2016 05:45:01 +0000 (00:45 -0500)]
plpgsql: fix issues with repeated calls to wrap.sh
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.
Joel Martin [Thu, 31 Mar 2016 04:58:03 +0000 (23:58 -0500)]
plpgsql: refactor/remove collection table. Add seq/conj.
Joel Martin [Sat, 26 Mar 2016 06:44:43 +0000 (01:44 -0500)]
plpgsql: add time-ms, use bigints, add indexes for perf.
Joel Martin [Sat, 26 Mar 2016 05:41:35 +0000 (00:41 -0500)]
plpgsql: restructure I/O to allow input in command mode.
Joel Martin [Sat, 26 Mar 2016 04:11:40 +0000 (23:11 -0500)]
plpgsql: stepA, hash-maps, metadata.
Joel Martin [Fri, 25 Mar 2016 05:05:54 +0000 (00:05 -0500)]
plpgsql: IO using stream table. Add keywords.
Joel Martin [Fri, 25 Mar 2016 02:12:48 +0000 (21:12 -0500)]
tests: make throw of non-strings optional/soft.
Joel Martin [Fri, 25 Mar 2016 02:10:10 +0000 (21:10 -0500)]
plpgsql: add steps7-9
Joel Martin [Tue, 22 Mar 2016 05:53:31 +0000 (00:53 -0500)]
plpgsql: steps 4-6.
Joel Martin [Tue, 22 Mar 2016 01:28:08 +0000 (20:28 -0500)]
plpgsql (Postgres PL/pgSQL): steps 0-3.
Joel Martin [Sat, 30 Apr 2016 14:18:48 +0000 (09:18 -0500)]
Merge pull request #205 from Wilfred/fix_link
Fix 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
Joel Martin [Thu, 28 Apr 2016 20:10:37 +0000 (15:10 -0500)]
FAQ: add question about * and ! endings on forms.
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
Dov Murik [Wed, 27 Apr 2016 21:19:48 +0000 (17:19 -0400)]
process/guide: add vector and hash-map evaluation in step 2
Joel Martin [Sat, 23 Apr 2016 17:42:15 +0000 (12:42 -0500)]
Merge pull request #202 from leafac/patch-1
Fix typos
Leandro Facchinetti [Sat, 23 Apr 2016 15:42:12 +0000 (11:42 -0400)]
Fix typos
Joel Martin [Wed, 20 Apr 2016 15:42:10 +0000 (10:42 -0500)]
Merge pull request #201 from leafac/patch-1
Fix space
Leandro Facchinetti [Wed, 20 Apr 2016 06:16:49 +0000 (02:16 -0400)]
Fix space
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
Leandro Facchinetti [Tue, 19 Apr 2016 19:49:15 +0000 (15:49 -0400)]
Fix typo in FAQ
`qestion` -> `question`.
Joel Martin [Sat, 16 Apr 2016 16:43:50 +0000 (11:43 -0500)]
README: fix clojurewest path and add midwest.io links.
Joel Martin [Mon, 11 Apr 2016 17:15:21 +0000 (12:15 -0500)]
JS: fix typo in interop.js
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
Joel Martin [Fri, 8 Apr 2016 13:44:57 +0000 (08:44 -0500)]
Travis: Add OS X build of Swift3.
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.
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.
Keith Rollin [Fri, 8 Apr 2016 02:44:58 +0000 (19:44 -0700)]
Port swift3 to OSX.
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
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
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
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.
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
Chris M Moore [Sun, 3 Apr 2016 15:16:02 +0000 (16:16 +0100)]
Ada: add () fix to step2
Dov Murik [Sun, 3 Apr 2016 03:18:30 +0000 (23:18 -0400)]
process: Fix step2_eval.txt to "handle" empty literal lists
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.
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.
Joel Martin [Sat, 2 Apr 2016 22:28:40 +0000 (17:28 -0500)]
tests: move empty list test from step3 to step2.
Joel Martin [Sat, 2 Apr 2016 22:27:57 +0000 (17:27 -0500)]
swift3: fix empty list evaluation.
Part of #194.
Joel Martin [Sat, 2 Apr 2016 22:27:43 +0000 (17:27 -0500)]
objpascal: fix empty list evaluation.
Part of #194.
Joel Martin [Sat, 2 Apr 2016 22:27:25 +0000 (17:27 -0500)]
objc: fix empty list evaluation.
Part of #194.
Joel Martin [Sat, 2 Apr 2016 22:26:53 +0000 (17:26 -0500)]
matlab: fix empty list evaluation.
Part of #194.
Chris M Moore [Sat, 2 Apr 2016 19:15:46 +0000 (20:15 +0100)]
Ada: empty list fix (issue #194)
Dov Murik [Fri, 1 Apr 2016 20:49:55 +0000 (16:49 -0400)]
make: Fix empty/nil value for literal empty list
Issue #190
Dov Murik [Fri, 1 Apr 2016 20:23:45 +0000 (16:23 -0400)]
haxe: Fix exception on literal empty list
Issue #190
Dov Murik [Fri, 1 Apr 2016 20:15:42 +0000 (16:15 -0400)]
factor: Fix exception on literal empty list
Issue #190
Dov Murik [Fri, 1 Apr 2016 02:31:49 +0000 (22:31 -0400)]
scala: Fix exception on literal empty list
Issue #190
Dov Murik [Fri, 1 Apr 2016 01:42:23 +0000 (21:42 -0400)]
groovy: Fix exception on literal empty list
Issue #190
Dov Murik [Thu, 31 Mar 2016 18:52:41 +0000 (14:52 -0400)]
crystal: Fix exception on literal empty list in step3
Issue #190
Dov Murik [Thu, 31 Mar 2016 18:46:28 +0000 (14:46 -0400)]
bash: Fix crash on literal empty list
Issue #190
Dov Murik [Thu, 31 Mar 2016 18:33:32 +0000 (14:33 -0400)]
d: Fix crash on literal empty list
Issue #190
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
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).
Dov Murik [Wed, 30 Mar 2016 18:28:50 +0000 (14:28 -0400)]
forth: Fix exception on literal empty list
Issue #190
Dov Murik [Wed, 30 Mar 2016 17:15:23 +0000 (13:15 -0400)]
ps: Fix exception on literal empty list
Issue #190
Dov Murik [Wed, 30 Mar 2016 15:28:53 +0000 (11:28 -0400)]
es6: Fix exception on literal empty list
Issue #190
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
Dov Murik [Wed, 30 Mar 2016 14:28:49 +0000 (10:28 -0400)]
clojure: Fix exception on literal empty list
Issue #190
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.
Dov Murik [Wed, 30 Mar 2016 14:06:14 +0000 (10:06 -0400)]
kotlin: Fix exception on literal empty list
Issue #190