jackhill/mal.git
9 years agogrammar fix
joelpickup [Sat, 28 Feb 2015 13:48:13 +0000 (13:48 +0000)]
grammar fix

9 years agoREADME: add miniMAL.
Joel Martin [Wed, 25 Feb 2015 06:27:37 +0000 (00:27 -0600)]
README: add miniMAL.

9 years agominiMAL: add classOf and fix printing.
Joel Martin [Thu, 26 Feb 2015 05:01:16 +0000 (23:01 -0600)]
miniMAL: add classOf and fix printing.

9 years agoforth: add Makefile for stats.
Joel Martin [Thu, 26 Feb 2015 04:24:34 +0000 (22:24 -0600)]
forth: add Makefile for stats.

9 years agominiMAL: self-hosting! Add atoms. Fix malfunc.
Joel Martin [Mon, 16 Feb 2015 07:50:04 +0000 (01:50 -0600)]
miniMAL: self-hosting! Add atoms. Fix malfunc.

- refactor malfunc to use objects like others.

9 years agominiMAL: add metadata support.
Joel Martin [Mon, 16 Feb 2015 07:15:35 +0000 (01:15 -0600)]
miniMAL: add metadata support.

9 years agominiMAL: keyword, vector and hash-map support.
Joel Martin [Mon, 16 Feb 2015 06:33:30 +0000 (00:33 -0600)]
miniMAL: keyword, vector and hash-map support.

9 years agominiMAL: stepA. Comments. Add impl Makefile for stats.
Joel Martin [Mon, 16 Feb 2015 06:01:10 +0000 (00:01 -0600)]
miniMAL: stepA. Comments. Add impl Makefile for stats.

9 years agominiMAL: step9
Joel Martin [Mon, 16 Feb 2015 05:33:08 +0000 (23:33 -0600)]
miniMAL: step9

9 years agominiMAL: step8.
Joel Martin [Mon, 16 Feb 2015 04:04:45 +0000 (22:04 -0600)]
miniMAL: step8.

9 years agominiMAL: step7
Joel Martin [Mon, 16 Feb 2015 02:46:19 +0000 (20:46 -0600)]
miniMAL: step7

9 years agominiMAL: step6
Joel Martin [Mon, 16 Feb 2015 02:11:11 +0000 (20:11 -0600)]
miniMAL: step6

9 years agominiMAL: add step5.
Joel Martin [Sun, 15 Feb 2015 23:45:04 +0000 (17:45 -0600)]
miniMAL: add step5.

9 years agominiMAL: step4.
Joel Martin [Sun, 15 Feb 2015 22:34:55 +0000 (16:34 -0600)]
miniMAL: step4.

9 years agominiMAL: add step4 (without functions).
Joel Martin [Thu, 12 Feb 2015 07:11:50 +0000 (01:11 -0600)]
miniMAL: add step4 (without functions).

9 years agominiMAL: step3
Joel Martin [Thu, 12 Feb 2015 05:24:00 +0000 (23:24 -0600)]
miniMAL: step3

9 years agominiMAL: step2
Joel Martin [Thu, 12 Feb 2015 04:31:39 +0000 (22:31 -0600)]
miniMAL: step2

9 years agominiMAL: step1.
Joel Martin [Thu, 12 Feb 2015 03:56:47 +0000 (21:56 -0600)]
miniMAL: step1.

9 years agoMerge pull request #8 from Chouser/forth3
Joel Martin [Tue, 24 Feb 2015 15:16:20 +0000 (09:16 -0600)]
Merge pull request #8 from Chouser/forth3

Forth: Interop and perf updates

9 years agoforth: Add map-hint to symbols for better perf
Chouser [Sun, 22 Feb 2015 18:20:31 +0000 (13:20 -0500)]
forth: Add map-hint to symbols for better perf

9 years agoforth: Clean up symbol eval for better perf
Chouser [Sat, 21 Feb 2015 23:50:50 +0000 (18:50 -0500)]
forth: Clean up symbol eval for better perf

