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

Rewrite manifestJson to execute "stacklessly" inside evaluate() #1142

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Commits on Mar 9, 2024

  1. Rewrite manifestJson to execute "stacklessly" inside evaluate()

    This gets rid of the mutual recursion between manifestJson() and
    evaluate(), turning the manifestJson processing into a part of the
    interpreter's main loop. It should remove one avenue for native
    stack overflows during execution.
    
    The Interpreter needed to be able to convert things to JSON anyway,
    as this is the behaviour of string coercion (for string concatenation),
    and also the behaviour when using the 'error' operator/statement.
    johnbartholomew committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    b401394 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4ee10b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e4f534b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cbec079 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2f47ccc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    39dfb41 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5ce04d3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c16d4a3 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    becdd87 View commit details
    Browse the repository at this point in the history