Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

Improve position and error system #71

Merged
merged 6 commits into from
Dec 3, 2023
Merged

Improve position and error system #71

merged 6 commits into from
Dec 3, 2023

Commits on Nov 29, 2023

  1. feat: Add AbstractPosition

    Part of #67
    
    All position class must heritate from AbstractPosition class
    Gashmob committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    13d01ed View commit details
    Browse the repository at this point in the history
  2. refactor: Position -> SimplePosition

    Part of #67
    Gashmob committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    e65c7c5 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2023

  1. feat: Add DoublePosition

    Part of #67
    
    DoublePosition is a position with a start and an end. It's needed when
    you need to show position of a long expression
    Gashmob committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    e787219 View commit details
    Browse the repository at this point in the history
  2. fix: Issue from Codacy report

    Gashmob committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    ee62db4 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2023

  1. feat: Reformat dump of position

    Part of #67
    
    New format is:
    
      --> <filename>:<line>:<column>
     1 | <content>
       |    ^
    
    With some color:
     - '-->', '1 |' and '|' are colored in bold blue
    Gashmob committed Dec 2, 2023
    Configuration menu
    Copy the full SHA
    2a86bc3 View commit details
    Browse the repository at this point in the history
  2. feat: Reformat print of messages

    Part of #70
    Gashmob committed Dec 2, 2023
    Configuration menu
    Copy the full SHA
    90018eb View commit details
    Browse the repository at this point in the history