Difference between revisions of "CoCoA:Grammar/Command"
From ApCoCoAWiki
(tidying up the wiki...) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
==Syntax== | ==Syntax== | ||
− | + | COMMAND ::= [[HELP_QUERY]] ''newline'' | |
| [[COMMENT]] | | [[COMMENT]] | ||
| [[PACKAGE_DECL]] | | [[PACKAGE_DECL]] | ||
Line 18: | Line 18: | ||
==Run-time== | ==Run-time== | ||
See specific definition | See specific definition | ||
+ | |||
+ | [[Category:CoCoA5Client]] |
Latest revision as of 17:32, 20 October 2007
Command
Syntax
COMMAND ::= HELP_QUERY newline | COMMENT | PACKAGE_DECL | FUNCTION_DECL | STATEMENT;
Commands can be divided in three main groups:
- Interactive commands (such as ?)
- Package and Function declarations (Package and Define)
- Statements (assignment, If, For, etc.)
Static
See specific definition
Run-time
See specific definition