jackhill/mal.git
8 years agoAdd Makefile
Vasilij Schneidermann [Wed, 2 Mar 2016 00:15:20 +0000 (01:15 +0100)]
Add Makefile

8 years agoExtend README
Vasilij Schneidermann [Wed, 2 Mar 2016 00:08:59 +0000 (01:08 +0100)]
Extend README

8 years agoMerge branch 'master' into elisp
Vasilij Schneidermann [Wed, 2 Mar 2016 00:01:43 +0000 (01:01 +0100)]
Merge branch 'master' into elisp

8 years agoAdd basic interop and tests
Vasilij Schneidermann [Tue, 1 Mar 2016 23:55:55 +0000 (00:55 +0100)]
Add basic interop and tests

8 years agoRemove quotes in out-of-range error for nth
Vasilij Schneidermann [Tue, 1 Mar 2016 23:13:14 +0000 (00:13 +0100)]
Remove quotes in out-of-range error for nth

8 years agoRemove unnecessary boxing/unboxing
Vasilij Schneidermann [Tue, 1 Mar 2016 23:10:29 +0000 (00:10 +0100)]
Remove unnecessary boxing/unboxing

8 years agoAdd a hack to make all step tests pass
Vasilij Schneidermann [Tue, 1 Mar 2016 23:04:00 +0000 (00:04 +0100)]
Add a hack to make all step tests pass

8 years agoAdd `define-error` on 24.3
Vasilij Schneidermann [Tue, 1 Mar 2016 22:40:16 +0000 (23:40 +0100)]
Add `define-error` on 24.3

8 years agoHandle EOF in exposed readline function
Vasilij Schneidermann [Tue, 1 Mar 2016 21:47:31 +0000 (22:47 +0100)]
Handle EOF in exposed readline function

8 years agoFix *ARGV*
Vasilij Schneidermann [Tue, 1 Mar 2016 21:33:32 +0000 (22:33 +0100)]
Fix *ARGV*

8 years agoHandle truthness values better
Vasilij Schneidermann [Tue, 1 Mar 2016 20:58:13 +0000 (21:58 +0100)]
Handle truthness values better

8 years agoImplement step A
Vasilij Schneidermann [Tue, 1 Mar 2016 17:42:25 +0000 (18:42 +0100)]
Implement step A

8 years agoImplement step 9
Vasilij Schneidermann [Tue, 1 Mar 2016 14:44:09 +0000 (15:44 +0100)]
Implement step 9

8 years agoImplement step 8
Vasilij Schneidermann [Mon, 29 Feb 2016 20:01:13 +0000 (21:01 +0100)]
Implement step 8

8 years agoImplement step 7
Vasilij Schneidermann [Sun, 28 Feb 2016 23:28:54 +0000 (00:28 +0100)]
Implement step 7

8 years agoImplement step 6
Vasilij Schneidermann [Sun, 28 Feb 2016 20:22:30 +0000 (21:22 +0100)]
Implement step 6

8 years agoImplement step 5
Vasilij Schneidermann [Sun, 28 Feb 2016 20:22:21 +0000 (21:22 +0100)]
Implement step 5

8 years agoImplement step 4
Vasilij Schneidermann [Sun, 28 Feb 2016 20:22:16 +0000 (21:22 +0100)]
Implement step 4

8 years agoImplement step 3
Vasilij Schneidermann [Sun, 28 Feb 2016 20:22:09 +0000 (21:22 +0100)]
Implement step 3

8 years agoImplement step 2
Vasilij Schneidermann [Sun, 28 Feb 2016 20:22:03 +0000 (21:22 +0100)]
Implement step 2

8 years agoImplement step 1
Vasilij Schneidermann [Sun, 28 Feb 2016 20:21:49 +0000 (21:21 +0100)]
Implement step 1

8 years agoImplement step 0
Vasilij Schneidermann [Sun, 28 Feb 2016 20:21:38 +0000 (21:21 +0100)]
Implement step 0

8 years agoMerge branch 'issue_166_string_ops' of github.com:kanaka/mal into issue_166_string_ops
Joel Martin [Wed, 24 Feb 2016 22:53:03 +0000 (16:53 -0600)]
Merge branch 'issue_166_string_ops' of github.com:kanaka/mal into issue_166_string_ops

