jackhill/mal.git
6 years agoAdd to test matrix
Vasilij Schneidermann [Mon, 10 Jul 2017 19:47:05 +0000 (21:47 +0200)]
Add to test matrix

6 years agoAdd dockerfile
Vasilij Schneidermann [Mon, 10 Jul 2017 19:39:05 +0000 (21:39 +0200)]
Add dockerfile

6 years agoMention in README
Vasilij Schneidermann [Mon, 10 Jul 2017 07:12:48 +0000 (09:12 +0200)]
Mention in README

6 years agoMerge branch 'master' into gnu-smalltalk-implementation
Vasilij Schneidermann [Mon, 10 Jul 2017 07:07:25 +0000 (09:07 +0200)]
Merge branch 'master' into gnu-smalltalk-implementation

6 years agoFix backquote error for perf tests
Vasilij Schneidermann [Mon, 10 Jul 2017 07:04:39 +0000 (09:04 +0200)]
Fix backquote error for perf tests

6 years agoWrite function for relative loading
Vasilij Schneidermann [Sun, 9 Jul 2017 21:57:14 +0000 (23:57 +0200)]
Write function for relative loading

6 years agoSelf-hosting fix
Vasilij Schneidermann [Sun, 9 Jul 2017 20:51:15 +0000 (22:51 +0200)]
Self-hosting fix

6 years agoImplement step A
Vasilij Schneidermann [Sun, 9 Jul 2017 18:10:16 +0000 (20:10 +0200)]
Implement step A

6 years agoWrap BlockClosure into Fn to work around a bug
Vasilij Schneidermann [Sun, 9 Jul 2017 18:05:59 +0000 (20:05 +0200)]
Wrap BlockClosure into Fn to work around a bug

Extending a BlockClosure by a meta field gives a segfault for whatever
reason.  Yes, seriously.

6 years agoImplement step 9
Vasilij Schneidermann [Sun, 9 Jul 2017 08:51:56 +0000 (10:51 +0200)]
Implement step 9

6 years agoMonkey-patch BlockClosure for simpler code
Vasilij Schneidermann [Sat, 8 Jul 2017 20:55:08 +0000 (22:55 +0200)]
Monkey-patch BlockClosure for simpler code

6 years agoImplement step 8
Vasilij Schneidermann [Sat, 8 Jul 2017 17:49:09 +0000 (19:49 +0200)]
Implement step 8

6 years agoImplement step 7
Vasilij Schneidermann [Fri, 7 Jul 2017 18:36:27 +0000 (20:36 +0200)]
Implement step 7

6 years agoStylistic fixes
Vasilij Schneidermann [Fri, 7 Jul 2017 18:36:14 +0000 (20:36 +0200)]
Stylistic fixes

6 years agoImplement step 6
Vasilij Schneidermann [Fri, 7 Jul 2017 16:36:48 +0000 (18:36 +0200)]
Implement step 6

6 years agoImplement step 5
Vasilij Schneidermann [Thu, 6 Jul 2017 20:54:34 +0000 (22:54 +0200)]
Implement step 5

6 years agoImplement step 4
Vasilij Schneidermann [Wed, 5 Jul 2017 07:15:41 +0000 (09:15 +0200)]
Implement step 4

6 years agoImplement step 3
Vasilij Schneidermann [Mon, 3 Jul 2017 07:29:21 +0000 (09:29 +0200)]
Implement step 3

6 years agoImplement step 2
Vasilij Schneidermann [Sun, 2 Jul 2017 20:13:53 +0000 (22:13 +0200)]
Implement step 2

6 years agoImplement step 1
Vasilij Schneidermann [Sun, 2 Jul 2017 12:41:36 +0000 (14:41 +0200)]
Implement step 1

6 years agoImplement step 0
Vasilij Schneidermann [Wed, 28 Jun 2017 22:59:18 +0000 (00:59 +0200)]
Implement step 0

7 years agoLivescript: update Dockerfile to support Travis.
Joel Martin [Wed, 24 May 2017 17:32:00 +0000 (12:32 -0500)]
Livescript: update Dockerfile to support Travis.

7 years agoMerge pull request #262 from c0deaddict/master
Joel Martin [Wed, 24 May 2017 17:28:28 +0000 (12:28 -0500)]
Merge pull request #262 from c0deaddict/master

Livescript implementation

