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

Add PreProcessor step to syntax analysis and rename syntax-check to analyse #9

Closed
Luna-Klatzer opened this issue Jul 18, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Luna-Klatzer
Copy link
Member

Luna-Klatzer commented Jul 18, 2021

Summary:

  1. Renaming and Restructuring parac syntax-check to proper code analysis aka. parac analyse. (Possibly adding a proper Syntax analysis later)

  2. Implementing the Pre-Processor parsing and code-generation into the code analysis to preserve correct comment handling and
    parsing. (Currently, multi-line comments are causing issues in some areas, which lead to false results saying there is a syntax
    error, despite non being present).

    This means the Pre-Processor should process the file and assemble the new code appropriately. Resulting in that it will also be
    necessary to add command-line macros when utilising code analysis, due to the Pre-Processor being required to correctly
    assemble the code as wanted.

    This means that the new analyse command will perform valid checking of the file after utilisation of the Pre-Processor. A new
    syntax command could be implemented later on just for syntax analysis without Pre-Processor utilisation, but due to the
    handling of comments, integrating the Pre-Processor serves the best purpose at the moment.

@Luna-Klatzer Luna-Klatzer added bug Something isn't working dev labels Jul 18, 2021
@Luna-Klatzer Luna-Klatzer self-assigned this Jul 18, 2021
@Luna-Klatzer Luna-Klatzer changed the title Add PreProcessor step to syntax analysis and rename syntax analysis to code analysis Add PreProcessor step to syntax analysis and rename syntax-check to analyse Jul 18, 2021
@Luna-Klatzer
Copy link
Member Author

Closing this and moving to a new issue for the parac analyse command, due to #10 being closed with #13.

@Luna-Klatzer
Copy link
Member Author

Moved issue to #16

@Para-Lang Para-Lang locked as resolved and limited conversation to collaborators Jul 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant