1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-20 10:07:45 +03:00
Commit Graph

1092 Commits

Author SHA1 Message Date
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
b6dc3e37aa awk-es6, Makefile: dist ruiles 2016-02-24 00:33:20 -06:00
Joel Martin
0eace3df1f swift3: steps6-A, vectors, maps, keywords, meta.
Everything except conj and meta on lists, vectors and hash-maps.
2016-02-24 00:27:23 -06:00
Joel Martin
b50a410591 swift3: step0-step5 basics 2016-02-23 00:49:28 -06:00
Joel Martin
0dbbb7be5b Merge pull request #175 from prt2121/pt/kotlin-1
Bump Kotlin version to 1.0
2016-02-15 20:39:03 -06:00
Prat
75787d777f Bump Kotlin version to 1.0. Remove unnecessary cast. 2016-02-15 20:42:10 -05:00
Joel Martin
610c61e531 Merge pull request #171 from dubek/ocaml-clear-exceptions
ocaml: Clearer top-level exception handling
2016-02-12 16:11:56 -06:00
Dov Murik
19950b9f1d ocaml: Clearer top-level exception handling 2016-02-12 10:38:27 -05:00
Joel Martin
044eb1c758 examples/pprint.mal: comment out inline tests. 2016-02-10 16:21:33 -06:00
Joel Martin
531d0798ce Simple pprint example.
Answering #165.
2016-02-10 16:19:32 -06:00
Joel Martin
425233e3ad Matlab: fix real matlab issues, , add conj.
Default mode is now Octave, but hex literals and columns numbers on
stack traces are not supported by Matlab so use decimal.

Also, add conj.
2016-02-05 17:31:19 -06:00
Joel Martin
c32565152d bash, nim: fix self-hosted string handling 2016-02-05 16:28:07 -06:00
Joel Martin
17946efbad Haxe, Julia, miniMAL: self-hosting fixes.
- Haxe: correctly set *ARGV*
- Julia: fix map function concatenation of results
- miniMAL: fix (= 'abc nil) and add test in step7 to catch it.
2016-02-05 13:27:30 -06:00
Joel Martin
d82b175c10 Merge pull request #158 from dubek/first-rest-nil
Fix first and rest with nil argument
2016-02-04 11:39:29 -06:00
Dov Murik
dfabec9339 kotlin: Fix (rest nil) 2016-02-03 23:23:19 -05:00
Dov Murik
c36d5b39d1 groovy, java, scala: Fix (first nil) and (rest nil) 2016-02-03 21:23:49 -05:00
Dov Murik
b5f4363f2d swift: Fix (rest nil) 2016-02-03 21:23:49 -05:00
Dov Murik
283779ea75 cs, fsharp, vb: Fix (first nil) and (rest nil) 2016-02-03 21:23:48 -05:00
Dov Murik
866042440b cpp, haxe, rust: Fix (first nil) and (rest nil) 2016-02-03 21:23:48 -05:00
Dov Murik
6832696bbd awk, haskell: Fix (first nil) and (rest nil) 2016-02-03 21:23:48 -05:00
Dov Murik
8b99c2685a c, julia: Fix (first nil) and (rest nil) 2016-02-03 21:23:47 -05:00
Dov Murik
7504874345 factor, go, guile, miniMAL, ps: Fix (first nil) and (rest nil) 2016-02-03 21:23:47 -05:00
Dov Murik
d46927d0c8 elixir, erlang, lua, php, r, vimscript: Fix (first nil) and (rest nil) 2016-02-03 21:23:47 -05:00
Dov Murik
8d1e25ac24 coffee, es6, js, perl, python, ruby: Fix (first nil) and (rest nil) 2016-02-03 21:23:46 -05:00
Dov Murik
4e284171ed tests: Add tests for (first nil) and (rest nil) 2016-02-03 21:23:45 -05:00
Joel Martin
d5a3eb9454 rpython, matlab: fix first/rest on nil. 2016-02-03 12:22:29 -06:00
Joel Martin
35ea7a9ec7 Remove soft around nested equality tests
Related to issue #123
2016-02-01 15:10:12 -06:00
Joel Martin
d66cf2d58f Merge pull request #164 from dubek/factor-fix-nested-equality
factor: Fix nested list/vector/map equality
2016-02-01 15:01:27 -06:00
Dov Murik
bea28ee945 factor: Fix nested list/vector/map equality 2016-02-01 15:20:34 -05:00
Joel Martin
877c627bbd Merge pull request #163 from ekmartin/step_9_elixir_soft_fail
Elixir: Make sure equals for maps has the correct list/vector behavior
2016-02-01 12:17:43 -06:00
ekmartin
e11a5d44b8 Elixir: Make sure equals for maps has the correct list/vector behavior 2016-02-01 18:58:12 +01:00
Joel Martin
d18183fa57 Merge pull request #161 from dubek/guide-time-ms-conj
guide: Document time-ms and conj
2016-02-01 11:31:56 -06:00
Joel Martin
cbd961bde6 Merge pull request #162 from dubek/erlang-fix-nested-equality
erlang: Fix nested list/vector/map equality
2016-02-01 11:05:38 -06:00
Dov Murik
507564943b guide: Document time-ms and conj 2016-02-01 11:39:36 -05:00
Dov Murik
d4a84b22f9 erlang: Fix nested list/vector/map equality
Issue #123
2016-02-01 11:06:20 -05:00
Dov Murik
163964afe1 tests: verify list/vector equality in hash-map values
This is still in the soft-tests section of tests/step9_try.mal.

Issues: #116, #123
2016-02-01 11:06:00 -05:00
Joel Martin
1ee0307512 Merge pull request #157 from dubek/extra-args-as-list
Pass extra function arguments (after &) as a Mal List
2016-02-01 09:51:08 -06:00
Dov Murik
fe364a976d forth: Pass empty extra arguments as empty list 2016-02-01 00:12:00 -05:00
Joel Martin
1198e71bd0 Merge pull request #159 from omarrayward/fix-plural-token
fix typo tokens => token
2016-01-30 21:16:27 -06:00
Omar Rayward
d717d991c4 fix typo tokens to token and remove redundant white space 2016-01-30 17:53:42 -08:00
Joel Martin
8976b2e9bf Haxe: add time-ms (make perf) support. 2016-01-30 12:01:33 -06:00
Dov Murik
f98e3ea939 julia: Pass function arguments as a mal list 2016-01-29 21:37:32 -05:00
Dov Murik
cb737f83da clojure: Pass empty extra arguments as empty list 2016-01-29 21:37:32 -05:00
Dov Murik
79859c62d5 ruby: Pass function arguments as a mal list 2016-01-29 21:37:31 -05:00
Dov Murik
cbbbec92dd python: Pass function arguments as a mal list 2016-01-29 21:37:31 -05:00
Dov Murik
6205526a91 tests: Verify extra args (after &) are in a mal list
step4: before TCO
step9: after TCO and bypass TCO using `apply`
2016-01-29 21:37:30 -05:00
Joel Martin
de176adc79 Merge pull request #156 from omarrayward/explain-regexp-tokenizer
Explain each regexp composing the main regexp used in the tokenizer
2016-01-29 11:48:19 -06:00
Omar Rayward
cfdf00cc7e Explain each regexp composing the main regexp used in the tokenizer 2016-01-29 08:19:10 -08:00
Joel Martin
8b89e8c150 Haxe: add missed Env.hx file. 2016-01-28 20:50:57 -06:00