Send
Close Add comments:
(status displays here)
Got it! This site uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.nbsp; Note: This appears on each machine/browser from which this site is accessed.
P4: Project#4: Language feature using grammar
1. P4: Language feature from grammar
38: Project#4: Language feature using grammar , Name: ___________________________
CS 340, Fall 2019, York College of Pennsylvania
41, 20 points
2. Program requirement
Find an on-line EBNF grammar for a language in which you have an interest. Include a short discussion and URL in your document.
Find a rule in the grammar that indicates some feature of the language of which you were not aware.
Investigate that rule, the use for which that feature was intended, and how that feature might be used.
Create a small example program in that language that shows how this feature could be used and has some output to show that usage. Note: Once you identify a feature, you can find many examples on the Internet that use or explain that feature. Use those examples as ideas but do not copy them exactly. Instead, make up your own ex ample in your own style, etc., from your Internet research.
Include the program code as a file in your submission.
Include your results in a small self-contained document that is included in your submission.
3. Relevant content
4. Document requirement
File:
Word document: A Word document (extension
docx) that describes what you have done. The guiding principle when writing the document is the following. "
Would someone who is somewhat familiar with what you are doing and reading your document know what you are doing at each step of the process?"
Include a short descriptive title at the top of the document.
Include the following sections. Each section should be clearly and consistently marked. All program text should have explanatory text before and after the program text.
A short introduction as to what you will convey.
Sections explaining what you have done in a logical manner, including any program code, commands, Bash scripts, etc. (on separate lines/blocks) in a fixed font such as "Courier New".
A short summary at the end as to what you conveyed.
All program or command or command output text should be in a fixed font such as "
Courier New".
If you use LibraOffice or OpenOffice instead of Microsoft Office you need to export your document file to the type
docx and not the native format. Use the appropriate "
Save As" command.
5. Zip file submission
Zip the above files into a zip file. Attach the zip file (and only one zip file) to your email message.
Submit the following by sending an email to my email account at
robinsnyder@gmail.com from your YCP email address/account.
Attach the above zip file to your message.
The subject line should be the following (and only the following).
57
6. General comments
Here are some general comments.
to be added
7. Scoring rubric
CS 340 - P4 : Project#4: Language feature using grammar
Your grade: _ / 20
[LATE] Late or redo penalty: _ / -20
grammar identification and url: _ / 2
EBNF grammar rule and discussion: _ / 2
Language feature discussion: _ / 4
Language feature example code , as file and in document: _ / 4
Language feature output to show usage , in document: _ / 4
Document style - sections, text, programs: _ / 4
[CREDIT] Extra credit: _ / +4
Comments:
8. End of page