1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-13 01:43:50 +03:00
Commit Graph

2377 Commits

Author SHA1 Message Date
Dov Murik
6d4201755a skew: Support catchless try* 2019-02-20 07:14:23 +00:00
Dov Murik
625a684737 tcl: Support catchless try* 2019-02-20 07:10:44 +00:00
Dov Murik
9993f053ee vhdl: Support catchless try* 2019-02-20 07:04:55 +00:00
Joel Martin
c5cd05aee8 README: language list to table with anchor links 2019-02-19 15:41:42 -06:00
Vasilij Schneidermann
b5df0de6f5 elisp: Get rid of load-relative hack 2019-02-19 21:10:15 +01:00
Vasilij Schneidermann
fabdabe2b6 elisp: Relax version RE check 2019-02-19 21:01:42 +01:00
Vasilij Schneidermann
79c5b02eec elisp: Disable curved quotes to fix test rig fails 2019-02-19 21:01:16 +01:00
Vasilij Schneidermann
a3b3a3cc7c elisp: Get rid of newline hack in printer 2019-02-19 20:53:38 +01:00
Vasilij Schneidermann
948eeb0422 elisp: Drop unused type definition 2019-02-19 20:53:38 +01:00
Vasilij Schneidermann
5020037a09 elisp: Reraise error correctly in try* 2019-02-19 20:53:38 +01:00
Joel Martin
dad737adbf README: add Tim Morgan (malcc) github user. 2019-02-19 10:58:19 -06:00
Joel Martin
daafc18dfa README: better title "Other mal projects" 2019-02-19 10:54:04 -06:00
Joel Martin
7cdb44161d README: link to Tim Morgan's malcc project.
Resolves https://github.com/kanaka/mal/issues/342
2019-02-19 10:52:43 -06:00
Dov Murik
2bce8a6901 ruby: Fix exception when handling catchless try* 2019-02-19 08:37:28 +00:00
Joel Martin
138cbb9c10
README: fix typo 2019-02-12 11:13:46 -08:00
Joel Martin
5b6498bcf1
README: description section formatting and diagram
Number the 3 description sections highlights. Add the step A diagram to the educational highlight.
2019-02-12 11:10:42 -08:00
Joel Martin
43a8fac2d0
Merge pull request #340 from juan-db/patch-1
Fix typo in guide
2019-02-07 10:29:27 -06:00
Juan de Bruin
c5dd7ecba0
Fix typo 2019-02-07 12:04:54 +02:00
Joel Martin
27bd48c2da
Merge pull request #339 from asarhaddon/master
Check that the eval built-in uses Repl instead of a local environment.
2019-02-04 16:18:35 -06:00
Nicolas Boulenguez
fc7f8a4b00 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.
2019-02-03 15:31:00 +01:00
Nicolas Boulenguez
d12bf4787c In step6, test that eval uses Repl not Env. I have not managed to test this before step7 quotes. 2019-02-02 20:32:15 +01:00
Joel Martin
d57f74df9b README: mention make help target. 2019-01-30 12:06:32 -06:00
Joel Martin
c73b747a3d
Merge pull request #338 from asarhaddon/test-dash-non-numbers
In step1, test non-numbers starting with a dash.
2019-01-30 11:58:08 -06:00
Joel Martin
e47a5ec437 Makefile: mention TEST_OPTS in help. 2019-01-30 11:56:01 -06:00
Joel Martin
f29ccc407a fsharp, swift3: fix parsing of single '-'
Fixes https://github.com/kanaka/mal/pull/338
2019-01-30 11:54:57 -06:00
Nicolas Boulenguez
78c71a51ad In step1, test non-numbers starting with a dash. 2019-01-29 14:24:13 +01:00
Joel Martin
f98792ade0 README: bold language names to make clearer. 2019-01-28 17:43:04 -06:00
Joel Martin
23e4342877 README: move creator info to first list.
The creator information should be more prominent instead of hidden
within the build/run instructions.
2019-01-28 17:31:49 -06:00
Joel Martin
07734c0931 README: add external implementations section.
Move the alternate rust implementations to this section and add
a link to HolyC implementation.
2019-01-28 16:07:27 -06:00
Joel Martin
45a714987c README: the tested version of lua is now 5.2. 2019-01-28 13:44:24 -06:00
Joel Martin
a68c26aff8 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.
2019-01-28 13:31:28 -06:00
Joel Martin
fdcb98b148 clojure: tools.reader dep no longer necessary. 2019-01-28 11:52:14 -06:00
Joel Martin
e22a989cde
Merge pull request #337 from AndreaCrotti/upgrade-libraries
upgrade clojure and tools.reader
2019-01-28 11:50:33 -06:00
Joel Martin
18f0ec2150 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.
2019-01-28 10:27:41 -06:00
Andrea Crotti
08f92c5ae9
upgrade clojure and tools.reader 2019-01-27 18:21:57 +00:00
Joel Martin
4aa0ebdf47 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.
2019-01-25 16:16:06 -06:00
Joel Martin
c7ed24586d
Merge pull request #335 from Windfarer/fix_guide
Fixing function name in guide
2019-01-21 15:02:02 -06:00
Windfarer
f88802514c fix function name "tokenize" 2019-01-21 17:08:05 +08:00
Joel Martin
5425eafbbc wasm: update Dockerfile to force warpy build. 2019-01-16 21:01:15 -06:00
Joel Martin
266391c550 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.
2019-01-16 20:03:37 -06:00
Joel Martin
c4ce75c08f wasm: fix get_time_ms to return millis.
Also, to avoid overflow, subtract 30 years so that the value won't
wrap in i32.
2019-01-16 13:54:20 -06:00
Joel Martin
53619a6e59 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.
2019-01-16 01:12:00 -06:00
Joel Martin
0a19c2f1c7 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.
2019-01-16 00:13:51 -06:00
Joel Martin
6a51946b52 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.
2019-01-14 22:37:46 -06:00
Joel Martin
99472e2576 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.
2019-01-12 15:03:59 -06:00
Joel Martin
531a310dae
Merge pull request #334 from hgdsraj/hgdsraj-patch-1
Updated README
2019-01-10 22:16:58 -06:00
Raj Mahey
70cefa38a9
Updated README
change "yes the" into "yes, the". Stylised make command and changed download to downloaded
2019-01-10 13:30:21 -08:00
Joel Martin
7aaf054b0a tests/step3_env: don't assume def! is lexical. 2019-01-04 17:05:49 -06:00
Joel Martin
8126a0229b
Merge pull request #333 from LispLY/objc-fix-conj-meta
ojbc: fix conj, meta and with-meta
2018-12-27 14:19:28 -06:00
陆遥
24c6bbf7a6 In objc. Modified conj, meta and with-meta to pass all the tests in stepA. 2018-12-18 14:05:56 +08:00