jackhill/mal.git
7 years agoImplement step A
Vasilij Schneidermann [Sat, 6 Aug 2016 19:25:56 +0000 (21:25 +0200)]
Implement step A

7 years agoAdd a self-made readline implementation
Vasilij Schneidermann [Sat, 6 Aug 2016 15:42:56 +0000 (17:42 +0200)]
Add a self-made readline implementation

7 years agoImplement step 9
Vasilij Schneidermann [Fri, 5 Aug 2016 22:34:18 +0000 (00:34 +0200)]
Implement step 9

7 years agoImplement step 8
Vasilij Schneidermann [Mon, 1 Aug 2016 08:40:32 +0000 (10:40 +0200)]
Implement step 8

7 years agoImplement step 7
Vasilij Schneidermann [Sat, 30 Jul 2016 19:53:24 +0000 (21:53 +0200)]
Implement step 7

7 years agoImplement step 6
Vasilij Schneidermann [Fri, 29 Jul 2016 22:50:12 +0000 (00:50 +0200)]
Implement step 6

8 years agoImplement step 5
Vasilij Schneidermann [Sat, 14 May 2016 01:02:07 +0000 (03:02 +0200)]
Implement step 5

8 years agoUse truthiness constants
Vasilij Schneidermann [Thu, 12 May 2016 18:04:22 +0000 (20:04 +0200)]
Use truthiness constants

8 years agoImplement step 4
Vasilij Schneidermann [Thu, 12 May 2016 08:01:09 +0000 (10:01 +0200)]
Implement step 4

8 years agoImplement step 3
Vasilij Schneidermann [Sat, 30 Apr 2016 18:12:07 +0000 (20:12 +0200)]
Implement step 3

8 years agoReplace runner script to allow for globbing
Vasilij Schneidermann [Sat, 30 Apr 2016 13:16:12 +0000 (15:16 +0200)]
Replace runner script to allow for globbing

8 years agoImplement step 2
Vasilij Schneidermann [Fri, 29 Apr 2016 18:40:11 +0000 (20:40 +0200)]
Implement step 2

8 years agoAdd notes
Vasilij Schneidermann [Thu, 28 Apr 2016 08:17:59 +0000 (10:17 +0200)]
Add notes

8 years agoImplement step 1
Vasilij Schneidermann [Thu, 28 Apr 2016 07:20:09 +0000 (09:20 +0200)]
Implement step 1

8 years agoWrite a runner script
Vasilij Schneidermann [Mon, 25 Apr 2016 12:20:39 +0000 (14:20 +0200)]
Write a runner script

This script serves the following purposes:

- A --silent flag for testing purposes
- Support for @import comments (to work around no modules)
- Accessing extra arguments from CHUCK_ARGUMENTS

8 years agoImplement step 0
Vasilij Schneidermann [Wed, 20 Apr 2016 20:31:28 +0000 (22:31 +0200)]
Implement step 0

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 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 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 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 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

8 years agoAda: add seq
Chris M Moore [Tue, 22 Mar 2016 07:40:44 +0000 (07:40 +0000)]
Ada: add seq

8 years agoAda: add string?
Chris M Moore [Sun, 20 Mar 2016 22:29:39 +0000 (22:29 +0000)]
Ada: add string?

8 years agoAda: negative numbers in reader
Chris M Moore [Sun, 20 Mar 2016 22:20:34 +0000 (22:20 +0000)]
Ada: negative numbers in reader

8 years agoAda: remove some unecessary use commands/variables
Chris M Moore [Sun, 20 Mar 2016 22:19:26 +0000 (22:19 +0000)]
Ada: remove some unecessary use commands/variables

8 years agoUpdate from master
Chris M Moore [Sun, 20 Mar 2016 21:37:07 +0000 (21:37 +0000)]
Update from master

