jackhill/mal.git
8 years agoAda: add symbol and symbol?
Chris M Moore [Sat, 2 Jan 2016 18:42:48 +0000 (18:42 +0000)]
Ada: add symbol and symbol?

8 years agoAda: added map function (step 9)
Chris M Moore [Tue, 29 Dec 2015 22:11:52 +0000 (22:11 +0000)]
Ada: added map function (step 9)

8 years agoAda: a reader tail call optimisation
Chris M Moore [Tue, 29 Dec 2015 22:10:50 +0000 (22:10 +0000)]
Ada: a reader tail call optimisation

8 years agoAda: fix comments (reader) and let_proessings use of env (hidden state)
Chris M Moore [Thu, 24 Dec 2015 16:26:34 +0000 (16:26 +0000)]
Ada: fix comments (reader) and let_proessings use of env (hidden state)

8 years agoAda: fix the macroexpand functions parameter
Chris M Moore [Mon, 21 Dec 2015 22:58:07 +0000 (22:58 +0000)]
Ada: fix the macroexpand functions parameter

8 years agoAda: rewrote reader to remove opentoken dependency
Chris M Moore [Wed, 16 Dec 2015 22:18:15 +0000 (22:18 +0000)]
Ada: rewrote reader to remove opentoken dependency

8 years agoAda: nth implmented + test fixes
Chris M Moore [Thu, 26 Nov 2015 22:43:11 +0000 (22:43 +0000)]
Ada: nth implmented + test fixes

8 years agoAda: added throw
Chris M Moore [Tue, 20 Oct 2015 22:02:58 +0000 (23:02 +0100)]
Ada: added throw

8 years agoAda: ada catch
Chris M Moore [Sun, 18 Oct 2015 10:49:00 +0000 (11:49 +0100)]
Ada: ada catch

8 years agoAda: change the list implementation and add most of the nth function
Chris M Moore [Fri, 14 Aug 2015 21:18:59 +0000 (22:18 +0100)]
Ada: change the list implementation and add most of the nth function

8 years agoAda: add Cond and Or macros
Chris M Moore [Wed, 12 Aug 2015 09:12:39 +0000 (10:12 +0100)]
Ada: add Cond and Or macros

8 years agoAda: add First and Rest funcs
Chris M Moore [Wed, 12 Aug 2015 09:11:55 +0000 (10:11 +0100)]
Ada: add First and Rest funcs

8 years agoAda: add step8 macros
Chris M Moore [Tue, 11 Aug 2015 21:42:47 +0000 (22:42 +0100)]
Ada: add step8 macros

8 years agoAda: add splice-unquote and remove is_pair
Chris M Moore [Sun, 9 Aug 2015 15:53:45 +0000 (16:53 +0100)]
Ada: add splice-unquote and remove is_pair

8 years agoAda: add unquote, change cons and concat to always return List_Lists and change reade...
Chris M Moore [Sat, 8 Aug 2015 08:30:32 +0000 (09:30 +0100)]
Ada: add unquote, change cons and concat to always return List_Lists and change reader to return lists instead of Unitary (mostly)

8 years agoAda: make vars/exceptions more local in read_list
Chris M Moore [Fri, 7 Aug 2015 20:57:57 +0000 (21:57 +0100)]
Ada: make vars/exceptions more local in read_list

8 years agoAda: add missing Is_Pair body
Chris M Moore [Fri, 7 Aug 2015 19:25:21 +0000 (20:25 +0100)]
Ada: add missing Is_Pair body

8 years agoAda: added quasiquote
Chris M Moore [Fri, 7 Aug 2015 08:20:30 +0000 (09:20 +0100)]
Ada: added quasiquote

8 years agoAda; add quote special form
Chris M Moore [Mon, 27 Jul 2015 21:44:05 +0000 (22:44 +0100)]
Ada; add quote special form

8 years agoAda: Fix Concat with null list result.
Chris M Moore [Thu, 9 Jul 2015 17:42:36 +0000 (18:42 +0100)]
Ada: Fix Concat with null list result.

8 years agoAda: first pass of Cons and Concat
Chris M Moore [Wed, 8 Jul 2015 22:18:19 +0000 (23:18 +0100)]
Ada: first pass of Cons and Concat

9 years agoAda: quieter + dont crash when arith op with nil
Chris M Moore [Tue, 9 Jun 2015 19:59:05 +0000 (20:59 +0100)]
Ada: quieter + dont crash when arith op with nil

