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

Error recovery #2033

Draft
wants to merge 95 commits into
base: main
Choose a base branch
from
Draft

Error recovery #2033

wants to merge 95 commits into from

Commits on Mar 30, 2022

  1. Configuration menu
    Copy the full SHA
    9deefa3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d1fdf89 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2022

  1. Configuration menu
    Copy the full SHA
    9ae895c View commit details
    Browse the repository at this point in the history
  2. added documentation

    jurgenvinju committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    4e43070 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ff99ac9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d2a0b66 View commit details
    Browse the repository at this point in the history
  5. fixed compiler warnings

    jurgenvinju committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    d9439a4 View commit details
    Browse the repository at this point in the history
  6. fixed warnings

    jurgenvinju committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    d87b4b8 View commit details
    Browse the repository at this point in the history
  7. fixed warnings

    jurgenvinju committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    4897d88 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5803411 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3adee6c View commit details
    Browse the repository at this point in the history
  10. added override

    jurgenvinju committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    7318e8f View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2022

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

Commits on Apr 13, 2022

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

Commits on Apr 14, 2022

  1. Debugging error recovery

    Sometimes recovery nodes start before the current location where
    the parser failed to continue. Since the parser works with a
    short queue of schedulede TODO's around the current cursor, we
    might end up outside of this queue when recovering. This breaks
    several unspecified invariants of the SGTBF implementations. For
    now I added a detection that a recovery node is to be planned
    before the currently retained history and filter that recovery
    node. The next step will be to make sure backtracking over the
    current location is made possible.
    jurgenvinju committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    650224a View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2022

  1. Configuration menu
    Copy the full SHA
    6d5d49b View commit details
    Browse the repository at this point in the history
  2. fixed off-by-one: error nodes should be scheduled one character ahead…

    … because the next parser loop iteration always wants to advance one character
    jurgenvinju committed Apr 15, 2022
    Configuration menu
    Copy the full SHA
    78ee76b View commit details
    Browse the repository at this point in the history
  3. fixed another off-by-one

    jurgenvinju committed Apr 15, 2022
    Configuration menu
    Copy the full SHA
    d9f8fc9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    685198d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1d5435b View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2022

  1. Configuration menu
    Copy the full SHA
    50edd09 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2022

  1. updated template

    jurgenvinju committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    5265ef0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2162c9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    91fb32b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    018826f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7b6e8b8 View commit details
    Browse the repository at this point in the history
  6. make sure that (a) BasicIDEServices are registered for the commandlin…

    …e version of Rascal and (b) the edit command is wired to the edit IDEService
    jurgenvinju committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    4aefd52 View commit details
    Browse the repository at this point in the history
  7. basic IDE services can now also browse contents of files which are no…

    …t in the scheme by copyinhthe contents to a tmp file
    jurgenvinju committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    dde9bd9 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. Configuration menu
    Copy the full SHA
    6f9b2b9 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2024

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

Commits on Jun 10, 2024

  1. Configuration menu
    Copy the full SHA
    517df9c View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. Added 'toString' methods and fixed issue in recoverer.

    - Added a lot of toString methods to help understading when debugging
      as VSCode uses toString to display the value of objects
    - Fixed iteration order in recoverer.
      I am not sure if the incoming nodes are always ordered by location,
      if not we might need to sort them in the future.
    PieterOlivier committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    c779820 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Configuration menu
    Copy the full SHA
    13ffcef View commit details
    Browse the repository at this point in the history
  2. Removed 'Reflective' prefix from StackNodeIdDispenser class name

    Reflective is just the way the dispenser is implemented. No need for
    users of this class to be aware of this.
    PieterOlivier committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    b8eb72e View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

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

Commits on Jul 8, 2024

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

Commits on Jul 10, 2024

  1. Configuration menu
    Copy the full SHA
    88cddc3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6d19281 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bcd5914 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fb6ffe5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    27f1afc View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Configuration menu
    Copy the full SHA
    15fedbf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0eed9a1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2b044fd View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

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

Commits on Aug 8, 2024

  1. Configuration menu
    Copy the full SHA
    2246e06 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    4b11450 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. Configuration menu
    Copy the full SHA
    8ef03b4 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Configuration menu
    Copy the full SHA
    7d82f20 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    706662b View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Configuration menu
    Copy the full SHA
    7d68129 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6b2939c View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Configuration menu
    Copy the full SHA
    ff350ca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6d3d58d View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Configuration menu
    Copy the full SHA
    2b6a69f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7ee16aa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    002e7a6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    238e4c2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    704726b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    af7b5d5 View commit details
    Browse the repository at this point in the history
  7. Fixed more warnings

    PieterOlivier committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    2d3fbb1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e95b1aa View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c06dc6d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d584dfe View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    41ea6e8 View commit details
    Browse the repository at this point in the history
  12. Removed debug print

    PieterOlivier committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    82c156d View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c406e2b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    c884ceb View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    9dce66d View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Configuration menu
    Copy the full SHA
    a139019 View commit details
    Browse the repository at this point in the history
  2. Fixed off-by-one-error

    PieterOlivier committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    150131e View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2024

  1. Configuration menu
    Copy the full SHA
    5b1561e View commit details
    Browse the repository at this point in the history
  2. Removed prints

    PieterOlivier committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    23d23b4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    93611fe View commit details
    Browse the repository at this point in the history
  4. Added recovery tests

    PieterOlivier committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    bd2d1ee View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dec2b29 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. Improved comments

    PieterOlivier committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    9abd0bc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4cf173e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bcb2753 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. Configuration menu
    Copy the full SHA
    5a2266b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2be0d9b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    36d4964 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Configuration menu
    Copy the full SHA
    96fc604 View commit details
    Browse the repository at this point in the history
  2. Layout changes

    PieterOlivier committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    cf16c82 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Configuration menu
    Copy the full SHA
    b94bc02 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9444d21 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2200fdf View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Fixed compiler error

    PieterOlivier committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    177e425 View commit details
    Browse the repository at this point in the history
  2. Fixed debugListener NPE

    PieterOlivier committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    377a2e1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    074b5bf View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. Configuration menu
    Copy the full SHA
    30b935a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2020 from usethesource/to-token-recoverer

    Implement basic error recovery
    PieterOlivier committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    a66cca4 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

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

Commits on Sep 27, 2024

  1. Fixed problem where allocated array was too small

    This problem only surfaces when doing error recovery.
    PieterOlivier committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    fda09cf View commit details
    Browse the repository at this point in the history