Conflicts:
factor/lib/core/core.factor

8 years agoSwift*: add seq/string?. swift: gensym/or macro fix
Joel Martin [Wed, 24 Feb 2016 22:39:25 +0000 (16:39 -0600)]
Swift*: add seq/string?. swift: gensym/or macro fix

8 years agoMerge branch 'master' into issue_166_string_ops
Joel Martin [Wed, 24 Feb 2016 18:00:08 +0000 (12:00 -0600)]
Merge branch 'master' into issue_166_string_ops

8 years agoswift3: add missing time-ms function
Joel Martin [Wed, 24 Feb 2016 17:59:18 +0000 (11:59 -0600)]
swift3: add missing time-ms function

8 years agoadd swift3/Dockerfile
Joel Martin [Wed, 24 Feb 2016 15:22:09 +0000 (09:22 -0600)]
add swift3/Dockerfile

8 years agoTravis: add swift3 build.
Joel Martin [Wed, 24 Feb 2016 07:12:24 +0000 (01:12 -0600)]
Travis: add swift3 build.

8 years agoREADME.md: update with Swift 3 info
Joel Martin [Wed, 24 Feb 2016 07:09:57 +0000 (01:09 -0600)]
README.md: update with Swift 3 info

8 years agoGeneric recursive rules for dist, stats, clean
Joel Martin [Wed, 24 Feb 2016 07:05:44 +0000 (01:05 -0600)]
Generic recursive rules for dist, stats, clean

Also add missing clean rules for julia and matlab and fix perl clean
rule.

8 years agoswift3: dist rule
Joel Martin [Wed, 24 Feb 2016 06:47:37 +0000 (00:47 -0600)]
swift3: dist rule

8 years agoswift3: add missed updates to core/types
Joel Martin [Wed, 24 Feb 2016 06:47:16 +0000 (00:47 -0600)]
swift3: add missed updates to core/types

8 years agoDist/packaging for most impls. erlang, racket *ARGV* fixes.
Joel Martin [Wed, 24 Feb 2016 06:45:40 +0000 (00:45 -0600)]
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

8 years agoAdd dist targets to most implementations.
Joel Martin [Thu, 18 Feb 2016 06:33:19 +0000 (00:33 -0600)]
Add dist targets to most implementations.

TODO: factor groovy guile julia matlab miniMAL swift

8 years agoawk-es6, Makefile: dist ruiles
Joel Martin [Mon, 15 Feb 2016 02:57:31 +0000 (20:57 -0600)]
awk-es6, Makefile: dist ruiles

8 years agoswift3: steps6-A, vectors, maps, keywords, meta.
Joel Martin [Wed, 24 Feb 2016 06:27:23 +0000 (00:27 -0600)]
swift3: steps6-A, vectors, maps, keywords, meta.

Everything except conj and meta on lists, vectors and hash-maps.

8 years agoswift3: step0-step5 basics
Joel Martin [Tue, 23 Feb 2016 06:49:28 +0000 (00:49 -0600)]
swift3: step0-step5 basics

8 years agoMerge pull request #176 from dubek/issue_166_factor
Joel Martin [Tue, 16 Feb 2016 20:23:37 +0000 (14:23 -0600)]
Merge pull request #176 from dubek/issue_166_factor

factor: add seq and string?

8 years agoforth: add seq and string?
Joel Martin [Tue, 16 Feb 2016 19:56:51 +0000 (13:56 -0600)]
forth: add seq and string?

Issue #166

With assistance from chouser (thanks!).

8 years agofactor: add seq and string?
Dov Murik [Tue, 16 Feb 2016 19:40:31 +0000 (14:40 -0500)]
factor: add seq and string?

Issue #166

8 years agoprocess: add seq and string? and other stepA fixups.
Joel Martin [Tue, 16 Feb 2016 15:59:23 +0000 (09:59 -0600)]
process: add seq and string? and other stepA fixups.

Issue #166

8 years agonim: add seq and string?
Joel Martin [Tue, 16 Feb 2016 05:58:07 +0000 (23:58 -0600)]
nim: add seq and string?

Issue #166.

8 years agophp: add seq and string?
Joel Martin [Tue, 16 Feb 2016 04:38:38 +0000 (22:38 -0600)]
php: add seq and string?