9 years agoAda: add *ARGV*
Chris M Moore [Sat, 30 May 2015 16:12:57 +0000 (17:12 +0100)]
Ada: add *ARGV*

9 years agoAda: fix comments in file and a null dereference
Chris M Moore [Sat, 30 May 2015 15:14:31 +0000 (16:14 +0100)]
Ada: fix comments in file and a null dereference

9 years agoAda: step6 mostly works
Chris M Moore [Thu, 21 May 2015 21:31:44 +0000 (22:31 +0100)]
Ada: step6 mostly works

9 years agoAda: add step5.
Chris M Moore [Mon, 4 May 2015 15:54:51 +0000 (16:54 +0100)]
Ada: add step5.

9 years agoAda: updated debian from wheezy to jessie (opentoken changes)
Chris M Moore [Sun, 3 May 2015 16:31:28 +0000 (17:31 +0100)]
Ada: updated debian from wheezy to jessie (opentoken changes)

9 years agoAda: print funcs added (step 4 complete)
Chris M Moore [Fri, 1 May 2015 21:55:52 +0000 (22:55 +0100)]
Ada: print funcs added (step 4 complete)

9 years agoAda: remove Envs.String_Hash and replace with standard ada one
Chris M Moore [Sun, 26 Apr 2015 19:09:18 +0000 (20:09 +0100)]
Ada: remove Envs.String_Hash and replace with standard ada one

9 years agoAda: add variable length args (bind)
Chris M Moore [Sun, 26 Apr 2015 18:28:22 +0000 (19:28 +0100)]
Ada: add variable length args (bind)

9 years agoAda: added core package + cleanups (inc func call Mal_Type for builtins)
Chris M Moore [Sun, 26 Apr 2015 16:15:58 +0000 (17:15 +0100)]
Ada: added core package + cleanups (inc func call Mal_Type for builtins)

9 years agoAda: added not function
Chris M Moore [Wed, 22 Apr 2015 21:26:29 +0000 (22:26 +0100)]
Ada: added not function

9 years agoAda: closures work!
Chris M Moore [Wed, 22 Apr 2015 21:25:57 +0000 (22:25 +0100)]
Ada: closures work!

9 years agoAda: step4 even closer
Chris M Moore [Wed, 22 Apr 2015 20:27:43 +0000 (21:27 +0100)]
Ada:  step4 even closer

9 years agoAda: step4 almost there.
Chris M Moore [Sun, 19 Apr 2015 17:08:51 +0000 (18:08 +0100)]
Ada: step4 almost there.

9 years agoAda: Remove Sym_Mal_Type; just a special case of Atom
Chris M Moore [Mon, 6 Apr 2015 12:10:39 +0000 (13:10 +0100)]
Ada: Remove Sym_Mal_Type; just a special case of Atom

9 years agoAda: step 3 complete
Chris M Moore [Sun, 5 Apr 2015 19:27:47 +0000 (20:27 +0100)]
Ada: step 3 complete

9 years agoAda: keywords aren't evaluated
Chris M Moore [Fri, 3 Apr 2015 13:48:10 +0000 (14:48 +0100)]
Ada: keywords aren't evaluated

9 years agoAda: change types.smart_pointer to Mal_Handle
Chris M Moore [Fri, 3 Apr 2015 13:35:24 +0000 (14:35 +0100)]
Ada: change types.smart_pointer to Mal_Handle

9 years agoAda: Add Not Found exception and error messages
Chris M Moore [Thu, 2 Apr 2015 21:34:55 +0000 (22:34 +0100)]
Ada: Add Not Found exception and error messages

9 years agoAda: make envs package more step3 like
Chris M Moore [Thu, 2 Apr 2015 20:40:22 +0000 (21:40 +0100)]
Ada: make envs package more step3 like

9 years agoAda: Step 2 added.
Chris M Moore [Wed, 1 Apr 2015 22:36:29 +0000 (23:36 +0100)]
Ada: Step 2 added.

9 years agoAda: change Mal_Type to a class (tagged record)
Chris M Moore [Sat, 28 Mar 2015 18:44:29 +0000 (18:44 +0000)]
Ada: change Mal_Type to a class (tagged record)

9 years agoAda: add reference counting
Chris Moore [Sun, 22 Mar 2015 22:37:42 +0000 (22:37 +0000)]
Ada: add reference counting

