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

Implement f# pipeline in parser #9450

Commits on Feb 24, 2019

  1. Copy the full SHA
    b39f20c View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    da3515c View commit details
    Browse the repository at this point in the history
  3. Enable solo await in F# pipelines

    thiagoarrais authored and mAAdhaTTah committed Feb 24, 2019
    Copy the full SHA
    b08f341 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    a5e6ba3 View commit details
    Browse the repository at this point in the history
  5. Add tests for parens around args to arrow funcs

    Remove the lookahead check and just set that a potential arrow function
    is there.
    mAAdhaTTah committed Feb 24, 2019
    Copy the full SHA
    7b75aa4 View commit details
    Browse the repository at this point in the history
  6. Ban await f in F# pipelines

    Needs to be solo or wrapped in parens. Also update function name to
    test in `await` tests so we can use `await f` in the ban test name.
    mAAdhaTTah committed Feb 24, 2019
    Copy the full SHA
    331b61d View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2019

  1. Copy the full SHA
    b08fcc8 View commit details
    Browse the repository at this point in the history
  2. Swap if check

    Put least expensive check first.
    mAAdhaTTah committed Feb 26, 2019
    Copy the full SHA
    526fd10 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    273600c View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    a22bf3d View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2019

  1. Remove PipelineHead AST node

    This can be derived with the following check:
    
    ```js
    t.isBinaryExpression(node, { operator: "|>" }) &&
      t.isBinaryExpression(node.left, { operator: "|>" })
    ```
    mAAdhaTTah committed Mar 15, 2019
    Copy the full SHA
    713d170 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into implement-f#-pipeline-in-parser

    * master: (58 commits)
      Remove dependency on home-or-tmp package (babel#9678)
      [proposal-object-rest-spread] fix templateLiteral in extractNormalizedKeys (babel#9628)
      Partial application plugin (babel#9474)
      Private Static Class Methods (Stage 3) (babel#9446)
      gulp-uglify@3.0.2
      rollup@1.6.0
      eslint@5.15.1
      jest@24.5.0
      regexpu-core@4.5.4
      Remove input and length from state (babel#9646)
      Switch from rollup-stream to rollup and update deps (babel#9640)
      System modules - Hoist classes like other variables (babel#9639)
      fix: Don't transpile ES2018 symbol properties (babel#9650)
      Add WarningsToErrorsPlugin to webpack to avoid missing build problems on CI (babel#9647)
      Update regexpu-core dependency (babel#9642)
      Add placeholders support to @babel/types and @babel/generator (babel#9542)
      Generate plugins file
      Make babel-standalone an ESModule and enable flow (babel#9025)
      Reorganize token types and use a map for them (babel#9645)
      [TS] Allow context type annotation on getters/setters (babel#9641)
      ...
    mAAdhaTTah committed Mar 15, 2019
    Copy the full SHA
    7458063 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2019

  1. Fix parsing of pipeline operator in arrow bodies

    This should resolve the scoping issues we're seeing in the transform.
    mAAdhaTTah committed Apr 13, 2019
    Copy the full SHA
    7e17e56 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2019

  1. Add more tests for pipeline in object / array

    This also needs to check, when there's a pipeline operator within
    the arrow or object, that it parses correctly.
    mAAdhaTTah committed Apr 14, 2019
    Copy the full SHA
    20bf56d View commit details
    Browse the repository at this point in the history
  2. Handle assignment with pipeline in pipeline

    More nested pipeline logic.
    mAAdhaTTah committed Apr 14, 2019
    Copy the full SHA
    5b8cb23 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2019

  1. Remove PipelineBody node

    This isn't strictly need, as it's just an extra layer of nesting and
    provides no additional information.
    mAAdhaTTah committed Apr 15, 2019
    Copy the full SHA
    f34dc8a View commit details
    Browse the repository at this point in the history