1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-20 01:57:09 +03:00
mal/es6
Joel Martin a05c086f05 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.
2017-02-10 23:02:30 -06:00
..
tests Tests: move step5 non-TCO tests to per impl. 2016-03-14 23:39:21 -05:00
core.js ES6: more use of ES6, simplifications, newer babel. 2017-02-10 23:02:30 -06:00
Dockerfile ES6: more use of ES6, simplifications, newer babel. 2017-02-10 23:02:30 -06:00
env.js ES6: more use of ES6, simplifications, newer babel. 2017-02-10 23:02:30 -06:00
Makefile ES6: more use of ES6, simplifications, newer babel. 2017-02-10 23:02:30 -06:00
node_readline.js ES6: step0 and step1 basics. 2015-07-30 21:15:55 -05:00
package.json ES6: more use of ES6, simplifications, newer babel. 2017-02-10 23:02:30 -06:00
printer.js ES6: more use of ES6, simplifications, newer babel. 2017-02-10 23:02:30 -06:00
reader.js ES6: more use of ES6, simplifications, newer babel. 2017-02-10 23:02:30 -06:00
run Refactor to use run scripts, remove *_RUNSTEP 2016-05-18 22:29:18 -07:00
step0_repl.js ES6: more use of ES6, simplifications, newer babel. 2017-02-10 23:02:30 -06:00
step1_read_print.js ES6: more use of ES6, simplifications, newer babel. 2017-02-10 23:02:30 -06:00
step2_eval.js ES6: more use of ES6, simplifications, newer babel. 2017-02-10 23:02:30 -06:00
step3_env.js ES6: more use of ES6, simplifications, newer babel. 2017-02-10 23:02:30 -06:00
step4_if_fn_do.js ES6: more use of ES6, simplifications, newer babel. 2017-02-10 23:02:30 -06:00
step5_tco.js ES6: more use of ES6, simplifications, newer babel. 2017-02-10 23:02:30 -06:00
step6_file.js ES6: more use of ES6, simplifications, newer babel. 2017-02-10 23:02:30 -06:00
step7_quote.js ES6: more use of ES6, simplifications, newer babel. 2017-02-10 23:02:30 -06:00
step8_macros.js ES6: more use of ES6, simplifications, newer babel. 2017-02-10 23:02:30 -06:00
step9_try.js ES6: more use of ES6, simplifications, newer babel. 2017-02-10 23:02:30 -06:00
stepA_mal.js ES6: more use of ES6, simplifications, newer babel. 2017-02-10 23:02:30 -06:00
types.js ES6: more use of ES6, simplifications, newer babel. 2017-02-10 23:02:30 -06:00