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

Fix statement vs expr #62

Merged
merged 5 commits into from
May 18, 2020
Merged

Commits on May 15, 2020

  1. [AST] fix statement vs expression

    Fixes effectfully#51, effectfully#52
    
    We make the following changes to the AST by adding
    - a newly introduced a top-level `Program` node, which is parent to
    - a newly introduced `Statements` node, which is parent to
    - a `Statement` node, which is chaned to be a parent of
    - an `Expr` node.
    
    We make the following changes to Statement by
    - introduce a `EFor` node to the typed AST.
    
    We update update the evaluator by
    - providing an explicit transformer stack (`EvalT`),
    - fixing the semantics for for loops, and
    - switching to CPS both in evaluator and normaliser.
    
    We also add minor improvements to the codebase by
    - fixing `Sign` vs `Sig` naming issue,
    - cleaning up some naming conventions, and
    - providing `stack bench` benchmark for testing generators for the new
      AST.
    Jakub Zalewski committed May 15, 2020
    Configuration menu
    Copy the full SHA
    7685541 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2020

  1. Refactor code to remove wrapping

    Jakub Zalewski committed May 18, 2020
    Configuration menu
    Copy the full SHA
    2133925 View commit details
    Browse the repository at this point in the history
  2. (WIP) Fix the semanics for for loop

    Jakub Zalewski committed May 18, 2020
    Configuration menu
    Copy the full SHA
    ae10309 View commit details
    Browse the repository at this point in the history
  3. Fix indentation

    Jakub Zalewski committed May 18, 2020
    Configuration menu
    Copy the full SHA
    5ced30d View commit details
    Browse the repository at this point in the history
  4. Fix whitespace

    Jakub Zalewski committed May 18, 2020
    Configuration menu
    Copy the full SHA
    551078a View commit details
    Browse the repository at this point in the history