Modify Run button to execute exe to command prompt. The Run action button will only execute an exe file when compiled. Return an error if the program is not yet compiled.
Add action buttons: Compile and Compile & Run. Compile will be our new run action button. It will run lexer, syntax, analyzer and generate an exe file. Compile & Run will combine the compile and run processes.
Modify compiler logs to run checks on analyzer errors and display the compilation status.
Open and execute the generated exe file from the command prompt.
Tasks
[x] Modify Run button to execute exe to command prompt
[x] Add action buttons: Compile and Compile & Run
[x] Modify compiler logs to run checks on analyzer errors
[x] Open and execute the generated exe file from the command prompt
Specs
Run
button to executeexe
to command prompt. TheRun
action button will only execute anexe
file when compiled. Return an error if the program is not yet compiled.Compile
andCompile & Run
.Compile
will be our new run action button. It will run lexer, syntax, analyzer and generate anexe
file.Compile & Run
will combine the compile and run processes.Tasks
Run
button to executeexe
to command promptCompile
andCompile & Run