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

toLeopard: Desirable & satisfying traits #150

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Jul 2, 2024

  1. Configuration menu
    Copy the full SHA
    0041ec3 View commit details
    Browse the repository at this point in the history
  2. toLeopard: update block specs to use traits

    This commit includes (or should include) all the same NaN-handling
    rules as researched and defined for pull request leopard-js#149, accounting
    for almost all new logic / line additions in this commit.
    towerofnix committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    d46b742 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c5cad20 View commit details
    Browse the repository at this point in the history
  4. update compilesb3 snapshot test

    itemOf() returns anything - just the value at that place in the
    list, not casted by default - so new index rules say it should be
    treated as a zero-cast number.
    
    Of course this can cause behavior problems as indicated in leopard-js#153,
    but in general casting to a number before subtracting is the
    correct behavior. NaN always becomes -1 when an index is desired.
    towerofnix committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    1a2d280 View commit details
    Browse the repository at this point in the history