7 years agoFixed Makefile, added Dockerfile and updated README.
Jos van Bakel [Wed, 24 May 2017 17:12:00 +0000 (19:12 +0200)]
Fixed Makefile, added Dockerfile and updated README.

7 years agoAdded livescript to dependencies + use local livescript compiler
Jos van Bakel [Wed, 24 May 2017 13:10:53 +0000 (15:10 +0200)]
Added livescript to dependencies + use local livescript compiler

7 years agoFixed wrong ignore of livescript/node_readline.js
Jos van Bakel [Wed, 24 May 2017 13:07:09 +0000 (15:07 +0200)]
Fixed wrong ignore of livescript/node_readline.js

7 years agoFixed recursion in Makefile
Jos van Bakel [Wed, 24 May 2017 13:03:48 +0000 (15:03 +0200)]
Fixed recursion in Makefile

7 years agoSelf hosting!
Jos van Bakel [Wed, 24 May 2017 12:48:55 +0000 (14:48 +0200)]
Self hosting!

7 years agoMerge pull request #261 from wasamasa/bugfix-elisp-25.2
Joel Martin [Tue, 23 May 2017 22:57:13 +0000 (17:57 -0500)]
Merge pull request #261 from wasamasa/bugfix-elisp-25.2

Apply hack to Emacs 25 instead of Emacs 25.1

7 years agoApply hack to Emacs 25 instead of Emacs 25.1
Vasilij Schneidermann [Tue, 23 May 2017 21:28:48 +0000 (23:28 +0200)]
Apply hack to Emacs 25 instead of Emacs 25.1

7 years agoMerge pull request #260 from def-/master
Joel Martin [Tue, 23 May 2017 18:48:51 +0000 (13:48 -0500)]
Merge pull request #260 from def-/master

Update to Nim 0.17.0

7 years agoUpdate to Nim 0.17.0
Dennis Felsing [Tue, 23 May 2017 12:46:37 +0000 (14:46 +0200)]
Update to Nim 0.17.0

7 years agoDeprecate tests/docker/Dockerfile
Joel Martin [Tue, 23 May 2017 16:04:32 +0000 (11:04 -0500)]
Deprecate tests/docker/Dockerfile

7 years agoCompleted step 9
Jos van Bakel [Sun, 14 May 2017 20:05:49 +0000 (22:05 +0200)]
Completed step 9

7 years agoMore of step 8
Jos van Bakel [Sat, 13 May 2017 20:05:34 +0000 (22:05 +0200)]
More of step 8

7 years agoStep 8 complete
Jos van Bakel [Sat, 13 May 2017 19:13:10 +0000 (21:13 +0200)]
Step 8 complete

7 years agoAdded first, rest and nth
Jos van Bakel [Fri, 12 May 2017 20:15:14 +0000 (22:15 +0200)]
Added first, rest and nth

7 years agoStep 8
Jos van Bakel [Fri, 12 May 2017 20:04:31 +0000 (22:04 +0200)]
Step 8

7 years agoStep 7
Jos van Bakel [Thu, 11 May 2017 20:46:47 +0000 (22:46 +0200)]
Step 7

7 years agoStep 6
Jos van Bakel [Thu, 11 May 2017 19:37:12 +0000 (21:37 +0200)]
Step 6

7 years agoStep 5
Jos van Bakel [Wed, 10 May 2017 19:27:23 +0000 (21:27 +0200)]
Step 5

7 years agoDeferrables until step 4
Jos van Bakel [Wed, 10 May 2017 15:57:31 +0000 (17:57 +0200)]
Deferrables until step 4

7 years agoStep 4
Jos van Bakel [Mon, 8 May 2017 19:31:26 +0000 (21:31 +0200)]
Step 4

7 years agoStep 3
Jos van Bakel [Sat, 6 May 2017 13:48:44 +0000 (15:48 +0200)]
Step 3

7 years agoStep 2
Jos van Bakel [Fri, 5 May 2017 21:02:54 +0000 (23:02 +0200)]
Step 2

7 years agoStep 0 & 1
Jos van Bakel [Fri, 5 May 2017 20:19:54 +0000 (22:19 +0200)]
Step 0 & 1

7 years agoMerge pull request #257 from boynedmaster/patch-1
Joel Martin [Wed, 12 Apr 2017 15:27:21 +0000 (10:27 -0500)]
Merge pull request #257 from boynedmaster/patch-1

