source: CIVL/mods/dev.civl.abc/doc/fortran/F18@ 1aaefd4

main test-branch
Last change on this file since 1aaefd4 was aad342c, checked in by Stephen Siegel <siegel@…>, 3 years ago

Performing huge refactor to incorporate ABC, GMC, and SARL into CIVL repo and use Java modules.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5664 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 9.4 KB
Line 
1501 program
2502 program unit
3503 external subprogram
4504 specification part
5505 implicit part
6506 implicit part stmt
7507 declaration construct
8508 specification construct
9509 execution part
10510 execution part construct
11511 internal subprogram part
12512 internal subprogram
13513 other specification stmt
14514 executable construct
15515 action stmt
16516 keyword
17
18601 alphanumeric character
19602 underscore
20603 name
21604 constant
22605 literal constant
23606 named constant
24607 int constant
25608 intrinsic operator
26609 defined operator
27610 extended intrinsic op
28611 label
29
30701 type param value
31702 type spec
32703 declaration type spec
33704 intrinsictype spec
34705 integer type spec
35706 kind selector
36707 signed int literal constant
37708 int literal constant
38709 kind param
39710 signed digit string
40711 digit string
41712 sign
42713 signed real literal constant
43714 real literal constant
44715 significand
45716 exponent letter
46717 exponent
47718 complex literal constant
48719 real part
49720 imag part
50721 char selector
51722 length selector
52723 char length
53724 char literal constant
54725 logical literal constant
55726 derived type def
56727 derived type stmt
57728 type attr spec
58729 private or sequence
59730 end type stmt
60731 sequence stmt
61732 type param def stmt
62733 type param decl
63734 type param attr spec
64735 component part
65736 component def stmt
66737 data component def stmt
67738 component attr spec
68739 component decl
69740 component array spec
70741 proc component def stmt
71742 proc component attr spec
72743 component initialization
73744 initial data target
74745 private components stmt
75746 type bound procedure part
76747 binding private stmt
77748 type bound procedure stmt
78749 type bound procedure stmt
79750 type bound proc decl
80751 type bound generic stmt
81752 binding attr
82753 final procedure stmt
83754 derived type spec
84755 type param spec
85756 structure constructor
86757 component spec
87758 component data source
88759 enum def
89760 enum def stmt
90761 enumerator def stmt
91762 enumerator
92763 end enum stmt
93764 boz literal constant (bin,oct and hex)
94765 binary constant
95766 octal constant
96767 hex constant
97768 hex digit
98769 array constructor
99770 ac spec
100771 lbracket
101772 rbracket
102773 ac value
103774 ac implied do
104775 ac implied do control
105776 ac do variable
106
107801 type declaration stmt
108802 attr spec
109803 entity decl
110804 object name
111805 initialization
112806 null init
113807 access spec
114808 language binding spec
115809 coarray spec
116810 deferred coshape spec
117811 explicit coshape spec
118812 lower cobound
119813 upper cobound
120814 dimension spec
121815 array spec
122816 eplicit shape spec
123817 lower bound
124818 upper bound
125819 assumed shape spec
126820 deferred shape spec
127821 assumed implied spec
128822 assumed size spec
129823 implied shape or assumed size spec
130824 implied shape spec
131825 assumed rank spec
132826 intent spec
133827 access stmt
134828 access id
135829 allocatable stmt
136830 allocatable decl
137831 asynchronous stmt
138832 bind stmt
139833 bind entity
140834 codimension stmt
141835 codimension decl
142836 contiguous stmt
143837 data stmt
144838 data stmt set
145839 data stmt object
146840 data implied do
147841 data i do object
148842 data i do variable
149843 data stmt value
150844 data stmt repeat
151845 data stmt constant
152846 int constant subobject
153847 constant subobject
154848 dimension stmt
155849 intent stmt
156850 optional stmt
157851 parameter stmt
158852 named constant def
159853 pinter stmt
160854 pointer decl
161855 protected stmt
162856 save stmt
163857 saved entity
164858 proc pointer name
165859 target stmt
166860 target decl
167861 value stmt
168862 volatile stmt
169863 implicit stmt
170864 implicit spec
171865 letter spec
172866 implicit none spec
173867 import stmt
174868 namelist stmt
175869 namelist group object
176870 equivalence stmt
177871 euivalence set
178872 equivalence object
179873 common stmt
180874 common block object
181
182901 designator
183902 variable
184903 variable name
185904 logical variable
186905 char variable
187906 default char variable
188907 int variable
189908 substring
190909 parent string
191910 substring range
192911 data ref
193912 part ref
194913 structure component
195914 coindexed named object
196915 complex part designator
197916 type param inquiry
198917 array element
199918 array section
200919 subscript
201920 section subscript
202921 subscript triplet
203922 stride
204923 vector subscript
205924 image selector
206925 cosubscript
207926 image selector spec
208927 allocate stmt
209928 alloc opt
210929 errmsg variable
211930 source expr
212931 allocation
213932 allocate object
214933 allocate shape spec
215934 lower bound expr
216935 upper bound expr
217936 allocate coarray spec
218937 allocate coshape spec
219938 nullify stmt
220939 pointer object
221940 deallocate stmt
222941 dealloc opt
223942 stat variable
224
2251001 primary
2261002 level 1 expr
2271003 defined unary op . letter+ .
2281004 mult operand
2291005 add operand
2301006 level 2 expr
2311007 power op **
2321008 mult op * or /
2331009 add op + or
2341010 level 3 expr
2351011 concat op //
2361012 level 4 expr
2371013 rel op .EQ. (==) or .NE.(/=) or .LT. (<) or .LE. (<=) or .GT. (>) or .GE. (>=)
2381014 and operand
2391015 or operand
2401016 equiv operand
2411017 level 5 expr
2421018 not op .NOT.
2431019 and op .AND.
2441020 or op .OR.
2451021 equiv op .EQV. or .NEQV.
2461022 expr
2471023 defined binary op . letter+ .
2481024 logical expr
2491025 default char expr
2501026 int expr
2511027 numeric expr
2521028 specification expr
2531029 constant expr
2541030 default char constant expr
2551031 int constant expr
2561032 assignment stmt
2571033 pointer assignment stmt
2581034 data pointer object
2591035 bounds spec
2601036 bounds remapping
2611037 data target
2621038 proc pointer object
2631039 proc component ref
2641040 proc target
2651041 where stmt
2661042 where construct
2671043 where construct stmt
2681044 where body construct
2691045 where assignment stmt
2701046 mask expr
2711047 masked elsewhere stmt
2721048 elsewhere stmt
2731049 end where stmt
2741050 forall construct
2751051 forall construct stmt
2761052 forall body construct
2771053 forall assignment stmt
2781054 end forall stmt
2791055 forall stmt
280
2811101 block
2821102 associate construct
2831103 associate stmt
2841104 association
2851105 selector
2861106 end associate stmt
2871107 block construct
2881108 block stmt
2891109 block specification part
2901110 end block stmt
2911111 change team construct
2921112 change team stmt
2931113 coarray association
2941114 end change team stmt
2951115 team value
2961116 critical construct
2971117 critical stmt
2981118 end critical stmt
2991119 do construct
3001120 do stmt
3011121 label do stmt
3021122 nonlabel do stmt
3031123 loop control
3041124 do variable
3051125 concurrent header
3061126 concurrent control
3071127 concurrent limit
3081128 concurrent step
3091129 concurrent locality
3101130 locality spec
3111131 end do
3121132 end do stmt
3131133 cycle stmt
3141134 if construct
3151135 if then stmt
3161136 else if stmt
3171137 else stmt
3181138 end if stmt
3191139 if stmt
3201140 case construct
3211141 select case stmt
3221142 case stmt
3231143 end select stmt
3241144 case expr
3251145 case selector
3261146 case value range
3271147 case value
3281148 select rank construct
3291149 select rank stmt
3301150 select rank case stmt
3311151 end select rank stmt
3321152 select type construct
3331153 select type stmt
3341154 type guard stmt
3351155 end select type stmt
3361156 exit stmt
3371157 goto stmt
3381158 computed goto stmt
3391159 continue stmt
3401160 stop stmt
3411161 error stop stmt
3421162 stop code
3431163 fail image stmt
3441164 sync all stmt
3451165 sync stat
3461166 sync images stmt
3471167 image set
3481168 sync memory stmt
3491169 sync team stmt
3501170 event post stmt
3511171 event variable
3521172 event wait stmt
3531173 event wait spec
3541174 until spec
3551175 form team stmt
3561176 team number
3571177 team variable
3581178 form team spec
3591179 lock stmt
3601180 lock stat
3611181 unlock stmt
3621182 lock variable
363
3641201 io unit
3651202 file until number
3661203 internal file variable
3671204 open stmt
3681205 connect spec
3691206 file name expr
3701207 iomsg variable
3711208 close stmt
3721209 close spec
3731210 read stmt
3741211 write stmt
3751212 print stmt
3761213 io control spec
3771214 id variable
3781215 format
3791216 input item
3801217 output item
3811218 io implied do
3821219 io implied do object
3831220 io implied do control
3841221 dtv type spec
3851222 wait stmt
3861223 wait spec
3871224 backspace stmt
3881225 endfile stmt
3891226 rewind stmt
3901227 position spec
3911228 flush stmt
3921229 flush spec
3931230 inquire stmt
3941231 inquire spec
395
3961301 format stmt
3971302 format specification
3981303 format items
3991304 format item
4001305 unlimited format item
4011306 r
4021307 data edit spec
4031308 w
4041309 m
4051310 d
4061311 e
4071312 v
4081313 control edit spec
4091314 k
4101315 position edit spec
4111316 n
4121317 sign edit desc
4131318 blank interp edit desc
4141319 round edit desc
4151320 decimal edit desc
4161321 char string edit spec
417
4181401 main program
4191402 program stmt
4201403 end program stmt
4211404 module
4221405 module stmt
4231406 end module stmt
4241407 module subprogram part
4251408 module subprogram
4261409 use stmt
4271410 module nature
4281411 rename
4291412 only
4301413 only use stmt
4311414 local defined operator
4321415 use defined operator
4331416 submodule
4341417 submodule stmt
4351418 parent identifier
4361419 end submodule stmt
4371420 block data
4381421 block data stmt
4391422 end block data stmt
440
4411501 interface block
4421502 interface specification
4431503 interface stmt
4441504 end interface stmt
4451505 interface body
4461506 procedure stmt
4471507 specific procedure
4481508 generic spec
4491509 defined io generic spec
4501510 generic stmt
4511511 external stmt
4521512 procedure declaration stmt
4531513 proc interface
4541514 proc attr spec
4551515 proc decl
4561516 interface name
4571517 proc pointer init
4581518 initial proc target
4591519 intrinsic stmt
4601520 function reference
4611521 call stmt
4621522 procedure designator
4631523 actual arg spec
4641524 actual arg
4651525 alt return spec
4661526 prefix
4671527 prefix spec
4681528 proc language binding spec
4691529 function subprogram
4701530 function stmt
4711531 dummy arg stmt
4721532 suffix
4731533 end function stmt
4741534 subroutine subprogram
4751535 subroutine stmt
4761536 dymmy arg
4771537 end subroutine stmt
4781538 separate module subprogram
4791539 mp subprogram stmt
4801540 end mp subprogram stmt
4811541 entry stmt
4821542 return stmt
4831543 contains stmt
4841544 stmt fucntion stmt
485
486In total, there are 474 real rules. (And 3 assumed rules)
Note: See TracBrowser for help on using the repository browser.