1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-11 00:52:44 +03:00
Commit Graph

49 Commits

Author SHA1 Message Date
Joel Martin
757ebbfbbf crystal, kotlin, mal, scala: Support catchless try* 2019-02-27 16:39:23 -06:00
Joel Martin
4aa0ebdf47 Error on unterminated strings.
Add a step1 test to make sure that implementations are properly
throwing an error on unclosed strings.

Fix 47 implementations and update the guide to note the correct
behavior.
2019-01-25 16:16:06 -06:00
Dov Murik
9d7af55272 elixir, erlang, julia, kotlin: Add number?, fn?, macro? 2017-10-26 10:40:06 +00:00
Joel Martin
051685d1a2 Fix unescaping in julia and kotlin. 2017-09-28 07:40:47 -05:00
Joel Martin
2c0c033bfc Go, Kotlin, Nim, ObjC, RPython: update Dockerfiles.
- Fix Nim IOError handling issue introduced by update.
2017-02-11 00:12:37 -06:00
Joel Martin
20e8dea043 Refactor to use run scripts, remove *_RUNSTEP
- Add */run script for every implementation.

- Refactor Clojure build to allow individual jar files for each step.

- Update FFI version for es6 and miniMAL to work with newer node
  versions.

The run scripts for the following could use some additional
refactoring:
- java: build individual step jar, use java -jar instead of mvn to run
- plpgsql: maybe combine plpgsql/run and plpgsql/wrap.sh
- vhdl: combine vhdl/run and vhdl/run_vhdl.sh
- vimscript: combine vimscript/run and vimscript/run_vimscript.sh
2016-05-18 22:29:18 -07:00
Joel Martin
efa2daef57 Fix empty list eval in step2 for most languages.
I think the only remaining ones are ada, elisp, factor, and rust.
2016-04-02 18:40:49 -05:00
Dov Murik
8b14c39e32 kotlin: Fix exception on literal empty list
Issue #190
2016-03-30 10:06:14 -04:00
Joel Martin
dca6b58578 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.
2016-03-14 23:39:21 -05:00
Joel Martin
9044b1fdb1 Merge branch 'master' into issue_166_string_ops 2016-02-24 12:00:08 -06:00
Joel Martin
8e2d4a4ccb Dist/packaging for most impls. erlang, racket *ARGV* fixes.
Also in this commit:
- fix *ARGV* setup in erlang and racket.
- print startup message in fsharp