Fix guide's explanation of Regex

7 years agoFix guide's explanation of Regex
boyned//Kampfkarren [Wed, 12 Apr 2017 15:22:19 +0000 (08:22 -0700)]
Fix guide's explanation of Regex

it didn't incude the parantheses

7 years agoAdded livescript
Jos van Bakel [Wed, 5 Apr 2017 20:01:41 +0000 (22:01 +0200)]
Added livescript

7 years agoUpdate README with LambdaConf presentation.
Joel Martin [Fri, 31 Mar 2017 15:25:24 +0000 (10:25 -0500)]
Update README with LambdaConf presentation.

7 years agoMerge pull request #256 from vvakame/impl-ts
Joel Martin [Sun, 26 Feb 2017 21:35:35 +0000 (15:35 -0600)]
Merge pull request #256 from vvakame/impl-ts

Mal implementation by TypeScript

7 years agoaddress comment
vvakame [Sun, 26 Feb 2017 02:02:46 +0000 (11:02 +0900)]
address comment

7 years agofix typo
vvakame [Sun, 26 Feb 2017 01:57:19 +0000 (10:57 +0900)]
fix typo

7 years agosmall fix
vvakame [Sat, 25 Feb 2017 05:44:11 +0000 (14:44 +0900)]
small fix

7 years agoadd TypeScript section README.md
vvakame [Sat, 25 Feb 2017 05:32:18 +0000 (14:32 +0900)]
add TypeScript section README.md

7 years agorename MalNull to MalNil
vvakame [Sat, 25 Feb 2017 05:16:51 +0000 (14:16 +0900)]
rename MalNull to MalNil

7 years agorefactor to using const enum
vvakame [Sat, 25 Feb 2017 05:12:15 +0000 (14:12 +0900)]
refactor to using const enum

7 years agoadd isSeq function to types
vvakame [Sat, 25 Feb 2017 04:28:38 +0000 (13:28 +0900)]
add isSeq function to types

7 years agoreordering core.ns
vvakame [Sat, 25 Feb 2017 04:03:04 +0000 (13:03 +0900)]
reordering core.ns

7 years agomore fitting to process's txt
vvakame [Sat, 25 Feb 2017 02:32:06 +0000 (11:32 +0900)]
more fitting to process's txt

7 years agoadd Dockerfile
vvakame [Sat, 25 Feb 2017 02:11:28 +0000 (11:11 +0900)]
add Dockerfile

7 years agosupport --target es5
vvakame [Sat, 25 Feb 2017 01:34:37 +0000 (10:34 +0900)]
support --target es5

7 years agoTypeScript: step A
vvakame [Fri, 24 Feb 2017 19:31:15 +0000 (04:31 +0900)]
TypeScript: step A

7 years agoTypeScript: step 9
vvakame [Fri, 24 Feb 2017 15:21:30 +0000 (00:21 +0900)]
TypeScript: step 9

7 years agoTypeScript: step 8
vvakame [Fri, 24 Feb 2017 11:57:23 +0000 (20:57 +0900)]
TypeScript: step 8

7 years agoTypeScript: step 7
vvakame [Fri, 24 Feb 2017 11:16:23 +0000 (20:16 +0900)]
TypeScript: step 7

7 years agoTypeScript: step 6
vvakame [Fri, 24 Feb 2017 09:28:26 +0000 (18:28 +0900)]
TypeScript: step 6

7 years agoTypeScript: step 5
vvakame [Fri, 24 Feb 2017 07:30:25 +0000 (16:30 +0900)]
TypeScript: step 5

7 years agoTypeScript: step 4
vvakame [Fri, 24 Feb 2017 04:21:11 +0000 (13:21 +0900)]
TypeScript: step 4

7 years agoTypeScript: step 3
vvakame [Thu, 23 Feb 2017 23:37:25 +0000 (08:37 +0900)]
TypeScript: step 3

7 years agoupdate dependencies
vvakame [Thu, 23 Feb 2017 22:41:49 +0000 (07:41 +0900)]
update dependencies

7 years agoTypeScript: step 2
vvakame [Wed, 22 Feb 2017 20:18:41 +0000 (05:18 +0900)]
TypeScript: step 2

7 years agoTypeScript: step 1
vvakame [Wed, 22 Feb 2017 18:05:01 +0000 (03:05 +0900)]
TypeScript: step 1

