Week 7 Class 12 Tue Feb 27 Posted: Feb 27
Announcements
Generating the Concerns Visualization
I installed the concerns
program (the one that generated your concerns.html file) in GitHub Codespaces. From now on understand that if I update the GitHub Codespaces image, it does not change the one you are already using. You have to ecreate a new one to see the new features.
To run the concerns
program on your files:
This will generate the file concerns.html. To view the file, you can start a web server in your codespace:
A pop-up will have the button "Open in Browser". You can use that to view your file. To stop the web server, type a Control-C.
You can even generate the concerns at a particular tag. The following shows the concerns for tag v1d:
srcml in Codespaces
As part of the install of concerns
in codespaces, I also installed a 1.1 beta version of srcml
. You can convert files to the srcml format:
You can also create the srcML format from a code fragment, and run it directly with srcfacts:
Agenda
Demo: Cohesive Declarations
Exercise 39: Cohesive Declarations
Perform the commits for each choice of ordering declarations.
Unless otherwise noted, exercises are due by 4:30 pm on Wed Feb 28