Extend the language to allow comments come up with your own


Question: One feature missing from our VSSJ language is comments.

a. Extend the language to allow comments. Come up with your own syntax. You should be able to insert comments anywhere in the code between tokens. Then fix the Scanner to ignore the comments.

b. Modify the classes in the ast2 package so that the Pretty Printer pretty prints the comments as well as the code.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Extend the language to allow comments come up with your own
Reference No:- TGS02580368

Expected delivery within 24 Hours