9 years agoforth: Add call-site caching to boost perf
Chouser [Fri, 20 Feb 2015 07:53:46 +0000 (02:53 -0500)]
forth: Add call-site caching to boost perf

9 years agoforth: Add . interop special operator and tests
Chouser [Sun, 22 Feb 2015 04:15:23 +0000 (23:15 -0500)]
forth: Add . interop special operator and tests

9 years agoMerge pull request #7 from Chouser/forth-pr
Joel Martin [Sat, 21 Feb 2015 21:58:41 +0000 (15:58 -0600)]
Merge pull request #7 from Chouser/forth-pr

Add Forth

9 years agoMerge pull request #6 from Chouser/tests-pr
Joel Martin [Sat, 21 Feb 2015 21:58:23 +0000 (15:58 -0600)]
Merge pull request #6 from Chouser/tests-pr

Update some tests, discovered during forth impl

9 years agoforth: Update README
Chouser [Sat, 21 Feb 2015 18:14:58 +0000 (13:14 -0500)]
forth: Update README

9 years agoforth: Fix bug in (get nil ...)
Chouser [Fri, 20 Feb 2015 07:54:17 +0000 (02:54 -0500)]
forth: Fix bug in (get nil ...)

9 years agoforth: Fix bug in extend-protocol array insertion
Chouser [Fri, 20 Feb 2015 07:52:51 +0000 (02:52 -0500)]
forth: Fix bug in extend-protocol array insertion

9 years agoforth: Back-propogate fixes from stepA through step1
Chouser [Fri, 20 Feb 2015 00:42:52 +0000 (19:42 -0500)]
forth: Back-propogate fixes from stepA through step1

9 years agoforth: Self-hosted mal passes all tests
Chouser [Thu, 19 Feb 2015 23:34:59 +0000 (18:34 -0500)]
forth: Self-hosted mal passes all tests

9 years agoforth: Finish step 9
Chouser [Thu, 19 Feb 2015 00:57:39 +0000 (19:57 -0500)]
forth: Finish step 9

9 years agoforth: Add step 9, just try*/throw
Chouser [Tue, 17 Feb 2015 23:47:23 +0000 (18:47 -0500)]
forth: Add step 9, just try*/throw

- Moved some stuff out of printer into str,
  to support throwing strings in types.fs
- Fixed an apparently completely broken 'nth'
- Still failing 120 step9 tests

9 years agoforth: Add step 8
Chouser [Tue, 17 Feb 2015 14:40:03 +0000 (09:40 -0500)]
forth: Add step 8

9 years agoforth: Add step 7
Chouser [Tue, 17 Feb 2015 02:28:05 +0000 (21:28 -0500)]
forth: Add step 7

9 years agoforth: Add step 6, clean up comment parsing
Chouser [Tue, 17 Feb 2015 01:12:44 +0000 (20:12 -0500)]
forth: Add step 6, clean up comment parsing

9 years agoforth: Fix critical string-resizing bug
Chouser [Mon, 16 Feb 2015 07:01:56 +0000 (02:01 -0500)]
forth: Fix critical string-resizing bug

9 years agoforth: Add step 5
Chouser [Mon, 16 Feb 2015 03:02:48 +0000 (22:02 -0500)]
forth: Add step 5

9 years agoforth: Finish step 4
Chouser [Sun, 15 Feb 2015 22:44:52 +0000 (17:44 -0500)]
forth: Finish step 4

9 years agoforth: Add support for & var-args
Chouser [Sun, 15 Feb 2015 21:46:34 +0000 (16:46 -0500)]
forth: Add support for & var-args

9 years agoforth: Split types for user fns vs native fns
Chouser [Sun, 15 Feb 2015 19:10:47 +0000 (14:10 -0500)]
forth: Split types for user fns vs native fns

