jackhill/mal.git
5 years agoelisp: Get rid of newline hack in printer
Vasilij Schneidermann [Tue, 19 Feb 2019 19:50:14 +0000 (20:50 +0100)]
elisp: Get rid of newline hack in printer

5 years agoelisp: Drop unused type definition
Vasilij Schneidermann [Tue, 19 Feb 2019 19:49:53 +0000 (20:49 +0100)]
elisp: Drop unused type definition

5 years agoelisp: Reraise error correctly in try*
Vasilij Schneidermann [Tue, 19 Feb 2019 19:46:04 +0000 (20:46 +0100)]
elisp: Reraise error correctly in try*

5 years agoREADME: add Tim Morgan (malcc) github user.
Joel Martin [Tue, 19 Feb 2019 16:58:19 +0000 (10:58 -0600)]
README: add Tim Morgan (malcc) github user.

5 years agoREADME: better title "Other mal projects"
Joel Martin [Tue, 19 Feb 2019 16:54:04 +0000 (10:54 -0600)]
README: better title "Other mal projects"

5 years agoREADME: link to Tim Morgan's malcc project.
Joel Martin [Tue, 19 Feb 2019 16:52:43 +0000 (10:52 -0600)]
README: link to Tim Morgan's malcc project.

Resolves https://github.com/kanaka/mal/issues/342

5 years agoruby: Fix exception when handling catchless try*
Dov Murik [Tue, 19 Feb 2019 08:37:28 +0000 (08:37 +0000)]
ruby: Fix exception when handling catchless try*

5 years agoREADME: fix typo
Joel Martin [Tue, 12 Feb 2019 19:13:46 +0000 (11:13 -0800)]
README: fix typo

5 years agoREADME: description section formatting and diagram
Joel Martin [Tue, 12 Feb 2019 19:10:42 +0000 (11:10 -0800)]
README: description section formatting and diagram

Number the 3 description sections highlights. Add the step A diagram to the educational highlight.

5 years agoMerge pull request #340 from juan-db/patch-1
Joel Martin [Thu, 7 Feb 2019 16:29:27 +0000 (10:29 -0600)]
Merge pull request #340 from juan-db/patch-1

Fix typo in guide

5 years agoFix typo
Juan de Bruin [Thu, 7 Feb 2019 10:04:54 +0000 (12:04 +0200)]
Fix typo

5 years agoMerge pull request #339 from asarhaddon/master
Joel Martin [Mon, 4 Feb 2019 22:18:35 +0000 (16:18 -0600)]
Merge pull request #339 from asarhaddon/master

Check that the eval built-in uses Repl instead of a local environment.

5 years agoMove test of eval builtin to step6. Fix nim implementation.
Nicolas Boulenguez [Sun, 3 Feb 2019 13:56:34 +0000 (14:56 +0100)]
Move test of eval builtin to step6. Fix nim implementation.

The test makes more sense in step6.
Thanks to kanaka for the read-string suggestion.

Introduction of tail call optimization in step5 was making let* affect
the parent environment. This was partially fixed in later steps.

Introduction of macros in step8 was breaking the evaluation of an
empty list. This was fixed by step 9 but never backported.

5 years agoIn step6, test that eval uses Repl not Env. I have not managed to test this before...
Nicolas Boulenguez [Mon, 10 Oct 2016 17:06:37 +0000 (19:06 +0200)]
In step6, test that eval uses Repl not Env. I have not managed to test this before step7 quotes.

5 years agoREADME: mention make help target.
Joel Martin [Wed, 30 Jan 2019 18:05:34 +0000 (12:05 -0600)]
README: mention make help target.

5 years agoMerge pull request #338 from asarhaddon/test-dash-non-numbers
Joel Martin [Wed, 30 Jan 2019 17:58:08 +0000 (11:58 -0600)]
Merge pull request #338 from asarhaddon/test-dash-non-numbers

In step1, test non-numbers starting with a dash.

5 years agoMakefile: mention TEST_OPTS in help.
Joel Martin [Wed, 30 Jan 2019 17:56:01 +0000 (11:56 -0600)]
Makefile: mention TEST_OPTS in help.