8 years agoAda: remove unnecessary Env parameters
Chris M Moore [Sun, 20 Mar 2016 21:08:28 +0000 (21:08 +0000)]
Ada: remove unnecessary Env parameters

8 years agoAda: add time-ms
Chris M Moore [Sat, 19 Mar 2016 23:05:19 +0000 (23:05 +0000)]
Ada: add time-ms

8 years agoAda: build in true, false, nil so hosted tests run unmodified ;)
Chris M Moore [Sat, 19 Mar 2016 21:09:48 +0000 (21:09 +0000)]
Ada: build in true, false, nil so hosted tests run unmodified ;)

8 years agoAda: build in knowledge about true and false into reader
Chris M Moore [Sat, 19 Mar 2016 00:05:38 +0000 (00:05 +0000)]
Ada: build in knowledge about true and false into reader

8 years agoAda: one more textual mod in core.adb
Chris M Moore [Fri, 18 Mar 2016 23:38:10 +0000 (23:38 +0000)]
Ada: one more textual mod in core.adb

8 years agoAda: minor textual cleanup in core.adb
Chris M Moore [Fri, 18 Mar 2016 23:27:21 +0000 (23:27 +0000)]
Ada: minor textual cleanup in core.adb

8 years agoAda: fix envs (remove Get_Current), apply (only last param is unpacked) and map ...
Chris M Moore [Fri, 18 Mar 2016 15:34:10 +0000 (15:34 +0000)]
Ada: fix envs (remove Get_Current), apply (only last param is unpacked) and map (calls core.apply)

8 years agominiMAL: increase test timeouts
Joel Martin [Tue, 15 Mar 2016 16:19:51 +0000 (11:19 -0500)]
miniMAL: increase test timeouts

8 years agoMerge pull request #186 from epylar/patch-1
Joel Martin [Tue, 15 Mar 2016 14:52:51 +0000 (09:52 -0500)]
Merge pull request #186 from epylar/patch-1

Update ffi dep in js implementation

8 years agoAda: Move eval into the steps + rewrite eval along the way.
Chris M Moore [Tue, 15 Mar 2016 08:05:20 +0000 (08:05 +0000)]
Ada: Move eval into the steps + rewrite eval along the way.

8 years agoUpdate ffi dep in js implementation
GL [Tue, 15 Mar 2016 04:59:40 +0000 (21:59 -0700)]
Update ffi dep in js implementation

The js dep won't compile cleanly without this bump because the old ffi version won't build properly
(using latest Arch Linux as of Mar 14 2016, probably failing on other distros as well).

ffi 2.0.0 builds cleanly.

8 years agoTests: move step5 non-TCO tests to per impl.
Joel Martin [Tue, 15 Mar 2016 04:39:21 +0000 (23:39 -0500)]
Tests: move step5 non-TCO tests to per impl.

- Remove most of the step5 excludes in the Makefile except for ones
  which don't have TCO capability at all (or the implementation is too
  slow): bash, make, mal, matlab.

- Make perf_EXCLUDES consistent with other excludes.

- Add a print-FOO target which prints the resolved value of Makefile
  variable FOO. For example, `make print-IMPLS` to print the list of
  implementations.

8 years agoUpdate README test count. Update docs/TODO.
Joel Martin [Tue, 15 Mar 2016 03:57:33 +0000 (22:57 -0500)]
Update README test count. Update docs/TODO.

8 years agoClojure: make indent consistent across steps.
Joel Martin [Tue, 15 Mar 2016 03:45:46 +0000 (22:45 -0500)]
Clojure: make indent consistent across steps.

8 years agorpython: update Dockerfile to pypy-4.0.1
Joel Martin [Tue, 15 Mar 2016 03:29:13 +0000 (22:29 -0500)]
rpython: update Dockerfile to pypy-4.0.1

8 years agorust: fix make all to build step binaries.
Joel Martin [Tue, 15 Mar 2016 03:28:24 +0000 (22:28 -0500)]
rust: fix make all to build step binaries.