9 years agoAda: don't use standard Float/Integer types
Chris M Moore [Sat, 21 Mar 2015 16:40:03 +0000 (16:40 +0000)]
Ada: don't use standard Float/Integer types

9 years agoAda: add deref (stage 1 complete)
Chris M Moore [Thu, 19 Mar 2015 22:19:13 +0000 (22:19 +0000)]
Ada: add deref (stage 1 complete)

9 years agoAda: add with-meta and filter out formless lines
Chris M Moore [Wed, 18 Mar 2015 22:30:45 +0000 (22:30 +0000)]
Ada: add with-meta and filter out formless lines

9 years agoAda: add error detection and recovery
Chris M Moore [Wed, 18 Mar 2015 21:12:54 +0000 (21:12 +0000)]
Ada: add error detection and recovery

9 years agoAda: add keywords (well atoms beginning with :)
Chris M Moore [Tue, 17 Mar 2015 14:25:14 +0000 (14:25 +0000)]
Ada: add keywords (well atoms beginning with :)

9 years agoAda: merge to latest baseline
Chris M Moore [Tue, 17 Mar 2015 14:23:27 +0000 (14:23 +0000)]
Ada: merge to latest baseline

9 years agoMerge pull request #45 from sdt/typofix-perl-clone
Joel Martin [Tue, 17 Mar 2015 00:57:15 +0000 (19:57 -0500)]
Merge pull request #45 from sdt/typofix-perl-clone

Test case & fix for typo in Perl _clone implementation

9 years agoFix typo in perl _clone()
Stephen Thirlwall [Tue, 17 Mar 2015 00:11:38 +0000 (11:11 +1100)]
Fix typo in perl _clone()

I stumbled over this cun-t-paste error in the perl implementation.

9 years agoAdd test that (with-meta X ...) returns an X
Stephen Thirlwall [Tue, 17 Mar 2015 00:10:39 +0000 (11:10 +1100)]
Add test that (with-meta X ...) returns an X

9 years agoAda: add float
Chris M Moore [Mon, 16 Mar 2015 22:48:48 +0000 (22:48 +0000)]
Ada: add float

9 years agoMerge pull request #44 from sdt/step9-typo-fix
Joel Martin [Mon, 16 Mar 2015 14:51:21 +0000 (09:51 -0500)]
Merge pull request #44 from sdt/step9-typo-fix

Remove extra ) from step9 test snippet

9 years agoMerge pull request #43 from sdt/step9-apply-user-fn-test
Joel Martin [Mon, 16 Mar 2015 14:50:47 +0000 (09:50 -0500)]
Merge pull request #43 from sdt/step9-apply-user-fn-test

Step 9 apply tests test user fns as well as core

9 years agoRemove extra ) from step9 test snippet
Stephen Thirlwall [Mon, 16 Mar 2015 05:55:34 +0000 (16:55 +1100)]
Remove extra ) from step9 test snippet

My reader complains if there is extra input after the top-level
read_form, so this test was inadvertently failing for me.

9 years agoStep 9 apply tests test user fns as well as core
Stephen Thirlwall [Mon, 16 Mar 2015 05:30:56 +0000 (16:30 +1100)]
Step 9 apply tests test user fns as well as core

I had a bug in my apply core function. It worked for core functions, but
not for user-defined functions.

This bug escaped direct testing, but caused problems in self-host
testing.

Here's a couple of simple test cases that catch those errors.

9 years agoAda: add vector and hash
Chris M Moore [Sun, 15 Mar 2015 23:04:48 +0000 (23:04 +0000)]
Ada: add vector and hash

9 years agoAda: add quoting
Chris M Moore [Sun, 15 Mar 2015 22:00:31 +0000 (22:00 +0000)]
Ada: add quoting

9 years agoFAQ: minor cleanup/grammar.
Joel Martin [Sun, 15 Mar 2015 20:47:23 +0000 (15:47 -0500)]
FAQ: minor cleanup/grammar.

9 years agoREADME: link to FAQ and mention #mal (freenode).
Joel Martin [Sun, 15 Mar 2015 20:41:11 +0000 (15:41 -0500)]
README: link to FAQ and mention #mal (freenode).

9 years agoFAQ: mal history and new impl. merge guidelines.
Joel Martin [Sun, 15 Mar 2015 20:35:54 +0000 (15:35 -0500)]
FAQ: mal history and new impl. merge guidelines.

9 years agoAda: remove unused EOLine Mal_Type
Chris M Moore [Sun, 15 Mar 2015 20:30:30 +0000 (20:30 +0000)]
Ada: remove unused EOLine Mal_Type