5 years agofsharp, swift3: fix parsing of single '-'
Joel Martin [Wed, 30 Jan 2019 17:54:57 +0000 (11:54 -0600)]
fsharp, swift3: fix parsing of single '-'

Fixes https://github.com/kanaka/mal/pull/338

5 years agoIn step1, test non-numbers starting with a dash.
Nicolas Boulenguez [Mon, 10 Oct 2016 17:05:19 +0000 (19:05 +0200)]
In step1, test non-numbers starting with a dash.

5 years agoREADME: bold language names to make clearer.
Joel Martin [Mon, 28 Jan 2019 23:43:04 +0000 (17:43 -0600)]
README: bold language names to make clearer.

5 years agoREADME: move creator info to first list.
Joel Martin [Mon, 28 Jan 2019 23:31:49 +0000 (17:31 -0600)]
README: move creator info to first list.

The creator information should be more prominent instead of hidden
within the build/run instructions.

5 years agoREADME: add external implementations section.
Joel Martin [Mon, 28 Jan 2019 22:07:27 +0000 (16:07 -0600)]
README: add external implementations section.

Move the alternate rust implementations to this section and add
a link to HolyC implementation.

5 years agoREADME: the tested version of lua is now 5.2.
Joel Martin [Mon, 28 Jan 2019 19:44:24 +0000 (13:44 -0600)]
README: the tested version of lua is now 5.2.

5 years agolua: update to version 5.2
Joel Martin [Mon, 28 Jan 2019 19:31:28 +0000 (13:31 -0600)]
lua: update to version 5.2

- Update to support the new behavior of varargs and table.pack/unpack
  in lua 5.2
- Bump up the stack overflow test since lua 5.2 seems to support much
  larger stacks before overflow.
- Fix a latent issue in if forms where false in the 4th position would
  result in nil returned. Add a new test to catch this in the future.

5 years agoclojure: tools.reader dep no longer necessary.
Joel Martin [Mon, 28 Jan 2019 17:52:14 +0000 (11:52 -0600)]
clojure: tools.reader dep no longer necessary.

5 years agoMerge pull request #337 from AndreaCrotti/upgrade-libraries
Joel Martin [Mon, 28 Jan 2019 17:50:33 +0000 (11:50 -0600)]
Merge pull request #337 from AndreaCrotti/upgrade-libraries

upgrade clojure and tools.reader

5 years agoRuntest should fail on bad test data. Fix interop tests.
Joel Martin [Mon, 28 Jan 2019 16:27:41 +0000 (10:27 -0600)]
Runtest should fail on bad test data. Fix interop tests.

The interop tests weren't updated when regex support was added to
runtest for matching output data. This was causing a bunch of
implementations to silently fail while testing interop. Fix runtest.py
to fail on bad test data and fix 21 implementations with the old style
output matches.

5 years agoupgrade clojure and tools.reader
Andrea Crotti [Sun, 27 Jan 2019 18:21:57 +0000 (18:21 +0000)]
upgrade clojure and tools.reader

5 years agoError on unterminated strings.
Joel Martin [Thu, 24 Jan 2019 18:40:36 +0000 (12:40 -0600)]
Error on unterminated strings.

Add a step1 test to make sure that implementations are properly
throwing an error on unclosed strings.

Fix 47 implementations and update the guide to note the correct
behavior.

5 years agoMerge pull request #335 from Windfarer/fix_guide
Joel Martin [Mon, 21 Jan 2019 21:02:02 +0000 (15:02 -0600)]
Merge pull request #335 from Windfarer/fix_guide

Fixing function name in guide

5 years agofix function name "tokenize"
Windfarer [Mon, 21 Jan 2019 09:08:05 +0000 (17:08 +0800)]
fix function name "tokenize"

5 years agowasm: update Dockerfile to force warpy build.
Joel Martin [Thu, 17 Jan 2019 03:01:15 +0000 (21:01 -0600)]
wasm: update Dockerfile to force warpy build.