8 years agojs: fix readline with blank prompt.
Joel Martin [Tue, 15 Mar 2016 03:23:22 +0000 (22:23 -0500)]
js: fix readline with blank prompt.

8 years agoObjPascal: gitignore regexpr, mal_readline comments.
Joel Martin [Mon, 14 Mar 2016 15:59:05 +0000 (10:59 -0500)]
ObjPascal: gitignore regexpr, mal_readline comments.

8 years agoREADME: update count to 50.
Joel Martin [Mon, 14 Mar 2016 15:21:10 +0000 (10:21 -0500)]
README: update count to 50.

8 years agoObjPascal: use CTypes for libedit/readline.
Joel Martin [Mon, 14 Mar 2016 05:07:01 +0000 (00:07 -0500)]
ObjPascal: use CTypes for libedit/readline.

Build with USE_READLINE=1 to switch from libedit to readline.

8 years agoObjPascal: curl zip file from github for dep.
Joel Martin [Mon, 14 Mar 2016 03:00:33 +0000 (22:00 -0500)]
ObjPascal: curl zip file from github for dep.

8 years agoObjPascal: add Sorokin RegExpr.pas to repo.
Joel Martin [Sun, 13 Mar 2016 22:46:06 +0000 (17:46 -0500)]
ObjPascal: add Sorokin RegExpr.pas to repo.

Originally from http://RegExpStudio.com. Minor patch to run under FPC
(rather than Delphi on Windows).

8 years agoObject Pascal: full implementation. Test cleanup.
Joel Martin [Sun, 13 Mar 2016 21:59:46 +0000 (16:59 -0500)]
Object Pascal: full implementation. Test cleanup.

- Move vector related step4 and step6 tests to optional.
- Fix two step9 tests that weren't checking return value.

8 years agoMerge pull request #184 from dubek/mal-time-ms
Joel Martin [Wed, 9 Mar 2016 20:18:07 +0000 (14:18 -0600)]
Merge pull request #184 from dubek/mal-time-ms

mal: Add time-ms to core; add tests for time-ms

8 years agoMerge pull request #185 from dubek/ruby-fix-concat
Joel Martin [Wed, 9 Mar 2016 20:16:36 +0000 (14:16 -0600)]
Merge pull request #185 from dubek/ruby-fix-concat

ruby: concat should not modify its argument

8 years agoruby: concat should not modify its argument
Dov Murik [Wed, 9 Mar 2016 19:23:13 +0000 (14:23 -0500)]
ruby: concat should not modify its argument

8 years agomal: Add time-ms to core; add tests for time-ms
Dov Murik [Wed, 9 Mar 2016 18:09:11 +0000 (13:09 -0500)]
mal: Add time-ms to core; add tests for time-ms

8 years agoMakefile/README documentation. Build rules.
Joel Martin [Tue, 8 Mar 2016 05:33:45 +0000 (23:33 -0600)]
Makefile/README documentation. Build rules.

- Also, general cleanup/commenting of toplevel Makefile.

8 years agotests/step3: test def! within let*. Fix groovy build.
Joel Martin [Tue, 8 Mar 2016 04:25:30 +0000 (22:25 -0600)]
tests/step3: test def! within let*. Fix groovy build.

8 years agoMakefile: add DOCKERIZE support.
Joel Martin [Tue, 8 Mar 2016 03:59:16 +0000 (21:59 -0600)]
Makefile: add DOCKERIZE support.

8 years agoMerge pull request #183 from dubek/io
Joel Martin [Mon, 7 Mar 2016 17:37:34 +0000 (11:37 -0600)]
Merge pull request #183 from dubek/io

Io implementation

8 years agoTravis: add io build
Dov Murik [Fri, 4 Mar 2016 21:03:41 +0000 (16:03 -0500)]
Travis: add io build