7 years agoupdate misc
vvakame [Wed, 22 Feb 2017 18:04:46 +0000 (03:04 +0900)]
update misc

7 years agoTypeScript: step 0
vvakame [Wed, 22 Feb 2017 15:34:44 +0000 (00:34 +0900)]
TypeScript: step 0

7 years agoTypeScript: setup initial environment
vvakame [Wed, 22 Feb 2017 15:03:21 +0000 (00:03 +0900)]
TypeScript: setup initial environment

7 years agominiMAL: bring over node_readline.js to fix build
Joel Martin [Sat, 11 Feb 2017 19:38:38 +0000 (13:38 -0600)]
miniMAL: bring over node_readline.js to fix build

- Node tries to find node_modules subdirectory (to load ffi
  from) in the target of the symlink. I.e. ../js/node_modules

7 years agominiMAL: restore ffi dep and build instructions.
Joel Martin [Sat, 11 Feb 2017 19:07:58 +0000 (13:07 -0600)]
miniMAL: restore ffi dep and build instructions.

7 years agoruntest: print errors before first prompt.
Joel Martin [Sat, 11 Feb 2017 18:54:34 +0000 (12:54 -0600)]
runtest: print errors before first prompt.

- Also, remove extraneous ffi module dep in miniMAL.

7 years agoClojure: node_modules or lein deps but not both.
Joel Martin [Sat, 11 Feb 2017 18:41:06 +0000 (12:41 -0600)]
Clojure: node_modules or lein deps but not both.

7 years agoRust, miniMAL, VHDL: misc fixes.
Joel Martin [Sat, 11 Feb 2017 06:15:34 +0000 (00:15 -0600)]
Rust, miniMAL, VHDL: misc fixes.

- Fix rust Dockerfile working dir.
- Make top-level Makefile more generic. This makes it easier to use
  the Makefile with fewer changes in miniMAL.
- Simplify vhdl build when case is fixed in stepA_mal
- Remove BUILD_IMPL=js from miniMAL travis test. Just use a docker
  image specifically made for miniMAL.
- Update TODO

7 years agoGo, Kotlin, Nim, ObjC, RPython: update Dockerfiles.
Joel Martin [Sat, 11 Feb 2017 06:12:37 +0000 (00:12 -0600)]
Go, Kotlin, Nim, ObjC, RPython: update Dockerfiles.

- Fix Nim IOError handling issue introduced by update.

7 years agoClojure: support ClojureScript using CLJ_MODE=cljs
Joel Martin [Sat, 11 Feb 2017 05:58:37 +0000 (23:58 -0600)]
Clojure: support ClojureScript using CLJ_MODE=cljs

- Requires conditional in stepA tests.

7 years agominiMAL: update to using miniMAL 1.0.2
Joel Martin [Sat, 11 Feb 2017 04:19:55 +0000 (22:19 -0600)]
miniMAL: update to using miniMAL 1.0.2

Also update miniMAL Dockerfile to xenial.

7 years agoES6: more use of ES6, simplifications, newer babel.
Joel Martin [Sat, 11 Feb 2017 04:06:09 +0000 (22:06 -0600)]
ES6: more use of ES6, simplifications, newer babel.

- Use Vector class derived from Array
- Use Array/Vector.from for initializing/cloning of Array/Vector
- Remove most semi-colon line endings
- More use of arrow functions
- Use Object.assign to copy properties in _malfunc and function
  cloning.
- Remove or inline a bunch of types.js functions that don't really
  need to be separate functions: _obj_type, _sequential_Q, _symbol,
  _symbol_Q, _vector, _vector_Q, _hash_map, _hash_map_Q
- Simplify dependency list in Makefile
- Remove some separate core.js functions by moving them into the
  core_ns declaration: _nth, keys, vals, with_meta.

With node 7, babel is mostly just used for translating imports into
CommonJS requires for node.

7 years agoRust: update rust to 1.14
Joel Martin [Sat, 11 Feb 2017 04:18:49 +0000 (22:18 -0600)]
Rust: update rust to 1.14

- fixup new warnings

Note: performance on the perf microbenchmark appears much better than
before.

7 years agoMerge pull request #255 from chr15m/master
Joel Martin [Sat, 11 Feb 2017 03:52:39 +0000 (21:52 -0600)]
Merge pull request #255 from chr15m/master

Fixed erroneous fn* -> native PHP function conversion.

