1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-19 17:47:53 +03:00
Commit Graph

1562 Commits

Author SHA1 Message Date
Joel Martin
a7ed71b9e2 tests: additional tests based on PowerShell impl
- step1: empty list and vector
- step4: special forms case-sensitivity
- step9: apply with an empty list/vector
2016-08-24 17:39:24 -05:00
Joel Martin
f6146aef75 PowerShell: steps 4-A, optional, and self-hosting 2016-08-24 17:39:08 -05:00
Joel Martin
d7d197f96e PowerShell: steps 0-3 2016-08-20 15:09:19 -05:00
Joel Martin
508a86654b Merge pull request #229 from wasamasa/chuck-implementation
ChucK implementation
2016-08-09 14:02:55 -05:00
Vasilij Schneidermann
77a1e7d9ba Add basic Makefile 2016-08-09 20:45:33 +02:00
Vasilij Schneidermann
bbff44bcc2 Add chuck to Travis builds 2016-08-09 20:04:08 +02:00
Vasilij Schneidermann
2b52a2a5d4 Add Dockerfile fixes and change runner to bash
Thanks to @kanaka
2016-08-09 19:25:33 +02:00
Vasilij Schneidermann
c514d04ab4 Support backspace in readline implementation 2016-08-08 21:36:05 +02:00
Vasilij Schneidermann
385a08eb76 Mention in README 2016-08-08 01:19:05 +02:00
Vasilij Schneidermann
90a93e4132 Move run_chuck.rb to run 2016-08-08 01:09:39 +02:00
Vasilij Schneidermann
b0837516f7 Remove temp file 2016-08-06 23:58:49 +02:00
Vasilij Schneidermann
1b349ccb6c Add run script, fix argv bug 2016-08-06 23:58:49 +02:00
Vasilij Schneidermann
5d47a419a7 Merge branch 'master' into chuck-implementation 2016-08-06 23:56:29 +02:00
Vasilij Schneidermann
35163c1b32 Self-hosting fix 2016-08-06 22:41:00 +02:00
Vasilij Schneidermann
beb3531141 Implement step A 2016-08-06 21:25:56 +02:00
Vasilij Schneidermann
2e3d457eb0 Add a self-made readline implementation 2016-08-06 17:47:13 +02:00
Vasilij Schneidermann
98c1ecf2a1 Implement step 9 2016-08-06 00:34:18 +02:00
Vasilij Schneidermann
65634b37d4 Implement step 8 2016-08-01 10:40:32 +02:00
Joel Martin
a3a6f68098 Swift3: update to Swift 3 Preview 3. 2016-07-31 23:25:23 -05:00
Joel Martin
575ca23041 Merge pull request #228 from fredim/swift3
Squashed commits, updated to latest swift3 (swift-3.0-PREVIEW-2)
2016-07-31 23:16:26 -05:00
Vasilij Schneidermann
34f7b3dbe2 Implement step 7 2016-07-30 21:53:24 +02:00
Vasilij Schneidermann
aa0ac94f0b Implement step 6 2016-07-30 00:50:43 +02:00
Fred Im
8903188f8b Squashed commits, updated to latest swift3 (swift-3.0-PREVIEW-2)
Main changes:
* consistency of func arguments, while every argument has both an outer and an inner name,
  but the first argument's outer was "unnamed" by default in swift<2. now all arguments are consistent
  and requires the initial "_" to declare the outer "unnamed" for the first argument
* indexes are now simpler types, the Array.index function computes successor/predecessor
* many, many API changes, that result in shorter "verb" names of functions with named arguments
  ex: Array.joinWithSeparator(String) -> Array.joined(separator: String)