5 years agowasm: revert to i32 get_time_ms (subtract 30 years)
Joel Martin [Thu, 17 Jan 2019 02:03:37 +0000 (20:03 -0600)]
wasm: revert to i32 get_time_ms (subtract 30 years)

JS doesn't support i64 types for exports/imports so revert to i32
return type but subtract 30 years to avoid wrapping/negative values.

5 years agowasm: fix get_time_ms to return millis.
Joel Martin [Wed, 16 Jan 2019 07:25:00 +0000 (01:25 -0600)]
wasm: fix get_time_ms to return millis.

Also, to avoid overflow, subtract 30 years so that the value won't
wrap in i32.

5 years agowasm: Add warpy wasm_MODE.
Joel Martin [Wed, 16 Jan 2019 07:12:00 +0000 (01:12 -0600)]
wasm: Add warpy wasm_MODE.

- Update Dockerfile to install rpython and then use that build and
  install warpy (nojit).
- Support 'warpy' in wasm_MODE. Update wasm/Makefile and wasm/run to
  support the new mode.

5 years agowasm: update to 2019 wat syntax, use .wat extension
Joel Martin [Wed, 16 Jan 2019 06:13:51 +0000 (00:13 -0600)]
wasm: update to 2019 wat syntax, use .wat extension

wasm: update to wat syntax as of Jan 2019.

Examples:
- get_local -> local.get
- i32.wrap/i64 -> i32.warp_i64
- etc

The distinction between wat and wast has been clarified:
- wat: textual format for web assembly modules
- wast: superset of wat used in the specification to define tests.

5 years agowasm: use platform_os for JS mode.
Joel Martin [Tue, 15 Jan 2019 04:37:46 +0000 (22:37 -0600)]
wasm: use platform_os for JS mode.

Drop platform_js and use refactor platform_os to support JS mode. Add
get_time_ms import to platform_os so this depends on run.js and
fooboot providing that.

5 years agoClojure: reader/printer instead of monkey patching
Joel Martin [Sat, 12 Jan 2019 20:57:58 +0000 (14:57 -0600)]
Clojure: reader/printer instead of monkey patching

Update the Clojure/ClojureScript implementation to have full reader
and printer/pr-str impementation instead of monkey patching Clojure's
reader and print functions.

5 years agoMerge pull request #334 from hgdsraj/hgdsraj-patch-1
Joel Martin [Fri, 11 Jan 2019 04:16:58 +0000 (22:16 -0600)]
Merge pull request #334 from hgdsraj/hgdsraj-patch-1

Updated README

5 years agoUpdated README
Raj Mahey [Thu, 10 Jan 2019 21:30:21 +0000 (13:30 -0800)]
Updated README

change "yes the" into "yes, the". Stylised make command and changed download to downloaded

5 years agotests/step3_env: don't assume def! is lexical.
Joel Martin [Fri, 4 Jan 2019 23:03:00 +0000 (17:03 -0600)]
tests/step3_env: don't assume def! is lexical.

5 years agoMerge pull request #333 from LispLY/objc-fix-conj-meta
Joel Martin [Thu, 27 Dec 2018 20:19:28 +0000 (14:19 -0600)]
Merge pull request #333 from LispLY/objc-fix-conj-meta

ojbc: fix conj, meta and with-meta

5 years agoIn objc. Modified conj, meta and with-meta to pass all the tests in stepA.
陆遥 [Tue, 18 Dec 2018 06:05:56 +0000 (14:05 +0800)]
In objc. Modified conj, meta and with-meta to pass all the tests in stepA.

5 years agoTest uncaught throw, catchless try* . Fix 46 impls.
Joel Martin [Mon, 3 Dec 2018 19:20:44 +0000 (13:20 -0600)]
Test uncaught throw, catchless try* . Fix 46 impls.

Fixes made to: ada, c, chuck, clojure, coffee, common-lisp, cpp,
crystal, d, dart, elm, erlang, es6, factor, fsharp, gnu-smalltalk,
groovy, guile, haxe, hy, js, livescript, matlab, miniMAL, nasm, nim,
objc, objpascal, ocaml, perl, perl6, php, plsql, ps, python, r,
rpython, ruby, scheme, swift3, tcl, ts, vb, vimscript, wasm, yorick.