Issue #166

8 years agokotlin: add seq and string?
Joel Martin [Tue, 16 Feb 2016 04:05:50 +0000 (22:05 -0600)]
kotlin: add seq and string?

Issue #166.

Also, in stepA_mal print out standard startup message.

8 years agoMerge pull request #175 from prt2121/pt/kotlin-1
Joel Martin [Tue, 16 Feb 2016 02:39:03 +0000 (20:39 -0600)]
Merge pull request #175 from prt2121/pt/kotlin-1

Bump Kotlin version to 1.0

8 years agoBump Kotlin version to 1.0. Remove unnecessary cast.
Prat [Tue, 16 Feb 2016 01:25:32 +0000 (20:25 -0500)]
Bump Kotlin version to 1.0. Remove unnecessary cast.

8 years agoawk: add seq and string?
Joel Martin [Tue, 16 Feb 2016 00:23:22 +0000 (18:23 -0600)]
awk: add seq and string?

Issue #166

8 years agoJulia: add seq, string? and conj.
Joel Martin [Mon, 15 Feb 2016 21:59:20 +0000 (15:59 -0600)]
Julia: add seq, string? and conj.

Issue #166.

8 years agoMerge pull request #174 from dubek/issue_166_schemes
Joel Martin [Mon, 15 Feb 2016 21:36:04 +0000 (15:36 -0600)]
Merge pull request #174 from dubek/issue_166_schemes

guile, racket: add seq and string?

8 years agoracket: add seq and string?
Dov Murik [Mon, 15 Feb 2016 19:27:47 +0000 (14:27 -0500)]
racket: add seq and string?

Issue #166

8 years agoguile: add seq and string?
Dov Murik [Mon, 15 Feb 2016 18:41:39 +0000 (13:41 -0500)]
guile: add seq and string?

Issue #166

8 years agohaskell, r: add seq and string?.
Joel Martin [Mon, 15 Feb 2016 16:13:37 +0000 (10:13 -0600)]
haskell, r: add seq and string?.

Issue #166.

8 years agops, python: fix keyword? on empty string.
Joel Martin [Mon, 15 Feb 2016 15:30:16 +0000 (09:30 -0600)]
ps, python: fix keyword? on empty string.

Issue #166.

8 years agoMerge pull request #173 from dubek/issue_166_beams
Joel Martin [Mon, 15 Feb 2016 06:36:01 +0000 (00:36 -0600)]
Merge pull request #173 from dubek/issue_166_beams

elixir, erlang: add seq and string?

8 years agoelixir: add seq and string?
Dov Murik [Mon, 15 Feb 2016 04:40:15 +0000 (23:40 -0500)]
elixir: add seq and string?

Issue #166

8 years agoerlang: add seq and string?
Dov Murik [Mon, 15 Feb 2016 02:41:36 +0000 (21:41 -0500)]
erlang: add seq and string?

Issue #166

8 years agoMerge pull request #172 from dubek/issue_166_sharps_crystal_lua_perl
Joel Martin [Mon, 15 Feb 2016 02:35:20 +0000 (20:35 -0600)]
Merge pull request #172 from dubek/issue_166_sharps_crystal_lua_perl

cs, fsharp, vb, crystal, lua, perl: add seq and string?

8 years agocrystal: add seq and string?
Dov Murik [Mon, 15 Feb 2016 01:50:19 +0000 (20:50 -0500)]
crystal: add seq and string?

Issue #166

8 years agolua: add seq and string?
Dov Murik [Sat, 13 Feb 2016 03:00:53 +0000 (22:00 -0500)]
lua: add seq and string?

Issue #166

8 years agoperl: add seq and string?
Dov Murik [Sat, 13 Feb 2016 02:38:47 +0000 (21:38 -0500)]
perl: add seq and string?

Issue #166

8 years agofsharp: add seq and string?
Dov Murik [Sat, 13 Feb 2016 02:01:05 +0000 (21:01 -0500)]
fsharp: add seq and string?

Issue #166

8 years agovb: add seq and string?
Dov Murik [Sat, 13 Feb 2016 01:27:12 +0000 (20:27 -0500)]
vb: add seq and string?

Issue #166

8 years agocs: add seq and string?
Dov Murik [Fri, 12 Feb 2016 16:37:03 +0000 (11:37 -0500)]
cs: add seq and string?

