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

1047 Commits

Author SHA1 Message Date
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
Joel Martin
2f2049c286 Merge pull request #155 from ekmartin/nested_equal_elixir
Elixir: Fix nested list/vector equality
2016-01-27 14:02:15 -06:00
Joel Martin
165bfbf1e3 Merge pull request #154 from dubek/python-fix-str-equal
python: Fix equality of unicode/normal strings in Python 2.x
2016-01-27 14:01:48 -06:00
ekmartin
2c7a2b0794 Elixir: Fix nested list/vector equality 2016-01-27 20:45:21 +01:00
Dov Murik
8fe734d267 python: Fix newline ("\n") handling 2016-01-27 14:03:11 -05:00
Dov Murik
a16bb08f51 python: Fix equality of unicode/normal strings in Python 2.x 2016-01-27 13:02:14 -05:00
Joel Martin
33dec7afc2 Haxe: update README, fix macro eval, add conj.
Also:

- add ability to build all or one Haxe target.
- enable travis build for Haxe
2016-01-26 16:21:47 -06:00
Joel Martin
56be4ef0ee Merge branch 'Haxe' 2016-01-26 15:54:15 -06:00
Joel Martin
9b4cfe03cb guide: note evaluation after macroexpansion. 2016-01-26 15:19:42 -06:00
Joel Martin
9bca0b57e3 tests: make macro result evaluation mandatory. 2016-01-26 14:21:05 -06:00
Joel Martin
411abc90f4 Merge pull request #146 from dubek/fix-macro-eval
Fix macro eval in 24 impls
2016-01-26 14:16:55 -06:00
Joel Martin
d5b81cc072 julia, matlab, r, rust, swift: fix macro result evaluation
Related to issue #142.
2016-01-26 14:16:20 -06:00
Joel Martin
44aef1f401 clojure, groovy, rpython, scala: fix macro result evaluation
Related to issue #142.

- also, fix groovy build dependency bug
2016-01-26 14:15:16 -06:00
Joel Martin
36e287b51f cs, fsharp, java, vb: fix macro result evaluation.
Related to issue #142.

- also, fix java build issue in both Makefiles.
2016-01-26 14:13:59 -06:00
Joel Martin
e995cbf161 Merge pull request #153 from dubek/forth-hash-map-equality
forth: Fix hash-map equality
2016-01-26 10:42:14 -06:00
Dov Murik
2aff8547f7 forth: Fix hash-map equality
Issue #116
2016-01-26 10:43:50 -05:00
Joel Martin
32d0a1cfdb Haxe: add C++, JS, Neko targets. Make neko default. 2016-01-25 23:37:47 -06:00
Joel Martin
1d16649510 Haxe: step7-A, hash-maps, metadata, self-hosting. 2016-01-25 22:51:58 -06:00
Joel Martin
dc1986dcb1 Merge pull request #143 from dubek/add-gensym
Add gensym and clean `or` macro
2016-01-25 21:58:06 -06:00
Dov Murik
92c7576ceb make, php, python, ruby: fix macro result evaluation
Issue #142
2016-01-25 21:30:46 -05:00
Dov Murik
bfa3dd3593 coffee, es6, js, mal, miniMAL: fix macro result evaluation
Issue #142
2016-01-25 21:22:21 -05:00
Dov Murik
b1165f9178 crystal, elixir, erlang, factor, perl: fix macro result evaluation
Issue #142
2016-01-25 20:58:33 -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
Dov Murik
166da203fa Add gensym and clean or macro to stepA of 13 implementations (part 2)
* bash
* c
* clojure
* coffee
* crystal
* d
* elixir
* erlang
* forth
* lua
* make
* nim
* perl
2016-01-23 00:31:55 -05:00
Dov Murik
48572759b7 Add gensym and clean or macro to stepA of 12 implementations (part 1)
* go
* guile
* js
* mal
* miniMAL
* ocaml
* ps
* python
* racket
* ruby
* tcl
* vimscript
2016-01-23 00:31:51 -05:00
Dov Murik
4881701ad0 process/guide: add gensym instructions to stepA 2016-01-22 23:47:54 -05:00
Dov Murik
2357142eb4 core.mal: Clean and and or macros with gensym 2016-01-22 23:47:53 -05:00
Dov Murik
e7ea303105 process/stepA: add gensym and clean or macro 2016-01-22 23:47:52 -05:00
Dov Murik
718f8e4d6c tests/stepA: add gensym and clean or macro tests 2016-01-22 23:47:51 -05:00
Dov Murik
a193b2c470 tests/step8: remove and macro tests, add ->> macro tests
1. `gensym` isn't yet available in step8
2. `and` tests are very slow in some implementations
3. ->> macro is more complex
4. moved core.mal to the end so it won't override the builtin `or` macro
2016-01-22 23:47:50 -05:00
Dov Murik
0d629719f9 bash, c, go, lua, racket: fix macro result evaluation
Issue #142
2016-01-22 14:00:11 -05:00
Dov Murik
6c94cd3e40 d, nim, ps, tcl, vimscript: fix macro result evaluation
Issue #142
2016-01-22 13:48:07 -05:00
Joel Martin
542e1d3c22 Merge pull request #145 from ivern/kotlin
Implemented hashmap equality (addresses #116, #123)
2016-01-22 11:15:43 -06:00
Javier Fernandez-Ivern
de0023d77a Implemented hashmap equality (addresses #116, #123) 2016-01-22 10:53:25 -06:00
Joel Martin
6523be9f1a Add macro result eval test.
Test to cover bug https://github.com/kanaka/mal/issues/142
2016-01-20 15:28:55 -06:00
Joel Martin
1f21eda925 Haxe: step2-step6 basics, vectors, and keywords. 2016-01-14 20:57:29 -06:00
Joel Martin
b1fef5d72a Merge branch 'issue130_matlab_fixes' 2016-01-11 11:58:28 -06:00
Joel Martin
e7f7c14314 Merge branch 'issue130_diagram_updates' 2016-01-11 11:58:16 -06:00
Joel Martin
6c4c14bd8a Haxe: step0 and step1. 2016-01-08 21:18:41 -06:00
Joel Martin
9d54117c83 matlab: missed octave support fixes. 2016-01-08 20:49:45 -06:00
Dov Murik
26afafb29a factor: fix atom swap! in step6 and later
Copy mal-apply definition from step9 to earlier steps (swap! calls
mal-apply).
2016-01-06 14:33:57 +02:00
Dov Murik
d50fe7d153 factor: remove unrelated vim swap file 2016-01-06 14:33:57 +02:00
Dov Murik
7148ddb621 forth: implement atom swap! in step6 (and later)
The `swap!` implementation calls invoke and eval, and therefore require
backporting the implementation of invoke for MalUserFn and MalNativeFn
from step9 all the way back to step6.
2016-01-06 14:33:56 +02:00
Dov Murik
dcd1519937 guile: modify step6 (and later) to handle atoms 2016-01-06 14:33:56 +02:00
Dov Murik
627bd6f766 process, tests: move atoms implementation from stepA to step6 2016-01-06 14:33:55 +02:00
Joel Martin
f3caff3404 Merge pull request #141 from rcantangus/master
Update guide.md
2016-01-04 15:53:52 -06:00