Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc since jan 2022 #39

Merged
merged 9 commits into from
Mar 19, 2024
Merged

Misc since jan 2022 #39

merged 9 commits into from
Mar 19, 2024

Commits on Jan 12, 2022

  1. node: automatic core file loading.

    Generate miniMAL-core.js file that exports the core lib code to
    evaluate. Load and evaluate that file automatically in the miniMAL
    executor. use the top-levle miniMAL-core.js to generate the
    web/miniMAL-core.js file with a simple sed to replace the exports with
    core_ns variable.
    kanaka committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    4426e1d View commit details
    Browse the repository at this point in the history
  2. Misc cleanups and file re-organization.

    Also in stepB_node.js, normalize core function lambda param style to
    (...a) that other steps use since it no longer seems to help to go with
    the (a,b) style.
    kanaka committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    ca18969 View commit details
    Browse the repository at this point in the history
  3. Fix js1k with regpack 5.0.3

    Unfortunatley, the most recently published regpack npm module is 5.0.1
    which results in some string escaping clobbering some of the code for
    js1k mode. So add the regpack submodule that has version 5.0.3 which
    doesn't have the problem.
    
    Also, refer to new location of all web files under js/web/ from web
    pages.
    kanaka committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    e81b126 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. cljs: Add missing step0. python: do step0

    Add missing step0 file for cljs. Add step0 to python/Makefile so that it
    is used (for tests/stats/etc).
    
    Improve formatting of the STEPS variable for all three.
    kanaka committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    44b5033 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e2b81d View commit details
    Browse the repository at this point in the history
  3. Version 1.2.0: shrinks, nbb/shadow-cljs, cleanups

    All:
    - Implements a number of miscellaneous shrinks across all three
      implementations.
    - Change "ARGS" command line parameter variable to "argv"
    - Remove "load" definition and use "slurp -> read -> eval" instead (more
      efficient compressing)
    - Update copyrights to 2024.
    
    cljs:
    - Drop lumo support and use nbb instead.
    - Switch cljs full compilation mode to use shadow-cljs.
        - Add cljs/shadow-cljs.edn with builds for all steps.
        - By default use release mode in the Makefile which compiles into
          a standalone *.js file (although it's quite slow to build).
    - add babashka vs shadow-cljs reader macros for core ns hoisting. During
      shrinking (which is only for nbb mode) sed out the regular :cljs
      reader macro.
    - use nbb from cljs/node_modules (and 'npm install' during build if
      needed)
    
    js:
    - Remove JS jscrush rules (regpack is sufficient)
    - Fix regpack node_module make dep
    kanaka committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    3de0209 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ca55ddd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a4c9615 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. Configuration menu
    Copy the full SHA
    ca48dff View commit details
    Browse the repository at this point in the history