Issue #166

8 years agoMerge pull request #171 from dubek/ocaml-clear-exceptions
Joel Martin [Fri, 12 Feb 2016 22:11:56 +0000 (16:11 -0600)]
Merge pull request #171 from dubek/ocaml-clear-exceptions

ocaml: Clearer top-level exception handling

8 years agogroovy, java, scala: add seq/string?.
Joel Martin [Fri, 12 Feb 2016 15:58:15 +0000 (09:58 -0600)]
groovy, java, scala: add seq/string?.

Issue #166.

Also, add keyword? step9 test on zero length strings.

8 years agoMerge pull request #170 from dubek/issue_166_d_go_vimscript
Joel Martin [Fri, 12 Feb 2016 15:39:03 +0000 (09:39 -0600)]
Merge pull request #170 from dubek/issue_166_d_go_vimscript

d, go, vimscript: add seq and string?

8 years agoocaml: Clearer top-level exception handling
Dov Murik [Fri, 12 Feb 2016 15:32:03 +0000 (10:32 -0500)]
ocaml: Clearer top-level exception handling

8 years agod: add seq and string?
Dov Murik [Fri, 12 Feb 2016 15:15:28 +0000 (10:15 -0500)]
d: add seq and string?

Issue #166

8 years agovimscript: add seq and string?
Dov Murik [Fri, 12 Feb 2016 14:29:45 +0000 (09:29 -0500)]
vimscript: add seq and string?

Issue #166

8 years agogo: add seq and string?
Dov Murik [Fri, 12 Feb 2016 05:10:32 +0000 (00:10 -0500)]
go: add seq and string?

Issue #166

8 years agoMerge pull request #169 from dubek/issue_166_tcl
Joel Martin [Fri, 12 Feb 2016 14:24:51 +0000 (08:24 -0600)]
Merge pull request #169 from dubek/issue_166_tcl

tcl: add seq and string?

8 years agotcl: add seq and string?
Dov Murik [Fri, 12 Feb 2016 04:31:03 +0000 (23:31 -0500)]
tcl: add seq and string?

Issue #166

8 years agoMerge pull request #168 from sdt/sdt/cpp-string-ops
Joel Martin [Fri, 12 Feb 2016 02:05:00 +0000 (20:05 -0600)]
Merge pull request #168 from sdt/sdt/cpp-string-ops

C++ string? & seq implementations

8 years agoC++ string? & seq implementations
Stephen Thirlwall [Thu, 11 Feb 2016 23:13:47 +0000 (10:13 +1100)]
C++ string? & seq implementations

8 years agoMerge pull request #167 from dubek/issue_166_ocaml
Joel Martin [Thu, 11 Feb 2016 20:44:36 +0000 (14:44 -0600)]
Merge pull request #167 from dubek/issue_166_ocaml

ocaml: add seq and string?

8 years agomal, rust: add seq/string?
Joel Martin [Thu, 11 Feb 2016 20:38:29 +0000 (14:38 -0600)]
mal, rust: add seq/string?

Issue #166.

8 years agoocaml: add seq and string?
Dov Murik [Thu, 11 Feb 2016 20:25:26 +0000 (15:25 -0500)]
ocaml: add seq and string?

Issue #166

8 years agomake, ps, ruby: add seq/string?
Joel Martin [Thu, 11 Feb 2016 19:57:49 +0000 (13:57 -0600)]
make, ps, ruby: add seq/string?

Issue #166

8 years agohaxe, matlab, miniMAL, python, rpython: add seq/string?
Joel Martin [Thu, 11 Feb 2016 15:19:53 +0000 (09:19 -0600)]
haxe, matlab, miniMAL, python, rpython: add seq/string?

Issue #166.

8 years agobash, c, clojure, coffee, es6, js: add seq/string?
Joel Martin [Thu, 11 Feb 2016 15:18:46 +0000 (09:18 -0600)]
bash, c, clojure, coffee, es6, js: add seq/string?

Issue #166.

8 years agoAdd seq and string? tests.
Joel Martin [Thu, 11 Feb 2016 15:17:49 +0000 (09:17 -0600)]
Add seq and string? tests.

Issue #166