Dist/packaging support for most implementations and also generate
a */mal standalone app for most languages. The following
implementations still have ability to generate a single */mal
standalone application:
    - guile
    - julia
    - matlab (mkoctfile doesn't actually package up source files)
    - swift
    - vb (mkbundle error)

Also, the following are mostly packaged into a single file but need
some module dependencies
    - coffee: requires node_modules/ffi
    - es6: requires node_modules/ffi
    - js: requires node_modules/ffi
    - lua: module 'readline' not found
    - miniMAL: cannot find module '/mal/node_readline.js'
    - r: needs lib directory
2016-02-24 00:45:40 -06:00
Joel Martin
5245b079e1 Add dist targets to most implementations.
TODO: factor groovy guile julia matlab miniMAL swift
2016-02-24 00:33:20 -06:00
Joel Martin
7ccabbffc4 kotlin: add seq and string?
Issue #166.

Also, in stepA_mal print out standard startup message.
2016-02-15 22:05:50 -06:00
Prat
75787d777f Bump Kotlin version to 1.0. Remove unnecessary cast. 2016-02-15 20:42:10 -05:00
Dov Murik
dfabec9339 kotlin: Fix (rest nil) 2016-02-03 23:23:19 -05:00
Dov Murik
29ba1fb6c0 Add gensym and clean or macro to stepA of 19 implementations (part 3)
* awk
* cpp
* cs
* es6
* factor
* fsharp
* groovy
* haskell
* java
* julia
* kotlin
* matlab
* php
* r
* rpython
* rust
* scala
* swift
* vb
2016-01-25 16:30:54 -05:00
Javier Fernandez-Ivern
de0023d77a Implemented hashmap equality (addresses #116, #123) 2016-01-22 10:53:25 -06:00
Javier Fernandez-Ivern
a0d4df3ef6 Upgraded to Kotlin 1.0.0 Beta 4, got rid of remaining compiler warnings 2015-12-26 00:18:10 -06:00
Javier Fernandez-Ivern
69e9579c3b Updated kotlinc version in the Dockerfile 2015-11-18 17:15:19 -06:00
Javier Fernandez-Ivern
a9b2af9175 Merge branch 'kotlin' of https://github.com/ivern/mal into kotlin 2015-11-18 17:14:01 -06:00
Javier Fernandez-Ivern
0ab4fa142a Removed unnecessary casts now that Kotlin compiler bug is fixed 2015-11-18 17:13:43 -06:00
Javier Fernandez-Ivern
304ec7f386 Upgraded to Kotlin 1.0.0-beta-2423, fixed new deprecation warnings 2015-11-18 17:04:35 -06:00
Javier Fernandez-Ivern
2a9f3ad2f7 Cleaned up usage of ISeq.count() 2015-11-04 08:54:54 -06:00
Javier Fernandez-Ivern
d4579d50bb Bumped Kotlin version in the Dockerfile 2015-11-04 08:43:23 -06:00
Javier Fernandez-Ivern
578590555a Kotlin eval refactoring to make it more idiomatic 2015-11-03 22:45:07 -06:00
Javier Fernandez-Ivern
41393633d7 Kotlin dispatch refactoring to make it more idiomatic 2015-11-03 22:36:24 -06:00
Joel Martin
8d78bc26bf All: fix read/print of \\, and \n 2015-10-30 22:05:49 -05:00
Javier Fernandez-Ivern
99851ac746 Cleaned up some boilerplate code in core 2015-10-27 09:57:10 -05:00
Javier Fernandez-Ivern
8fb0c641b5 Merge remote-tracking branch 'kanaka/master' into kotlin 2015-10-27 00:01:54 -05:00
Joel Martin
3ff5020440 Kotlin: minor change to re-use layers from Java image. 2015-10-27 00:00:12 -05:00
Javier Fernandez-Ivern
af7642582c Step cleanup 2015-10-26 23:59:04 -05:00
Javier Fernandez-Ivern
9a11d93e31 Added Dockerfile 2015-10-26 23:36:19 -05:00
Javier Fernandez-Ivern
d937c5a1e8 MalIntegers are now backed by Longs, added time-ms 2015-10-26 23:12:03 -05:00
Javier Fernandez-Ivern
7ee7a06bce Cleanup, added stats targets 2015-10-26 22:48:01 -05:00
Javier Fernandez-Ivern
6132da853d Fixed final bug with swap, added tests 2015-10-26 21:49:58 -05:00
Javier Fernandez-Ivern
f39c5a2633 Fixed step 6 tests 2015-10-26 21:31:44 -05:00
Javier Fernandez-Ivern
2eb2cac230 Fixed several self-hosting issues, added atom? tests 2015-10-26 20:27:29 -05:00
Javier Fernandez-Ivern
4d1f07f11c Cleaned up EOF handling 2015-10-26 14:06:10 -05:00
Javier Fernandez-Ivern
a779c814b9 Finished atoms and readline 2015-10-26 14:02:30 -05:00
Javier Fernandez-Ivern
8337e32c1c Finished metadata 2015-10-26 13:31:36 -05:00
Javier Fernandez-Ivern
700862df46 Cleanup 2015-10-26 10:40:03 -05:00
Javier Fernandez-Ivern
2ec7fa0b57 Implemented conj, (badly) implemented meta--needs to work for all objects and not mutate them 2015-10-26 10:37:17 -05:00
Javier Fernandez-Ivern
26f0b60f8b Finished additional core functions for step 9 2015-10-26 09:47:30 -05:00
Javier Fernandez-Ivern
041bb7eb22 Partial implementation of step 9, missing some of the deferrable functions 2015-10-25 23:02:43 -05:00
Javier Fernandez-Ivern
d8e5df5d73 Implemented step 8 (macros) 2015-10-25 21:30:51 -05:00
Javier Fernandez-Ivern
940bb6ffef Implemented step 7 (quoting) 2015-10-25 01:07:43 -05:00
Javier Fernandez-Ivern
4121b4ee84 Implemented step 6 (files and eval) 2015-10-25 00:22:15 -05:00
Javier Fernandez-Ivern
ac8e072f94 Added TCO support as step 5 2015-10-24 23:13:39 -05:00
Javier Fernandez-Ivern
53c2ea70cf Implemented Kotlin MAL up to step 4 2015-10-24 22:10:53 -05:00