Commits

Anonymous committed 51ad380

add title

  • Participants
  • Parent commits 1fafd96

Comments (0)

Files changed (13)

File src/parser/grammar.pg

 grammar z2::Grammar is PCT::Grammar;
 
 rule TOP {
+  <title>
   <chardef>*
   <scene>* 
   {*}
 }
 
+rule title {
+    <-[.]>* <end> 
+}
 rule scene {
   'scene' <roman> ':' <description> <end>
   <events>*
 |<second_person_reflexive> {*} #= you_ref
 |<second_person> {*} #= you_ref
 |<first_person> {*} #= self_ref
-|<first_person_reflexive> {*} #= self_ref
+|<first_person> {*} #= self_ref
 |<character> {*} #= named_ref
 }
 
+A simple test of parsing values.
+
 romeo, a cool guy.
 juliet, a pretty girl.
 scene i: foo.
+A simple test of math ops.
+
 romeo, a nice one.
 othello, a lor.
 juliet, someont.
+A more complex test of math ops.
+
 romeo, a nice one.
 othello, a lor.
 juliet, someont.

File t/04-unless.t

+A simple test of conditional IFs.
+
 romeo, a nice one.
 othello, a lor.
 juliet, someont.
+Another simple test of conditional IFs.
+
 romeo, someont.
 othello, someont.
 juliet, someont.

File t/06-assignment.tno

+A simple test of assignment.
+
 juliet: smo.
 hamlet: smo.
 ophelia: smo.

File t/06-enter.t

+Testing entree and uscii .
+
 hamlet, godoad.
 romeo, mnkn.
 ophelia, csmamalm.
+Testing exits.
+
 Hamlet, vgofof.
 Romeo,nnlknvsd.
 ophelia,mnknkl.

File t/08-assignment.t

+Testing assignment to you.
+
 juliet, smo.
 hamlet, smo.
 othello, smo.
+Real shakespeare Output.
+
 juliet, smo.
 hamlet, smo.
 othello, smo.

File t/10-input.tno

+IO IO .
+
 hamlet, smo.
 othello, smo.
                     Scene I: The insulting of Romeo.

File t/11-references.t

+Self references.
+
+
 juliet, smo.
 hamlet, smo.
 othello, smo.