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

[Feature] Using the compile command provided in README.txt #43

Closed
MarkChenYutian opened this issue Jul 17, 2023 · 1 comment
Closed
Assignees
Labels
enhancement New feature or request React UI Change in UI Layer is needed

Comments

@MarkChenYutian
Copy link
Owner

Is your feature request related to a problem? Please describe.

Though mentioned in the tutorial page, students tend to be confused by the concept that order of editor tabs is the order of file names send to compiler.

In 15-122 course project / homework, the codebase mostly comes with a README.txt file which includes some command lines showing how to compile the project. Usually in form of

    % cc0 a.c0 b.c0 -W -d

If the visualizer can detect this file sequence and apply the recommended compile order automatically, it will be easier to use and we won't need to rearrange the tabs manually in a large project.

Describe the solution you'd like

Add an editor tab that shows the README.txt file. If a line is a valid cc0 compiler command in form mentioned above, record the file sequence and apply the sequence when possible.

If the provided command is not possible (e.g. missing files in C0VM.ts), or no such command is found, then fallback to use the editor tab order.

Additional context
Requested by prof. Iliano

@MarkChenYutian MarkChenYutian self-assigned this Jul 17, 2023
@MarkChenYutian MarkChenYutian added enhancement New feature or request React UI Change in UI Layer is needed labels Jul 17, 2023
@MarkChenYutian MarkChenYutian changed the title Using the compile command provided in README.txt [Feature] Using the compile command provided in README.txt Jul 21, 2023
@MarkChenYutian
Copy link
Owner Author

This problem will be resolved on PR #44

A 15-122 project import guider is constructed to guide students to import their code into the visualizer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request React UI Change in UI Layer is needed
Projects
None yet
Development

No branches or pull requests

1 participant