|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: I T
Length: 1175 (0x497)
Types: TextFile
Names: »INSTRUCTOR_NOTES«
└─⟦180fe333a⟧ Bits:30000405 8mm tape, Rational 1000, SW CATALOG, 10_20_0
└─⟦180fe333a⟧ Bits:30000537 8mm tape, Rational 1000, SW Catalog 10_20_0
└─⟦5cb1d1d7f⟧ »DATA«
└─⟦3b1ee7bd8⟧
└─⟦this⟧
This is a fairly challenging problem that can start out very easy. This problem is a phased problem. The student should first be given the package Structured_comments_1, suitably renamed to remove the distinction that this is the first part of the problem. This is not a dificult part but should get them started with their first private type. They will like need the bounded_String package, and you should steer them to it if they do not find it on their own. When they have completed this part you should give then the package Structured_Comments_2. This added the notion of a comment block and asks them to implement an iterator over all structured comments in a block. They will likely need the List_Generic package in their implementation. The final interface adds the parse operation. This completes the abstraction. This is most most difficult part algorithmically. The most difficult part of the parse is stepping two interations (one over the lines in the input comments, and the other over the expected comments in the block). You might consult the provided solution if they get stuck on this. (Or maybe you can come up with a more elegant solution)