Catchless try* test is an optional test. Not all implementations
support catchless try* but a number were fixed so they at least don't
crash on catchless try*.

5 years agoruntest: support carriage returns in tests.
Joel Martin [Mon, 10 Dec 2018 18:30:58 +0000 (12:30 -0600)]
runtest: support carriage returns in tests.

This allows carriage returns to be specified in tests which allows
multiline tests to be written i.e. by using Ctrl-V Enter to put
a literal carriage return (^M) into the test definition. The effect of
this is to send a single string to the REPL that contains newlines
which normally can't be done because readline behavior will split it
into two separate lines.

5 years agowasm: split js mode platform code out.
Joel Martin [Mon, 10 Dec 2018 06:30:59 +0000 (00:30 -0600)]
wasm: split js mode platform code out.

Simplify the interface to remove imports that aren't used (stdout and
add_history) and simplify (rename fputs to printline).

5 years agowasm: enable execution with Node
Joel Martin [Mon, 10 Dec 2018 04:55:49 +0000 (22:55 -0600)]
wasm: enable execution with Node

Add node mode to travis alongside wace_libc.

5 years agoREADME: fix formatting.
Joel Martin [Sun, 9 Dec 2018 00:29:28 +0000 (18:29 -0600)]
README: fix formatting.

5 years agoREADME: add missing talk youtube links.
Joel Martin [Sun, 9 Dec 2018 00:26:13 +0000 (18:26 -0600)]
README: add missing talk youtube links.

5 years agowasm: add package.json to pull in wamp.
Joel Martin [Sun, 9 Dec 2018 00:11:19 +0000 (18:11 -0600)]
wasm: add package.json to pull in wamp.

5 years agowasm: update README. Activate in travis.
Joel Martin [Sat, 8 Dec 2018 22:56:59 +0000 (16:56 -0600)]
wasm: update README. Activate in travis.

5 years agowasm: Update Dockerfile. WAMP and WASM_AS params.
Joel Martin [Sat, 8 Dec 2018 22:52:48 +0000 (16:52 -0600)]
wasm: Update Dockerfile. WAMP and WASM_AS params.

5 years agowasm: fix to work with wabt's wat2wasm.
Joel Martin [Sat, 8 Dec 2018 22:51:16 +0000 (16:51 -0600)]
wasm: fix to work with wabt's wat2wasm.

5 years agowasm: drop unnecessary signed suffixes.
Joel Martin [Sat, 8 Dec 2018 21:35:49 +0000 (15:35 -0600)]
wasm: drop unnecessary signed suffixes.

Apparently some of the assemblers ignored these sign indicators and so
this worked in the past.

5 years agowasm: add line count rules.
Joel Martin [Fri, 7 Dec 2018 07:11:05 +0000 (01:11 -0600)]
wasm: add line count rules.

5 years agowasm: use LET macro and br_if.
Joel Martin [Sun, 11 Nov 2018 23:55:38 +0000 (17:55 -0600)]
wasm: use LET macro and br_if.

5 years agowasm: String refactor. Release macro memory
Joel Martin [Sun, 11 Nov 2018 21:30:42 +0000 (15:30 -0600)]
wasm: String refactor. Release macro memory

Also split platform out.

5 years agowasm: improve debug output using padding.
Joel Martin [Sun, 11 Nov 2018 21:07:27 +0000 (15:07 -0600)]
wasm: improve debug output using padding.

5 years agowasm: Steps 4-A, hashmaps, metadata.
Joel Martin [Sun, 14 Oct 2018 21:44:08 +0000 (16:44 -0500)]
wasm: Steps 4-A, hashmaps, metadata.

- Use more concise param and local syntax.
- Separate out string.wam.
- Add pr_str_seq functionality and add in print_readably
  functionality.
- Add REPLACE3 function.
- Remove use of putchar and simplify util.wam
- Move string functions from util.wam to string.wam including some
  renames to be more consistent with C library names.
