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

[New Command] Expand PPX nodes #1745

Merged
merged 19 commits into from
Aug 2, 2024
Merged

[New Command] Expand PPX nodes #1745

merged 19 commits into from
Aug 2, 2024

Commits on May 29, 2024

  1. expand-node command logic

    Add parsetree processing functions
    
    Mbrowse for parsetrees
    
    Browse_raw for parsetrees
    
    expand node logic
    
    add tests
    
    refactor logic
    
    better json response
    
    use lexing locations
    
    refactor type exceptions
    
    discard tests of external dependencies
    
    custom ppx deriver that just renames
    
    tests for expand-node feature
    
    ensure location invariants by setting loc_ghost to true
    
    cover all ghost locations
    
    updated changelog
    
    add eof to tests
    
    properly handle type_exceptions in browse_raw
    
    add helper functions
    
    remove private function from public scope
    
    change logic to use typedtree
    
    add helper functions for str items and sig items
    
    more tests
    
    remote unused variant
    
    better naming
    
    better linting
    
    lint
    
    unrelated test change due to type_exception fixup in the Typedtree
    
    Remove Mbrowse and Browse raw modules for the Pasetree
    
    better alignment
    
    better tests
    
    output with attribute loc range
    
    refactoring of ppx-expand logic
    
    refactor pretty print nodes
    
    return list of ppx nodes and not just head
    
    add ppx rewriter
    
    refactor logic to use Ast_iterator
    
    remove unused code
    
    update test
    
    remove unused code
    
    remove redundant code
    
    remove whitespace
    PizieDust committed May 29, 2024
    Configuration menu
    Copy the full SHA
    1ba0c3f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2266be5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ff0460a View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. Configuration menu
    Copy the full SHA
    8861727 View commit details
    Browse the repository at this point in the history
  2. update change log

    PizieDust committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    54fb42d View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Configuration menu
    Copy the full SHA
    85fc619 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3899d3a View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. refactor the logic

    PizieDust committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    5014502 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3c3d20 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Refactor to remove global references

    change wording of command description
    
    rename result record from ppx_expand_result to ppxed_source
    
    refactor logic
    
    update test
    
    refactor expression attribute loc
    
    rename to ext_loc for expressions
    PizieDust committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    dc3d73e View commit details
    Browse the repository at this point in the history
  2. rename for clarity

    PizieDust committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    78c93e8 View commit details
    Browse the repository at this point in the history
  3. use helper function

    PizieDust committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    831befe View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

  1. correct type extensions

    PizieDust committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    64350b5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7ba9a0b View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Configuration menu
    Copy the full SHA
    1e65d97 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8f1e3b4 View commit details
    Browse the repository at this point in the history
  3. redundant

    PizieDust committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    344d267 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

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