2016-07-29 18:37:32 +00:00
Joel Martin
976547740f ada: stats target.
Also, fix Crystal dockerfile build.
2016-07-29 10:49:13 -05:00
Joel Martin
14678c3c9a perl6: update/add missing Dockerfile. Stats target.
- Update docker image from rakudo 2016-04 to 2016-07
2016-07-29 10:48:13 -05:00
Joel Martin
a95fd72b3d Merge pull request #225 from rhysd/crystal-0.18.4
Crystal 0.18.4
2016-06-27 11:42:36 -05:00
rhysd
7546ae18d2 Crystal: Use Int64 instead of Int32 because time_ms requires 64bit integer
This fixes a test case for stepA.
2016-06-25 08:21:36 +09:00
rhysd
d10848bb1d Crystal: subcommand is changed from 'build' to 'compile' 2016-06-25 08:21:15 +09:00
Joel Martin
fe7f047415 Merge pull request #224 from dubek/logo
Logo implementation
2016-06-17 16:12:55 -05:00
Dov Murik
4eb88ef295 Logo implementation
Tested on UCBLogo 6.0 with some minor tweaks (for performance and adding
a `timems` function).  The tweaks are performed during Docker image
creation (see Dockerfile).

Tests of step 5 are skipped because UCBLogo is too slow.

Interop is available via `(logo-eval "logo code to run")`.

The `examples` directory contains a Mal example of drawing a tree using
turtle graphics.
2016-06-17 16:36:09 -04:00
Joel Martin
67962baac7 Merge pull request #223 from wasamasa/better-elisp-eval
Improve elisp-eval to use MAL types
2016-06-16 08:38:57 -05:00
Vasilij Schneidermann
449c7cc52b Improve elisp-eval to use MAL types 2016-06-16 09:32:55 +02:00
Joel Martin
dbe9556750 Merge pull request #222 from wasamasa/elisp-eval
Replace elisp* with elisp-eval
2016-06-15 10:41:55 -05:00
Joel Martin
2b15fdce03 Merge pull request #221 from dubek/js-interop
js: Fix interop, update web REPL page
2016-06-15 09:48:26 -05:00
Vasilij Schneidermann
9404922bc1 Replace elisp* with elisp-eval, use rx in test 2016-06-15 09:43:50 +02:00
Dov Murik
d953db84fc js: Fix interop, update web REPL page
* js* renamed to js-eval and is no longer a special form (just a normal
  function in core.js)
* . is no longer a special form (just a normal function in core.js)
* fixed object/method parsing of first argument to .
* added tests for .
* updated mal.html: "Mal at a glance" shows all Mal functions
2016-06-14 23:21:38 -04:00
Joel Martin
6b81f2abb0 Merge pull request #218 from dubek/io-interop
io: Add interop function io-eval
2016-06-13 10:27:15 -05:00
Joel Martin
f9fddfefe8 Merge pull request #219 from hinrik/perl6_eval_tests
Add tests for perl6-eval function
2016-06-13 10:25:29 -05:00
Joel Martin
d54f79f8c9 Merge pull request #220 from dubek/test-case-sensitive
tests: Verify case sensitivity of names and strings
2016-06-13 10:25:04 -05:00
Dov Murik
eb63e565f3 tests: Verify case sensitivity of names and strings 2016-06-13 01:11:41 -04:00
Dov Murik
3ba35e6680 io: Add interop function io-eval 2016-06-12 21:40:08 -04:00
Joel Martin
5e067d21ab Merge pull request #216 from hinrik/add_perl6_impl
Perl 6: Throw exception on missing ), ], or }
2016-06-12 13:44:15 -05:00
Joel Martin
3cbbb2ba07 Merge pull request #217 from dubek/lua-interop
Add Lua interop and describe interop in the guide
2016-06-12 13:43:23 -05:00
Hinrik Örn Sigurðsson
e6de98e21c Add tests for perl6-eval function 2016-06-12 15:55:01 +00:00
Dov Murik
6440cc5094 process/guide: Describe interop function quux-eval 2016-06-11 21:37:56 -04:00
Dov Murik
2d05680bd5 lua: Add interop core function lua-eval 2016-06-11 21:37:56 -04:00
Hinrik Örn Sigurðsson
68d56be69e Perl 6: Throw exception on missing ), ], or } 2016-06-11 19:53:50 +00:00
Joel Martin
a7e008f463 Merge pull request #215 from hinrik/add_perl6_impl
Add Perl 6 implementation
2016-06-11 13:38:57 -05:00
Hinrik Örn Sigurðsson
0208e17e7e Test the Perl 6 implementation on Travis 2016-06-11 15:02:11 +00:00
Hinrik Örn Sigurðsson
e86a05d5af Add perl6-eval interop function 2016-06-11 15:02:11 +00:00