This file contains 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
/* converted on Thu Feb 6, 2014, 00:09 (UTC+08) by jison-to-w3c v0.33.722 which is Copyright (c) 2011-2013 by Gunther Rademacher <grd@gmx.net> */ | |
Root ::= Body? | |
Body ::= Line ( TERMINATOR Line | TERMINATOR )* | |
Line ::= Expression | |
| Statement | |
Statement | |
::= Return | |
| Comment | |
| STATEMENT |
An Irony grammar class is a C# class derived from Irony.Parsing.Grammar
that defines the grammar for a language.
The overall structure can be easily done by templating so it is not worth not worth discussing. We will concentrate on the actual work that is performed in its constructor:
- Decalare and initialize variables for terminals
- Decalare and initialize variables for non-terminals
- Defines rules
The Bright Star Catalogue, 5th Revised Ed. (Preliminary Version)
Hoffleit D., Warren Jr W.H.
<Astronomical Data Center, NSSDC/ADC (1991)>
This file contains 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
<a href="<%= post.path %>#comments"><span class="ds-thread-count" data-thread-key="<%= post.path %>" data-count-type="comments">没有评论</span></a> |
OlderNewer