1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-21 10:37:58 +03:00
Commit Graph

12 Commits

Author SHA1 Message Date
Joel Martin
5bbc7a1fb8 bash, basic: add number?, fn?, and macro? 2017-10-11 15:58:36 -04:00
Dov Murik
4c77d21607 bash: Fix string? result on keyword arguments
Fixed wrong `string?` value on keyword arguments in bash implementation
(2 soft test fails).

Before the fix:

```
TEST: (string? :abc) -> ['',false] -> SOFT FAIL (line 115):
    Expected : '(string? :abc)\r\nfalse'
    Got      : '(string? :abc)\r\ntrue'
TEST: (string? (keyword "abc")) -> ['',false] -> SOFT FAIL (line 117):
    Expected : '(string? (keyword "abc"))\r\nfalse'
    Got      : '(string? (keyword "abc"))\r\ntrue'
```

With the fix:

```
TEST: (string? :abc) -> ['',false] -> SUCCESS
TEST: (string? (keyword "abc")) -> ['',false] -> SUCCESS
```
2017-07-20 20:12:14 +00:00
Joel Martin
4c14a8b835 bash, c, clojure, coffee, es6, js: add seq/string?
Issue #166.
2016-02-11 09:18:46 -06:00
Joel Martin
c32565152d bash, nim: fix self-hosted string handling 2016-02-05 16:28:07 -06:00
Joel Martin
6749588df5 Bash: remove debug print. 2015-10-26 22:39:09 -05:00
Joel Martin
f15b4021db All: show comments with stats target.
- Put guile into correct alphabetical order.
2015-10-26 22:33:49 -05:00
Joel Martin
dbac60df00 All: move metadata, atoms, readline, conj to stepA.
- Move some of the more optional things (conj, readline) to stepA. All
  implementations pass step9 tests now.
- Move metadata and atoms to stepA.
- Update step9 and stepA diagrams.
2015-03-14 17:17:14 -05:00
Joel Martin
b8ee29b22f All: add keywords.
Also, fix nth and count to match cloure.
2015-01-09 16:16:50 -06:00
Joel Martin
db4c329aff All: perf test, Makefile refactor, add *host-language*
Other:
- bash,make,postscript: quasiquote of vectors
- Fix Java slurp
- add time function to core.mal
    - switches on *host-language* for make time-secs vs time-ms
- Ignore */experiments directories
2014-04-17 21:49:07 -05:00
Joel Martin
8cb5cda46c All: move some fns to core. Major cleanup.
- Don't import/require core until step4.
- Define cond/or macros from step8
2014-04-16 23:57:50 -05:00
Joel Martin
7e9a2883fe All: fix get. All pass stepA tests. 2014-04-15 01:24:43 -05:00
Joel Martin
ea81a8087b All: split types into types, env, printer, core.
- types: low-level mapping to the implementation language.
- core: functions on types that are exposed directly to mal.
- printer: implementation called by pr-str, str, prn, println.
- env: the environment implementation

- Also, unindent all TCO while loops so that the diff of step4 and
  step5 are minimized.
2014-04-02 22:23:37 -05:00