jgs CSC 309 Software Engineering II Lecture 17: GitHub Issues II Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.com Building 14 -227 Office Hours: By appointment
jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 | 4 Branch or Fork • Create a Branch –branches allow you to develop features, fix bugs, or safely experiment with new ideas in a contained area of your repository • Make a fork – a local copy of a repository to make changes without affecting the original repository
jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 | 12 Notes • Do not commit *.class files or configuration files (XML, etc.). Only source code • Create a branch associated with your assigned GitHub-Issue
jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 | 16 Office Hours Tuesday and Thursday 3 - 5 pm But an appointment required Sent me an email – [email protected]
jgs CSC 309 Software Engineering II Lab 17: GitHub Issues + Develop a Lexer+Parser Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.com Building 14 -227 Office Hours: By appointment
jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 | 24 1. Read a File and Split the lines 2. For each line read character by character 3. Concatenate characters, creating the largest STRING possible. Stop when a delimiter, white space, operator, or quotation mark is found. If there are more characters in the line, go to step 2. 4. Bonus points: for each STRING report its TYPE as correspond. E.g., class is a keyword, { is a delimiter, hello is a name (identifier), Student is a name (identifier), + is an operator, extends is a keyword, etc. Part 1
jgs CSC 309 Software Engineering II Javier Gonzalez-Sanchez, Ph.D. [email protected] Winter 2023 Copyright. These slides can only be used as study material for the class CSC308 at Cal Poly. They cannot be distributed or used for another purpose.