- Add temporary content to 256 character buffers so that they are
  de-duplicated/combined.
- Use AND/OR macros.
- Improve Makefile deps and use more general wasm target.
- Properly cleanup memory in try* and use TCO as part of try*.

5 years agowasm: Convert to wam syntax using wamp.
Joel Martin [Sun, 14 Oct 2018 04:10:28 +0000 (23:10 -0500)]
wasm: Convert to wam syntax using wamp.

- Convert sources to much more concise wam syntax supported by wamp.
- Rename sources from *.wast to *.wam and generate *.wast files by
  translating via wamp.

5 years agowasm: Steps 0-3 ported from basic. Preprocessor.
Joel Martin [Sat, 13 Oct 2018 05:26:38 +0000 (00:26 -0500)]
wasm: Steps 0-3 ported from basic. Preprocessor.

Needs wace from https://github.com/kanaka/wac to run.

wastpp.py processes the listed modules and outputs a single combined
module. It finds inline strings and hoists them to the top into a data
section and creates pointer variables into that memory and replaces
the inline strings with pointer lookups.

5 years agoplpgsql, racket, tcl, yorick: fix errors.
Joel Martin [Thu, 29 Nov 2018 23:10:01 +0000 (17:10 -0600)]
plpgsql, racket, tcl, yorick: fix errors.

5 years agoguile, hy, java, make, matlab, miniMAL: fix errors
Joel Martin [Thu, 29 Nov 2018 23:09:28 +0000 (17:09 -0600)]
guile, hy, java, make, matlab, miniMAL: fix errors

5 years agolua, nasm, perl, rexx, vimscript: fix errors.
Joel Martin [Thu, 29 Nov 2018 21:32:27 +0000 (15:32 -0600)]
lua, nasm, perl, rexx, vimscript: fix errors.

5 years agoada, d, elixir, es6, factor, haxe: fix errors.
Joel Martin [Thu, 29 Nov 2018 21:31:50 +0000 (15:31 -0600)]
ada, d, elixir, es6, factor, haxe: fix errors.

5 years agoawk, bash, c, coffee, js: fix errors.
Joel Martin [Thu, 29 Nov 2018 06:41:47 +0000 (00:41 -0600)]
awk, bash, c, coffee, js: fix errors.

5 years agoforth: fix errors/reporting in steps 1-8.
Joel Martin & Chouser [Fri, 30 Nov 2018 20:54:21 +0000 (14:54 -0600)]
forth: fix errors/reporting in steps 1-8.

5 years agoruntest.py: process output/errors as regex match.
Joel Martin [Thu, 29 Nov 2018 06:39:53 +0000 (00:39 -0600)]
runtest.py: process output/errors as regex match.

Update output test data to be regex compatible.

5 years agoruntest.py: more generic prompt matching.
Joel Martin [Thu, 29 Nov 2018 03:04:44 +0000 (21:04 -0600)]
runtest.py: more generic prompt matching.

5 years agoawk: fix ignored escaped 'u' warning.
Joel Martin [Thu, 29 Nov 2018 03:33:56 +0000 (21:33 -0600)]
awk: fix ignored escaped 'u' warning.

5 years agomal: update Dockerfile to Ubuntu 18.04 and node 10
Joel Martin [Thu, 29 Nov 2018 02:45:28 +0000 (20:45 -0600)]
mal: update Dockerfile to Ubuntu 18.04 and node 10

5 years agoMerge pull request #331 from vi/patch-1
Joel Martin [Thu, 29 Nov 2018 02:49:25 +0000 (20:49 -0600)]
Merge pull request #331 from vi/patch-1

Add link to my Rust implementation

5 years agoUpdate JS impls: use ffi-napi and Ubuntu 18.04
Joel Martin [Wed, 28 Nov 2018 23:12:17 +0000 (17:12 -0600)]
Update JS impls: use ffi-napi and Ubuntu 18.04

5 years agoAdd link to my Rust implementation
Vitaly Shukela [Fri, 9 Nov 2018 21:24:56 +0000 (00:24 +0300)]
Add link to my Rust implementation