9 years agoforth: Add step 4, but not varargs
Chouser [Sun, 15 Feb 2015 18:33:44 +0000 (13:33 -0500)]
forth: Add step 4, but not varargs

9 years agoforth: Add defspecial for Mal special ops
Chouser [Sat, 14 Feb 2015 21:08:17 +0000 (16:08 -0500)]
forth: Add defspecial for Mal special ops

9 years agoforth: Get rid of invoke+
Chouser [Sat, 14 Feb 2015 20:44:22 +0000 (15:44 -0500)]
forth: Get rid of invoke+

Fold 'invoke+' into 'invoke'. Allows (:k m nf) to evaluate nf lazily!

9 years agoforth: Get rid of car/cdr style lists
Chouser [Sat, 14 Feb 2015 20:18:18 +0000 (15:18 -0500)]
forth: Get rid of car/cdr style lists

Rename MalArray to MalList

9 years agoforth: Add step 3
Chouser [Sat, 14 Feb 2015 18:40:07 +0000 (13:40 -0500)]
forth: Add step 3

9 years agoforth: Add step 2
Chouser [Fri, 13 Feb 2015 00:27:00 +0000 (19:27 -0500)]
forth: Add step 2

9 years agoforth: Finished step 1
Chouser [Sat, 7 Feb 2015 15:01:31 +0000 (10:01 -0500)]
forth: Finished step 1

9 years agoforth: Add step 1, but not maps
Chouser [Sat, 7 Feb 2015 04:58:41 +0000 (23:58 -0500)]
forth: Add step 1, but not maps

9 years agoforth: Add string printing
Chouser [Fri, 6 Feb 2015 07:38:58 +0000 (02:38 -0500)]
forth: Add string printing

9 years agoforth: Added lists, ints, symbols for step 1
Chouser [Fri, 6 Feb 2015 05:38:34 +0000 (00:38 -0500)]
forth: Added lists, ints, symbols for step 1

9 years agoforth: Add step 0
Chouser [Thu, 5 Feb 2015 23:47:32 +0000 (18:47 -0500)]
forth: Add step 0

9 years agoforth: protocols and some pr-str working
Chouser [Thu, 5 Feb 2015 02:44:37 +0000 (21:44 -0500)]
forth: protocols and some pr-str working

9 years agoforth: Add basic protocol functionality
Chouser [Thu, 5 Feb 2015 01:05:03 +0000 (20:05 -0500)]
forth: Add basic protocol functionality

9 years agoforth: Start experimenting
Chouser [Wed, 4 Feb 2015 05:45:07 +0000 (00:45 -0500)]
forth: Start experimenting

9 years agoAdd tests for problems uncovered during forth self-hosted tests
Chouser [Thu, 19 Feb 2015 23:37:21 +0000 (18:37 -0500)]
Add tests for problems uncovered during forth self-hosted tests

9 years agotest step1: Add input for existing output case
Chouser [Mon, 16 Feb 2015 23:43:51 +0000 (18:43 -0500)]
test step1: Add input for existing output case

9 years agoMerge pull request #5 from alandipert/master
Joel Martin [Wed, 11 Feb 2015 02:57:56 +0000 (20:57 -0600)]
Merge pull request #5 from alandipert/master

bash: use env in shebang

9 years agoUse env in Makefile
Alan Dipert [Tue, 10 Feb 2015 23:32:19 +0000 (18:32 -0500)]
Use env in Makefile

9 years agobash: use env in shebang
Alan Dipert [Tue, 10 Feb 2015 20:59:50 +0000 (15:59 -0500)]
bash: use env in shebang

- Now works on Macs with Bash4 from homebrew

9 years agomatlab: add to README. 24th implementation!
Joel Martin [Tue, 10 Feb 2015 18:15:24 +0000 (12:15 -0600)]
matlab: add to README. 24th implementation!

9 years agomatlab: fix do/slice, strings. Self-hosting!
Joel Martin [Tue, 10 Feb 2015 07:51:28 +0000 (01:51 -0600)]
matlab: fix do/slice, strings. Self-hosting!

Fix Makefile stats/stats-lisp.

9 years agomatlab: add metadata and atom support.
Joel Martin [Tue, 10 Feb 2015 07:34:56 +0000 (01:34 -0600)]
matlab: add metadata and atom support.

9 years agomatlab: add keyword, vector, hash-map support.
Joel Martin [Tue, 10 Feb 2015 05:20:23 +0000 (23:20 -0600)]
matlab: add keyword, vector, hash-map support.

Switch List to full object like vector and hash-map.

9 years agomatlab: stepA, perf test, comments.
Joel Martin [Mon, 9 Feb 2015 06:23:10 +0000 (00:23 -0600)]
matlab: stepA, perf test, comments.

9 years agomatlab: Add step9.
Joel Martin [Mon, 9 Feb 2015 05:50:12 +0000 (23:50 -0600)]
matlab: Add step9.

9 years agomatlab: add step8
Joel Martin [Mon, 9 Feb 2015 02:35:44 +0000 (20:35 -0600)]
matlab: add step8

9 years agomatlab: step7, fix reader bug.
Joel Martin [Mon, 9 Feb 2015 01:23:49 +0000 (19:23 -0600)]
matlab: step7, fix reader bug.

9 years agomatlab: add step6
Joel Martin [Mon, 9 Feb 2015 00:56:13 +0000 (18:56 -0600)]
matlab: add step6

9 years agomatlab: add step5_tco
Joel Martin [Mon, 9 Feb 2015 00:35:03 +0000 (18:35 -0600)]
matlab: add step5_tco

9 years agomatlab: all step4 except optional.
Joel Martin [Sun, 8 Feb 2015 19:18:08 +0000 (13:18 -0600)]
matlab: all step4 except optional.

9 years agomatlab: start of step4
Joel Martin [Sun, 8 Feb 2015 07:13:41 +0000 (01:13 -0600)]
matlab: start of step4

9 years agomatlab: step3
Joel Martin [Sun, 8 Feb 2015 04:07:16 +0000 (22:07 -0600)]
matlab: step3

9 years agomatlab: step2
Joel Martin [Sun, 8 Feb 2015 03:03:43 +0000 (21:03 -0600)]
matlab: step2

9 years agomatlab: step0 and step1 basics.
Joel Martin [Sun, 8 Feb 2015 02:32:06 +0000 (20:32 -0600)]
matlab: step0 and step1 basics.

9 years agoMerge pull request #4 from Chouser/ocaml
Joel Martin [Fri, 30 Jan 2015 22:50:18 +0000 (16:50 -0600)]
Merge pull request #4 from Chouser/ocaml

OCaml: add make targets for stats

9 years agoOCaml: add make targets for stats
Chouser [Fri, 30 Jan 2015 19:26:00 +0000 (14:26 -0500)]
OCaml: add make targets for stats

9 years agoguide.md: step9,A stubs. TODO. More vector tests.
Joel Martin [Fri, 30 Jan 2015 19:21:10 +0000 (13:21 -0600)]
guide.md: step9,A stubs. TODO. More vector tests.

9 years agoREADME: update count to 23 to reflect OCaml addition.
Joel Martin [Fri, 30 Jan 2015 18:10:08 +0000 (12:10 -0600)]
README: update count to 23 to reflect OCaml addition.

9 years agoMerge pull request #3 from Chouser/ocaml
Joel Martin [Fri, 30 Jan 2015 18:06:45 +0000 (12:06 -0600)]
Merge pull request #3 from Chouser/ocaml

Ocaml

9 years agoOCaml: add to README.md
Chouser [Fri, 30 Jan 2015 17:53:52 +0000 (12:53 -0500)]
OCaml: add to README.md

9 years agoOCaml: Fix stepA command-line script running
Chouser [Fri, 30 Jan 2015 17:38:44 +0000 (12:38 -0500)]
OCaml: Fix stepA command-line script running

