This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git remote add bgu http://www.cs.bgu.ac.il/~os152/xv6.git | |
git fetch bgu | |
git diff master bgu/master > ID1_ID2.patch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you have: | |
MyThings ::= { thing [X] ,} | |
[ meaning MyThings can be an empty list or a list of one or more Thing separated by comma ] | |
Then you can write the following grammer : | |
MyThings ::= { ThingsList:things } {: RESULT = new MyThings(things); :} | |
| { } {: RESULT = new MyThings( new ThingsList() ); :} |