Difference between revisions of "CoCoA:Grammar/Package"

From ApCoCoAWiki
 
Line 2: Line 2:
  
 
==Syntax==
 
==Syntax==
  [[PACKAGE_DECL]] ::=
+
  PACKAGE_DECL ::=
 
       Package [[PACKAGE_ID]]
 
       Package [[PACKAGE_ID]]
 
         {{fopt|{{flist|[[EXPORT_DECL]] ;}}}}
 
         {{fopt|{{flist|[[EXPORT_DECL]] ;}}}}

Revision as of 17:17, 23 June 2007

Package

Syntax

PACKAGE_DECL ::=
     Package PACKAGE_ID
       EXPORT_DECL ;
       VARIABLE_DECL ;
       FUNCTION_DECL
     EndPackage

Static

Run-time