9 years agoOCaml: Add time-ms
Chouser [Fri, 30 Jan 2015 17:38:32 +0000 (12:38 -0500)]
OCaml: Add time-ms

9 years agoOCaml: put macro flag in metadata rather than special type field
Chouser [Fri, 30 Jan 2015 14:10:24 +0000 (09:10 -0500)]
OCaml: put macro flag in metadata rather than special type field

9 years agoOCaml: self-hosting
Chouser [Fri, 30 Jan 2015 05:17:57 +0000 (00:17 -0500)]
OCaml: self-hosting

9 years agoOCaml: Add step 9
Chouser [Fri, 30 Jan 2015 04:29:54 +0000 (23:29 -0500)]
OCaml: Add step 9

9 years agoOCaml: Add Step 8
Chouser [Thu, 30 Jan 2014 01:05:05 +0000 (20:05 -0500)]
OCaml: Add Step 8

9 years agoOcaml: Add step 7
Chouser [Thu, 29 Jan 2015 04:43:21 +0000 (23:43 -0500)]
Ocaml: Add step 7

9 years agoOcaml: Finish adding step 6
Chouser [Wed, 28 Jan 2015 18:13:44 +0000 (13:13 -0500)]
Ocaml: Finish adding step 6

9 years agoOcaml: Add step 6
Chouser [Wed, 28 Jan 2015 14:07:21 +0000 (09:07 -0500)]
Ocaml: Add step 6

9 years agoOcaml: fix list and comment parsing
Chouser [Wed, 28 Jan 2015 14:06:53 +0000 (09:06 -0500)]
Ocaml: fix list and comment parsing

9 years agoOcaml: fix string escaping and printing
Chouser [Wed, 28 Jan 2015 13:27:32 +0000 (08:27 -0500)]
Ocaml: fix string escaping and printing

9 years agoOcaml: Use builtin String.concat instead of own join fun
Chouser [Wed, 28 Jan 2015 13:24:52 +0000 (08:24 -0500)]
Ocaml: Use builtin String.concat instead of own join fun

9 years agoOcaml: Add step 5, TCO worked automatically in Ocaml
Chouser [Tue, 27 Jan 2015 16:30:05 +0000 (11:30 -0500)]
Ocaml: Add step 5, TCO worked automatically in Ocaml

9 years agoOcaml: All optional tests passing up thru step 4
Chouser [Tue, 27 Jan 2015 04:05:13 +0000 (23:05 -0500)]
Ocaml: All optional tests passing up thru step 4

9 years agoOcaml: add meta, with-meta, and ^ reader support
Chouser [Tue, 27 Jan 2015 00:16:23 +0000 (19:16 -0500)]
Ocaml: add meta, with-meta, and ^ reader support

9 years agoOcaml: Use a real map type
Chouser [Mon, 26 Jan 2015 04:30:37 +0000 (23:30 -0500)]
Ocaml: Use a real map type

T.Map is now a real OCaml binary-tree map, and supports arbitrary mal value
types for both keys and values.  Metadata support is provided in the data
objects, but not yet in the printer, reader, or core library.

9 years agoOcaml: Add read, print for vector, map
Chouser [Sat, 24 Jan 2015 05:44:51 +0000 (00:44 -0500)]
Ocaml: Add read, print for vector, map

9 years agoOcaml: rename Types.MalList to Types.List
Chouser [Sat, 24 Jan 2015 03:54:15 +0000 (22:54 -0500)]
Ocaml: rename Types.MalList to Types.List

9 years agoOcaml: Add string functions
Chouser [Sat, 24 Jan 2015 01:05:03 +0000 (20:05 -0500)]
Ocaml: Add string functions

9 years agoOcaml: Add step 4, but not str fns or optionals.
Chouser [Fri, 23 Jan 2015 23:11:45 +0000 (18:11 -0500)]
Ocaml: Add step 4, but not str fns or optionals.