8 years agoio: Update README
Dov Murik [Fri, 4 Mar 2016 21:02:58 +0000 (16:02 -0500)]
io: Update README

8 years agoio: Optimization and style fixes
Dov Murik [Sun, 6 Mar 2016 04:39:52 +0000 (23:39 -0500)]
io: Optimization and style fixes

* Replace isKindOf calls with type (faster)
* Clearer prototype inheritance definitions
* One-line methods where possible

8 years agoio: stepA
Dov Murik [Fri, 4 Mar 2016 20:50:39 +0000 (15:50 -0500)]
io: stepA

8 years agoio: step9
Dov Murik [Fri, 4 Mar 2016 20:13:33 +0000 (15:13 -0500)]
io: step9

8 years agoio: step8
Dov Murik [Fri, 4 Mar 2016 16:20:29 +0000 (11:20 -0500)]
io: step8

8 years agoio: step7
Dov Murik [Fri, 4 Mar 2016 06:29:29 +0000 (01:29 -0500)]
io: step7

8 years agoio: step6
Dov Murik [Fri, 4 Mar 2016 05:11:01 +0000 (00:11 -0500)]
io: step6

8 years agoio: step5
Dov Murik [Fri, 4 Mar 2016 04:15:24 +0000 (23:15 -0500)]
io: step5

8 years agoio: step4
Dov Murik [Thu, 3 Mar 2016 20:03:06 +0000 (15:03 -0500)]
io: step4

8 years agoio: step3
Dov Murik [Thu, 3 Mar 2016 16:03:34 +0000 (11:03 -0500)]
io: step3

8 years agoio: step2
Dov Murik [Tue, 1 Mar 2016 15:46:12 +0000 (10:46 -0500)]
io: step2

8 years agoio: step1
Dov Murik [Thu, 18 Feb 2016 15:24:26 +0000 (10:24 -0500)]
io: step1

8 years agoio: step0
Dov Murik [Wed, 17 Feb 2016 02:02:12 +0000 (21:02 -0500)]
io: step0

8 years agoAda: ensure *ARGV* available to loaded file (self-hosting)
Chris M Moore [Sun, 6 Mar 2016 23:17:05 +0000 (23:17 +0000)]
Ada: ensure *ARGV* available to loaded file (self-hosting)

8 years agoAda: fix infinite loop when evaling a vector (core.mal)
Chris M Moore [Sun, 6 Mar 2016 23:14:34 +0000 (23:14 +0000)]
Ada: fix infinite loop when evaling a vector (core.mal)

8 years agoMinor clarifications
Joel Martin [Sun, 6 Mar 2016 21:37:56 +0000 (15:37 -0600)]
Minor clarifications

8 years agoObjective-C: OS X: build, read_atom, str comp., etc.
Joel Martin [Sun, 6 Mar 2016 07:16:32 +0000 (01:16 -0600)]
Objective-C: OS X: build, read_atom, str comp., etc.

Also, fix designated init warnings. Note in README that OS X XCode
7 is also supported.

8 years agoObjective-C: steps 5-A, self-hosting, perf, README
Joel Martin [Fri, 4 Mar 2016 07:56:54 +0000 (01:56 -0600)]
Objective-C: steps 5-A, self-hosting, perf, README

8 years agoObjective-C: steps 0-4, keywords, hash maps.
Joel Martin [Fri, 4 Mar 2016 05:08:47 +0000 (23:08 -0600)]
Objective-C: steps 0-4, keywords, hash maps.

8 years agoAda: remove the file size limit
Chris M Moore [Sat, 5 Mar 2016 18:24:13 +0000 (18:24 +0000)]
Ada: remove the file size limit

8 years agoMerge pull request #181 from wasamasa/fix-typos
Joel Martin [Fri, 4 Mar 2016 16:51:39 +0000 (10:51 -0600)]
Merge pull request #181 from wasamasa/fix-typos

Fix typos