9 years agoAda: Fix escapable strings
Chris M Moore [Sun, 15 Mar 2015 20:26:55 +0000 (20:26 +0000)]
Ada: Fix escapable strings

9 years agoAda: step1 with opentoken
Chris M Moore [Sun, 15 Mar 2015 19:56:09 +0000 (19:56 +0000)]
Ada: step1 with opentoken

9 years agoFAQ: shorter title.
Joel Martin [Sun, 15 Mar 2015 17:40:13 +0000 (12:40 -0500)]
FAQ: shorter title.

9 years agoAdd FAQ: a couple questions that have come up.
Joel Martin [Sun, 15 Mar 2015 17:37:33 +0000 (12:37 -0500)]
Add FAQ: a couple questions that have come up.

9 years agoMerge pull request #42 from stamourv/master
Joel Martin [Sun, 15 Mar 2015 17:33:13 +0000 (12:33 -0500)]
Merge pull request #42 from stamourv/master

Fix extension for Racket in README.

9 years agoFix extension for Racket in README.
Vincent St-Amour [Sun, 15 Mar 2015 17:01:50 +0000 (13:01 -0400)]
Fix extension for Racket in README.

9 years agoguide: clarify eval function and ARGV.
Joel Martin [Sun, 15 Mar 2015 16:20:05 +0000 (11:20 -0500)]
guide: clarify eval function and ARGV.

9 years agoruntest.py: Ouput current buffer if keyboard interrupt.
Joel Martin [Sun, 15 Mar 2015 15:52:59 +0000 (10:52 -0500)]
runtest.py: Ouput current buffer if keyboard interrupt.

Suggestion on https://github.com/kanaka/mal/issues/40#issuecomment-81015115
by https://github.com/boxed

9 years agoguide: clarify usage of eval_ast in do form.
Joel Martin [Sat, 14 Mar 2015 22:37:54 +0000 (17:37 -0500)]
guide: clarify usage of eval_ast in do form.

9 years agoguide clarifications, but order for step5 tests.
Joel Martin [Sat, 14 Mar 2015 22:34:49 +0000 (17:34 -0500)]
guide clarifications, but order for step5 tests.

9 years agoAll: move metadata, atoms, readline, conj to stepA.
Joel Martin [Sat, 14 Mar 2015 22:14:32 +0000 (17:14 -0500)]
All: move metadata, atoms, readline, conj to stepA.

- Move some of the more optional things (conj, readline) to stepA. All
  implementations pass step9 tests now.
- Move metadata and atoms to stepA.
- Update step9 and stepA diagrams.

9 years agoMerge pull request #41 from epylar/add-outer-tests-step-3
Joel Martin [Sat, 14 Mar 2015 16:58:59 +0000 (11:58 -0500)]
Merge pull request #41 from epylar/add-outer-tests-step-3

Add outer tests to step3_env.mal

9 years agoAdd outer tests to step3_env.mal
Gavin Lewis [Sat, 14 Mar 2015 15:49:12 +0000 (08:49 -0700)]
Add outer tests to step3_env.mal

9 years agotests: add multilevel assoc test.
Joel Martin [Fri, 13 Mar 2015 02:49:58 +0000 (21:49 -0500)]
tests: add multilevel assoc test.

9 years agodocker: build script executable. Skip matlab automatically.
Joel Martin [Thu, 12 Mar 2015 22:41:55 +0000 (17:41 -0500)]
docker: build script executable. Skip matlab automatically.

9 years agoREADME: add docker test environment usage info.
Joel Martin [Thu, 12 Mar 2015 22:29:34 +0000 (17:29 -0500)]
README: add docker test environment usage info.

9 years agoTests: add testing Dockerfile. Impl fixes.
Joel Martin [Thu, 12 Mar 2015 03:22:35 +0000 (22:22 -0500)]
Tests: add testing Dockerfile. Impl fixes.

- tests/docker/Dockerfile: specifies full docker image containing all
  tools/languages (except matlab).
- tests/docker-build.sh: build above image.
- tests/docker-run.sh: launch above image.
    Example: ./tests/docker-run.sh make test^js^step2
- Various fixes across multiple languages:
    - Unicode fixes for bash and R on Ubuntu Utopic
    - readline history fixes for when ~/.mal-history is not available
      or readable/writable. No fatal errors.
    - fixes to work with perl 5.20 (and still perl 5.18)

