Skip to content

Commit

Permalink
Merge pull request #6 from MuhammadAmas/SYNTAX-ANALYZER
Browse files Browse the repository at this point in the history
Syntax analyzer completed
  • Loading branch information
MuhammadAmas authored Dec 10, 2023
2 parents d951322 + 6492945 commit 3414dac
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 1,485 deletions.
1,142 changes: 0 additions & 1,142 deletions Compiler/Lexer/semanticAnalyzer.py

This file was deleted.

337 changes: 0 additions & 337 deletions Compiler/Lexer/semanticFunctions.py

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 0 additions & 6 deletions Compiler/Lexer/main.py → Compiler/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from classifyToken import classifyToken
from generateOutput import generateOutput
from syntaxAnalyzer import syntaxAnalyzer
from semanticAnalyzer import semanticAnalyzer

load_dotenv()

Expand All @@ -18,12 +17,7 @@
breakedWords = breakWords(sourceCode)

classifiedToken = classifyToken(breakedWords)

# print(classifiedToken)

syntaxAnalyzer(classifiedToken)

# print(semanticAnalyzer(classifiedToken))

# with open(output_file_path, "w") as outputfile:
# outputfile.write(generateOutput(classifiedToken))
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3414dac

Please sign in to comment.