Joel Martin
5ffa3314f9
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.
2018-07-16 12:24:05 -05:00
Joel Martin
6da59ec2f4
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:
699f0ad23a
2018-07-16 09:34:37 -05:00
Joel Martin
cd30e52b31
rust: fix Dockerfile to include WORKDIR=/mal
2018-07-14 19:27:11 -05:00
Joel Martin
0777a9a762
[travis] disable foment. Still hangs in perf.
2018-07-14 13:32:35 -05:00
Joel Martin
56d9fa6036
scheme: enable foment to test if hangs are fixed
2018-07-13 17:21:00 -05:00
Joel Martin
4ef4b17cd0
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.
2018-07-13 17:21:00 -05:00
Joel Martin
9a66ffcd2e
rust: remove rustyline ANSI CSI codes from output
2018-07-13 17:20:44 -05:00
Joel Martin
3c7d7c0df3
Merge pull request #323 from jig/master
...
Go: Fix panic on call to function with wrong number of arguments
2018-07-12 22:55:20 -07:00
Joel Martin
ba36c146bd
Merge pull request #325 from chr15m/php-interop-language-constructs
...
PHP: Wrap some native "language constructs".
2018-07-12 16:15:29 -07:00
Joel Martin
b26c8329c8
Merge pull request #324 from seven1m/add-not-test-for-nil
...
Test that (not nil) returns true
2018-07-12 15:44:10 -07:00
Joel Martin
bbd62dc97c
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.
2018-07-12 14:24:14 -05:00
Joel Martin
e44c0be968
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.
2018-07-12 14:21:55 -05:00
Joel Martin
6e59c4f26d
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.
2018-07-12 13:51:02 -05:00
Joel Martin
63462732fa
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.
2018-07-12 09:27:21 -05:00
Chris McCormick
634ca5e98b
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
2018-07-12 20:25:32 +08:00
Tim Morgan
e2352e739b
Test that (not nil) returns true
2018-07-08 22:21:01 -05:00
Jordi Íñigo
1e8fc91409
Go: Minor
2018-07-08 11:22:49 +02:00
Jordi Íñigo
a536db2105
Go: added file back accidentally removed
2018-07-08 11:20:46 +02:00
Jordi Íñigo
3932a29be3
Go: modified error messages
2018-07-08 01:44:28 +02:00
Jordi Íñigo
ed1819f423
Go: added argument count checks to functions
2018-07-08 01:23:00 +02:00
Jordi Íñigo
9bc61630d2
Go: removed some redundant tests
2018-07-07 22:04:52 +02:00
Jordi Íñigo
07bd1c1ff1
Go: Fix panic on call to function with wrong number of arguments
2018-07-06 13:18:48 +02:00
Joel Martin
810ec74a67
Merge pull request #322 from chr15m/projects-using-mal
...
Added README section for projects using mal.
2018-06-26 08:43:15 -05:00
Chris McCormick
b0687d365b
Added README section for projects using mal.
2018-06-26 18:04:56 +08:00
Joel Martin
c9ce6b6d55
Merge pull request #320 from chr15m/php-interop-improvements
...
Updated PHP native interop interface.
2018-06-25 11:04:41 -05:00
Chris McCormick
ba218d6f0a
Updated PHP native interop interface.
2018-06-25 09:59:15 +08:00
Joel Martin
a2bcbe2bb5
Merge pull request #319 from chr15m/refactor-php-web-runner
...
PHP: refactor web running mechanism.
2018-06-24 11:27:48 -05:00
Chris McCormick
9106f92cbc
PHP: refactor web running mechanism.
2018-06-24 19:45:29 +08:00
Joel Martin
ce6814306d
Merge pull request #318 from jamesbvaughan/fix-readme-typo
...
Fix typo in Common Lisp section of Readme
2018-06-23 18:10:40 -05:00
James Vaughan
d7f720e653
Fix typo in Common Lisp section
2018-06-23 16:08:15 -07:00
Joel Martin
8c2a6e122d
Merge pull request #317 from kanaka/rename-short-abbreviations
...
Rename short abbreviations
2018-06-22 12:43:56 -05:00
Vasilij Schneidermann
808c940d86
Use correct implementation names in build matrix
2018-06-22 18:24:47 +02:00
Vasilij Schneidermann
b440380f64
Rename gst and pil directories in README
2018-06-22 18:20:38 +02:00
Vasilij Schneidermann
8ea36c892f
Rename gst and pil to gnu-smalltalk and picolisp
2018-06-17 19:54:54 +02:00
Joel Martin
9ee4a752c4
Merge pull request #316 from dubek/fantom
...
I pushed a container (we should probably figure out how to let you and @wasamasa do that at some point). The Fantom build is passing. Did a brief code review and looks good. Merged.
2018-06-03 19:56:52 -05:00
Dov Murik
80beb411e0
travis: Add fantom to build CI matrix
2018-06-03 20:14:27 +00:00
Dov Murik
92708e3488
Add Fantom implementation
2018-06-03 20:08:19 +00:00
Joel Martin
ba46e3b027
[clojure] update lumo/image to fix module mismatch.
2018-04-02 11:01:24 -05:00
Joel Martin
2c5410e8e9
Merge pull request #310 from bendudson/master
...
NASM x86-64 assembly implementation
2018-01-04 11:33:58 -06:00
Ben Dudson
9cb9566897
Tidying, minimising differences between steps
...
Merging fixes in stepA into earlier steps, and
removing differences in comments and spacing
2018-01-04 16:07:01 +00:00
Ben Dudson
16ca3eee57
Removing env and core from step2
...
Changed Env to Map. Need to define arithmetic
operators in step2 rather than core for this step.
2018-01-04 14:36:53 +00:00
Ben Dudson
2f61f4a8d3
Tidying up steps 0-3 (in progress)
...
Trying to remove common code, and minimise differences
between steps.
2018-01-03 23:50:34 +00:00
Ben Dudson
39b031b7b8
Adding nasm to Travis yml file
...
Enables testing of NASM implementation
2018-01-03 15:47:05 +00:00
Ben Dudson
20e02704c4
Add clean target
...
Deletes executables and object files
2018-01-03 15:43:22 +00:00
Ben Dudson
c4152b5fc2
Add stats and stats-lisp targets
...
Updated list of source files, added targets
with `;` as the comment character
2018-01-02 23:48:51 +00:00
Ben Dudson
918f2bee96
Bump language count in README
...
Updated to 72 languages
2018-01-02 23:39:01 +00:00
Ben Dudson
3e30ec9aa1
Dockerfile xenial and binutils install
...
* Changed from generic ubuntu to ubuntu:xenial
* Now requires binutils to be installed for `ld`
2018-01-02 23:37:42 +00:00
Joel Martin
b20f11f1d5
Merge pull request #311 from bendudson/nasm-tests-step7_9
...
New tests for steps 7 and 9
2018-01-02 09:53:18 -06:00
Joel Martin
c0f10162f3
Merge pull request #312 from jonaslu/add_metadata_reader_macro_in_docs
...
Update guide with note on reader macro with-meta
2018-01-02 09:51:23 -06:00
Joel Martin
3ea9bb9493
Swift: try forcing Travis to xcode version 7.3
2017-12-30 13:18:34 -06:00