9 years agoMisc updates to TODO, guide and README.
Joel Martin [Thu, 12 Mar 2015 03:08:21 +0000 (22:08 -0500)]
Misc updates to TODO, guide and README.

- Also, add SKIP_IMPLS option to top-level Makefile to ignore a list
  of implementations. Particularly useful for excluding licensed
  matlab when running tests on system without it (e.g. within
  container).

9 years agotests: add step0_repl.mal test missed earlier.
Joel Martin [Thu, 12 Mar 2015 02:57:12 +0000 (21:57 -0500)]
tests: add step0_repl.mal test missed earlier.

9 years agoruntest.py: split --no-pty from --mono
Joel Martin [Tue, 10 Mar 2015 18:30:14 +0000 (13:30 -0500)]
runtest.py: split --no-pty from --mono

9 years agoMerge pull request #35 from vi/fix_perl_hostlanguage_value
Joel Martin [Tue, 10 Mar 2015 15:18:06 +0000 (10:18 -0500)]
Merge pull request #35 from vi/fix_perl_hostlanguage_value

Fix *host-language* in Perl

9 years agoMerge pull request #38 from steveno/steveno-patch-1-1
Joel Martin [Tue, 10 Mar 2015 15:17:49 +0000 (10:17 -0500)]
Merge pull request #38 from steveno/steveno-patch-1-1

Correct typo

9 years agoMerge pull request #37 from steveno/patch-1
Joel Martin [Tue, 10 Mar 2015 15:17:29 +0000 (10:17 -0500)]
Merge pull request #37 from steveno/patch-1

Correct typo

9 years agoUpdate types.cs
Steven Oliver [Tue, 10 Mar 2015 12:18:01 +0000 (08:18 -0400)]
Update types.cs

9 years agoCorrect typo
Steven Oliver [Tue, 10 Mar 2015 12:15:33 +0000 (08:15 -0400)]
Correct typo

9 years agoFix *host-language* in Perl
Vitaly _Vi Shukela [Tue, 10 Mar 2015 00:49:23 +0000 (03:49 +0300)]
Fix *host-language* in Perl

9 years agoguide: fix typo and unfinished sentence in step 4.
Joel Martin [Mon, 9 Mar 2015 21:17:12 +0000 (16:17 -0500)]
guide: fix typo and unfinished sentence in step 4.

9 years agoRename LICENSE file so it's picked up by github.
Joel Martin [Mon, 9 Mar 2015 19:19:44 +0000 (14:19 -0500)]
Rename LICENSE file so it's picked up by github.

9 years agoMerge pull request #34 from microamp/guide-wrong-file
Joel Martin [Mon, 9 Mar 2015 04:58:29 +0000 (23:58 -0500)]
Merge pull request #34 from microamp/guide-wrong-file

guide: incorrect filename fixed

9 years agoguide: step2_env.qx -> step3_env.qx
james sangho nah [Sun, 8 Mar 2015 09:43:27 +0000 (22:43 +1300)]
guide: step2_env.qx -> step3_env.qx

9 years agoREADME: remove gratuitous parens.
Joel Martin [Sun, 8 Mar 2015 05:56:00 +0000 (23:56 -0600)]
README: remove gratuitous parens.

9 years agoguide: minor cleanup of "let*" section.
Joel Martin [Sat, 7 Mar 2015 21:59:52 +0000 (15:59 -0600)]
guide: minor cleanup of "let*" section.

9 years agoguide: typo.
Joel Martin [Sat, 7 Mar 2015 21:24:22 +0000 (15:24 -0600)]
guide: typo.

9 years agoguide: change optional section to deferrable.
Joel Martin [Sat, 7 Mar 2015 15:06:00 +0000 (09:06 -0600)]
guide: change optional section to deferrable.

- Clarify that this is not the same class as optional tests.
- Also, add deferrable not about adding the original function to the
  value return by `fn*` in step 5. Fixes https://github.com/kanaka/mal/issues/27

9 years agoAll step0: add test, fix bugs, remove step0 eval.
Joel Martin [Sat, 7 Mar 2015 15:04:07 +0000 (09:04 -0600)]
All step0: add test, fix bugs, remove step0 eval.

9 years agoMerge pull request #33 from microamp/typos
Joel Martin [Sat, 7 Mar 2015 14:59:03 +0000 (08:59 -0600)]
Merge pull request #33 from microamp/typos

typos