1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-20 01:57:09 +03:00
Commit Graph

12 Commits

Author SHA1 Message Date
Joel Martin
b423d350b7 elm: fix Makefile SOURCES list. 2024-08-06 09:05:52 -05:00
Joel Martin
f172407be6 elm: update Dockerfile to ubuntu:24.04.
Add DEBIAN_FRONTEND=noninteractive to bypass tzdata interactive query.
2024-08-06 08:40:59 -05:00
Nicolas Boulenguez
e984ed8801 elm: merge more ideas from #450
Various trivial changes reducing the diff to #450.

Dockerfile: npm already depends on nodejs

Core.elm: change profile of deepEquals instead of uncurrying before
each call.
2024-08-06 08:24:09 -05:00
Nicolas Boulenguez
0068653bf9 elm: merge ideas from #450
It was necessary to rename some ambiguous variables. Some more names
could probably be changed in order to reduce the diff with #450 (my
names were choosen in order to reduce the diff with master...)

Peek ideas from #450:
- sort imports
- skip a line between '->' or before 'else'
- no indentation after 'in'
- fix indentation when it was only intended to reduce diff
- remove some unneeded parenthesis
and
- if .. return True else False -> ...
2024-08-06 08:24:09 -05:00
Nicolas Boulenguez
925c51cdde elm: trivial improvements
Remove obsolete comment.

Fix a typo and avoid an unneeded function mapping.
2024-08-06 08:24:09 -05:00
Nicolas Boulenguez
51e7e9e995 elm: merge eval-ast into eval (part of #592) 2024-08-06 08:24:09 -05:00
Nicolas Boulenguez
97d06eb6de elm: add metadata to containers 2024-08-06 08:23:54 -05:00
Nicolas Boulenguez
77be585bb8 elm: allow keyword argument for keyword core function 2024-08-06 08:23:54 -05:00
Nicolas Boulenguez
10708752f6 elm: update to elm 0.19.1
Most changes are variable renamings because elm does not allow masking
a visible name anymore.

Deal with changes in the standard library, especially in the Parser
interface.

Source files must now start with a capital letter.

Dockerfile: remove unneeded dependencies, install nodejs from debs.

Remove the redundant Maybe from the return value of readstring.

Stop embedding the colon in keyword represenation.
2024-08-06 08:23:54 -05:00
Joel Martin
f09e16dd76 Update JS impls to ubuntu 24.04, ffi-napi to 4.0.3 2024-08-05 17:02:38 -05:00
Nicolas Boulenguez
fbfe6784d2 Change quasiquote algorithm
- Add a `vec` built-in function in step7 so that `quasiquote` does not
  require `apply` from step9.
- Introduce quasiquoteexpand special in order to help debugging step7.
  This may also prepare newcomers to understand step8.
- Add soft tests.
- Do not quote numbers, strings and so on.

Should ideally have been in separate commits:
- elisp: simplify and fix (keyword :k)
- factor: fix copy/paste error in let*/step7, simplify eval-ast.
- guile: improve list/vector types
- haskell: revert evaluation during quasiquote
- logo, make: cosmetic issues
2020-08-11 01:01:56 +02:00
Joel Martin
8a19f60386 Move implementations into impls/ dir
- Reorder README to have implementation list after "learning tool"
  bullet.

- This also moves tests/ and libs/ into impls. It would be preferrable
  to have these directories at the top level.  However, this causes
  difficulties with the wasm implementations which need pre-open
  directories and have trouble with paths starting with "../../". So
  in lieu of that, symlink those directories to the top-level.

- Move the run_argv_test.sh script into the tests directory for
  general hygiene.
2020-02-10 23:50:16 -06:00