Introduction - If you have any usage issues, please Google them yourself
A.Curricular experiment (before the examination of reports submitted)
Modify the expansion of the PL/0 to make the following:
(1) increasing word: reserved word ELSE, FOR, STEP, the RETURN
Operator+ =,- =,++,-, &, |,!
(2) modify the words: inequality# changed <>
(3) increase in the conditional statement ELSE clause: Write the related grammar, syntax diagrams, semantic rules.
Two. Curriculum design
The basic content (score range: "", "pass" or "fail")
(1) expansion of the assignment operator:+ = and- =
(2) expansion of the statement (Pascal FOR statement):
① The the FOR <variable>: = <expression> the STEP <expression> DO <statement>
② the FOR <variable>: = <expression> the STEP <expression> DO <statement>
Among them, the loop variable of the statement (1) step 1,
Statement ② loop variable step size to-1.
(3) increase the operator:++ and-.
Optional content (Grading extended to: "excellent" and "good")
(1) incr