7 years agoFixed erroneous fn* -> native PHP function conversion.
Chris McCormick [Sat, 11 Feb 2017 02:14:24 +0000 (10:14 +0800)]
Fixed erroneous fn* -> native PHP function conversion.
Added test for callbacks during interop which is where this failure showed up.

7 years agoMerge pull request #254 from cosmos72/master
Joel Martin [Mon, 6 Feb 2017 21:34:33 +0000 (15:34 -0600)]
Merge pull request #254 from cosmos72/master

Go: Use type assertions where possible instead of reflection

7 years agoGo: Use type assertions where possible instead of reflection
Massimiliano Ghilardi [Mon, 6 Feb 2017 20:58:59 +0000 (21:58 +0100)]
Go: Use type assertions where possible instead of reflection

7 years agoMerge pull request #253 from jonaslu/update_guide_w_file_permissions
Joel Martin [Fri, 3 Feb 2017 15:49:42 +0000 (09:49 -0600)]
Merge pull request #253 from jonaslu/update_guide_w_file_permissions

Update README with hint on test permission failing

7 years agoUpdate README with hint on test permission failing
Jonas Lundberg [Fri, 3 Feb 2017 08:27:42 +0000 (09:27 +0100)]
Update README with hint on test permission failing

Ran into some problems with the <language>/run file
not having the executable flag set.

Setting +x on the run file helps this.

The error-message the python runner throws is:
Traceback (most recent call last):
  File "../runtest.py", line 227, in <module>
    r = Runner(args.mal_cmd, no_pty=args.no_pty)
  File "../runtest.py", line 105, in __init__
    env=env)
  File "/usr/lib/python3.6/subprocess.py", line 707, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.6/subprocess.py", line 1326, in _execute_child
    raise child_exception_type(errno_num, err_msg)
PermissionError: [Errno 13] Permission denied
make: *** [Makefile:310: test^mymal^step0] Error 1

7 years agoMerge pull request #252 from pstephens/fsharp-exceptions
Joel Martin [Wed, 28 Dec 2016 18:22:49 +0000 (11:22 -0700)]
Merge pull request #252 from pstephens/fsharp-exceptions

fsharp: added some top level exception catching

7 years agofsharp: added some top level exception catching so that the repl wouldn't quit to...
Peter Stephens [Mon, 26 Dec 2016 23:05:32 +0000 (17:05 -0600)]
fsharp: added some top level exception catching so that the repl wouldn't quit to CLI on errors.

7 years agoBasic: QBasic fixes.
Joel Martin [Wed, 14 Dec 2016 03:26:57 +0000 (21:26 -0600)]
Basic: QBasic fixes.

- restructure memory dim/initialization to support QBasic which
  requires all DIMs to be earlier in the code than references to the
  DIM'd variables (unlike C64 which just requires the DIMs to be
  called first logically).
- Fix printed header ("C64 QBasic" -> "QBasic")

7 years agoBasic: various memory savings.
Joel Martin [Sat, 10 Dec 2016 16:50:40 +0000 (11:50 -0500)]
Basic: various memory savings.

- simplify DO_CONCAT.
- inline MAL_READ/PRINT.
- comment out memory debug/sanity checks.
- more aggressive space removal.

Saves over 900 bytes.

Increase Z% value memory by 374 to 9216 (8192+1024).

7 years agoBasic: more efficient/correct file reader.
Joel Martin [Sat, 10 Dec 2016 14:53:10 +0000 (09:53 -0500)]
Basic: more efficient/correct file reader.

- read one character at a time from the file instead of chunking it
  into the A$ string.
- fix an overflow that was happening during reads of long forms.

7 years agoMerge pull request #250 from dubek/skew
Joel Martin [Mon, 21 Nov 2016 17:16:23 +0000 (11:16 -0600)]
Merge pull request #250 from dubek/skew

Add Skew implementation

7 years agoMerge pull request #248 from iqbalansari/common-lisp
Joel Martin [Mon, 21 Nov 2016 16:51:16 +0000 (10:51 -0600)]
Merge pull request #248 from iqbalansari/common-lisp

Portable implementation in Common LISP

7 years agoCommon Lisp: Add support for running on ABCL
Iqbal Ansari [Sun, 20 Nov 2016 19:41:55 +0000 (01:11 +0530)]
Common Lisp: Add support for running on ABCL