I assume this README serves as a wiki for collecting impls.

5 years agoMerge pull request #330 from omarroth/update-crystal
Joel Martin [Tue, 30 Oct 2018 00:27:05 +0000 (19:27 -0500)]
Merge pull request #330 from omarroth/update-crystal

Update Crystal implementation

5 years agoUpdate Crystal implementation
Omar Roth [Sat, 27 Oct 2018 20:20:36 +0000 (15:20 -0500)]
Update Crystal implementation

5 years agoAdd link to Rust implementation by Tim Morgan.
Joel Martin [Sat, 25 Aug 2018 22:30:33 +0000 (17:30 -0500)]
Add link to Rust implementation by Tim Morgan.

5 years agoTravis: re-active perf for erlang.
Joel Martin [Tue, 17 Jul 2018 00:10:00 +0000 (19:10 -0500)]
Travis: re-active perf for erlang.

Local testing shows that the test completes and doesn't hit OOM.

5 years agoMerge pull request #326 from seven1m/patch-1
Joel Martin [Tue, 17 Jul 2018 00:04:26 +0000 (17:04 -0700)]
Merge pull request #326 from seven1m/patch-1

Fix link to FAQ document

5 years agoFix link to FAQ document
Tim Morgan [Mon, 16 Jul 2018 23:41:12 +0000 (18:41 -0500)]
Fix link to FAQ document

5 years agoTravis: enable mal impl for perf test.
Joel Martin [Mon, 16 Jul 2018 23:15:19 +0000 (18:15 -0500)]
Travis: enable mal impl for perf test.

5 years agoTravis: trigger build after github push error.
Joel Martin [Mon, 16 Jul 2018 22:45:55 +0000 (17:45 -0500)]
Travis: trigger build after github push error.

git push gave this error and the commit was successfully pushed but it
didn't result in Travis starting a build:

remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
remote: Unexpected system error after push was received.
remote: These changes may not be reflected on github.com!
remote: Your unique error code: 1d9d84300a34930b94914e59e9c3b381
To git@github.com:kanaka/mal.git
   5ffa331..1332215  master -> master

5 years agoperf: more accurate iter count (last-iters).
Joel Martin [Mon, 16 Jul 2018 17:33:36 +0000 (12:33 -0500)]
perf: more accurate iter count (last-iters).

We should return the iter count prior to then final iteration because
the final one was incomplete when the 10 seconds expired.

5 years agoperf: simplify perf3 iter calc. Enable perf^mal.
Joel Martin [Mon, 16 Jul 2018 17:24:05 +0000 (12:24 -0500)]
perf: simplify perf3 iter calc. Enable perf^mal.

Since the iter count increases by 1 each time through the "loop", when
we hit more than 10 seconds elapsed time we can just return the
previous iter count rather than doing a percentage calculation. This
fixes results for basic modes which couldn't do the percent
calculation because itermediate values were greater than 32,768 which
is the limit for basic MODES.

Also, the mal implementation now runs and returns legit results so
re-enable perf^impl.

5 years agoperf: fix perf3 to show total iters instead of / 3
Joel Martin [Mon, 16 Jul 2018 14:34:37 +0000 (09:34 -0500)]
perf: fix perf3 to show total iters instead of / 3

The run-fn-for function was originally name run-fn and was hard-coded
to run for 3 seconds. I forgot to replace the 3 with the max-secs
variable. However, given that some implementations have less than
1 iteration per second, I'm just going to drop that division and
report the iterations per max-seconds so that for the slowest
implementations we have some relative comparison instead of all of
them just reporting 0.

Thanks to Tim Morgan for discovering this bug:
https://github.com/kanaka/mal/commit/699f0ad23aca21076edb6a51838d879ca580ffd5

5 years agorust: fix Dockerfile to include WORKDIR=/mal
Joel Martin [Sun, 15 Jul 2018 00:27:11 +0000 (19:27 -0500)]
rust: fix Dockerfile to include WORKDIR=/mal

5 years ago[travis] disable foment. Still hangs in perf.
Joel Martin [Sat, 14 Jul 2018 18:32:35 +0000 (13:32 -0500)]
[travis] disable foment. Still hangs in perf.

5 years agoscheme: enable foment to test if hangs are fixed
Joel Martin [Fri, 13 Jul 2018 20:24:18 +0000 (15:24 -0500)]
scheme: enable foment to test if hangs are fixed

5 years agorust: Update rust and update/refactor implementation
Joel Martin [Thu, 12 Jul 2018 05:23:40 +0000 (00:23 -0500)]
rust: Update rust and update/refactor implementation

This rewrites the rust implementation to use many new features of the
current version of rust.

The refactor is much more concise (only 2/3rds the size) and switches
to using a lot of the more functional features (iterators, closures,
etc) that have been added or improved in rust.

Unfortunately, the implementation is a fair bit slower (about 30% on
perf3). It's not clear why this is the case but concision and being
more idiomatic wins over performance.

5 years agorust: remove rustyline ANSI CSI codes from output
Joel Martin [Fri, 29 Jun 2018 03:02:42 +0000 (22:02 -0500)]
rust: remove rustyline ANSI CSI codes from output

5 years agoMerge pull request #323 from jig/master
Joel Martin [Fri, 13 Jul 2018 05:55:20 +0000 (22:55 -0700)]
Merge pull request #323 from jig/master

Go: Fix panic on call to function with wrong number of arguments

5 years agoMerge pull request #325 from chr15m/php-interop-language-constructs
Joel Martin [Thu, 12 Jul 2018 23:15:29 +0000 (16:15 -0700)]
Merge pull request #325 from chr15m/php-interop-language-constructs

PHP: Wrap some native "language constructs".

5 years agoMerge pull request #324 from seven1m/add-not-test-for-nil
Joel Martin [Thu, 12 Jul 2018 22:44:10 +0000 (15:44 -0700)]
Merge pull request #324 from seven1m/add-not-test-for-nil

Test that (not nil) returns true

5 years agotests/stepA: allow time-ms result to be signed.
Joel Martin [Thu, 12 Jul 2018 19:24:14 +0000 (14:24 -0500)]
tests/stepA: allow time-ms result to be signed.

In Java the time-ms value was negative. This actually still works fine
because arithmetic comparison is still correct. So allow signed
time-ms results.

5 years agoTypeScript: fix HOME bug and node symlink.
Joel Martin [Thu, 12 Jul 2018 19:21:55 +0000 (14:21 -0500)]
TypeScript: fix HOME bug and node symlink.

Update the Dockerfile to fix a symlink loop.
Update node_readline.ts to fix a failure with usage of
process.env.HOME which started failing for some reason.

5 years agoscala: fix w/ xenial, sbt 0.14.6, update build.
Joel Martin [Thu, 12 Jul 2018 18:51:02 +0000 (13:51 -0500)]
scala: fix w/ xenial, sbt 0.14.6, update build.

Build had become out of date so update docker image to xenial and sbt
to 0.14.6 and update Scala build files to go with new sbt version.

5 years agojava: fix by updating to xenial, java 8, maven 3
Joel Martin [Thu, 12 Jul 2018 14:27:21 +0000 (09:27 -0500)]
java: fix by updating to xenial, java 8, maven 3

The vivid build with java 7 and maven 2 was no longer able to retrieve
upstream deps and was failing.

5 years agoPHP: Wrap some native "language constructs".
Chris McCormick [Thu, 12 Jul 2018 12:21:03 +0000 (20:21 +0800)]
PHP: Wrap some native "language constructs".

Common ones which can't be called otherwise.
Can now be reached via php/exit, php/print, php/require.

Fixes chr15m/frock#7

5 years agoTest that (not nil) returns true
Tim Morgan [Mon, 9 Jul 2018 03:21:01 +0000 (22:21 -0500)]
Test that (not nil) returns true

5 years agoGo: Minor
Jordi Íñigo [Sun, 8 Jul 2018 09:22:49 +0000 (11:22 +0200)]
Go: Minor