8 years agoexamples/pprint.mal: comment out inline tests.
Joel Martin [Wed, 10 Feb 2016 22:21:33 +0000 (16:21 -0600)]
examples/pprint.mal: comment out inline tests.

8 years agoSimple pprint example.
Joel Martin [Wed, 10 Feb 2016 22:19:32 +0000 (16:19 -0600)]
Simple pprint example.

Answering #165.

8 years agoMatlab: fix real matlab issues, , add conj.
Joel Martin [Fri, 5 Feb 2016 23:31:19 +0000 (17:31 -0600)]
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.

8 years agobash, nim: fix self-hosted string handling
Joel Martin [Fri, 5 Feb 2016 22:28:07 +0000 (16:28 -0600)]
bash, nim: fix self-hosted string handling

8 years agoHaxe, Julia, miniMAL: self-hosting fixes.
Joel Martin [Fri, 5 Feb 2016 19:27:30 +0000 (13:27 -0600)]
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.

8 years agoMerge pull request #158 from dubek/first-rest-nil
Joel Martin [Thu, 4 Feb 2016 17:39:29 +0000 (11:39 -0600)]
Merge pull request #158 from dubek/first-rest-nil

Fix first and rest with nil argument

8 years agokotlin: Fix (rest nil)
Dov Murik [Thu, 4 Feb 2016 04:23:19 +0000 (23:23 -0500)]
kotlin: Fix (rest nil)

8 years agogroovy, java, scala: Fix (first nil) and (rest nil)
Dov Murik [Wed, 3 Feb 2016 20:19:35 +0000 (15:19 -0500)]
groovy, java, scala: Fix (first nil) and (rest nil)

8 years agoswift: Fix (rest nil)
Dov Murik [Wed, 3 Feb 2016 16:38:03 +0000 (11:38 -0500)]
swift: Fix (rest nil)

8 years agocs, fsharp, vb: Fix (first nil) and (rest nil)
Dov Murik [Wed, 3 Feb 2016 16:14:38 +0000 (11:14 -0500)]
cs, fsharp, vb: Fix (first nil) and (rest nil)

8 years agocpp, haxe, rust: Fix (first nil) and (rest nil)
Dov Murik [Wed, 3 Feb 2016 13:39:41 +0000 (08:39 -0500)]
cpp, haxe, rust: Fix (first nil) and (rest nil)

8 years agoawk, haskell: Fix (first nil) and (rest nil)
Dov Murik [Mon, 1 Feb 2016 04:44:56 +0000 (23:44 -0500)]
awk, haskell: Fix (first nil) and (rest nil)

8 years agoc, julia: Fix (first nil) and (rest nil)
Dov Murik [Mon, 1 Feb 2016 04:28:36 +0000 (23:28 -0500)]
c, julia: Fix (first nil) and (rest nil)

8 years agofactor, go, guile, miniMAL, ps: Fix (first nil) and (rest nil)
Dov Murik [Sat, 30 Jan 2016 04:24:49 +0000 (23:24 -0500)]
factor, go, guile, miniMAL, ps: Fix (first nil) and (rest nil)

8 years agoelixir, erlang, lua, php, r, vimscript: Fix (first nil) and (rest nil)
Dov Murik [Sat, 30 Jan 2016 02:47:14 +0000 (21:47 -0500)]
elixir, erlang, lua, php, r, vimscript: Fix (first nil) and (rest nil)

8 years agocoffee, es6, js, perl, python, ruby: Fix (first nil) and (rest nil)
Dov Murik [Fri, 29 Jan 2016 02:36:44 +0000 (21:36 -0500)]
coffee, es6, js, perl, python, ruby: Fix (first nil) and (rest nil)

8 years agotests: Add tests for (first nil) and (rest nil)
Dov Murik [Fri, 29 Jan 2016 02:36:16 +0000 (21:36 -0500)]
tests: Add tests for (first nil) and (rest nil)

8 years agorpython, matlab: fix first/rest on nil.
Joel Martin [Wed, 3 Feb 2016 18:22:29 +0000 (12:22 -0600)]
rpython, matlab: fix first/rest on nil.

8 years agoRemove soft around nested equality tests
Joel Martin [Mon, 1 Feb 2016 21:10:12 +0000 (15:10 -0600)]
Remove soft around nested equality tests

Related to issue #123