Feature #466
CoCoAManual: add entry summarising syntax of all CoCoA-5 commands
Description
I suggest adding a page which summarises briefly the language syntax of CoCoA-5 (with link to each detailed page for each single command).
2015-05 proposed solution: /**/ ? All CoCoA commands
Related issues
History
#1 Updated by John Abbott about 10 years ago
Such a page would be useful for people who already know how to program, and simply want to see the complete syntax all at once.
#2 Updated by Anna Maria Bigatti about 10 years ago
You mean the syntax of all commands in CoCoA?
that's not difficult, but it's going to be huge!
#3 Updated by John Abbott about 10 years ago
Yes, I mean CoCoALanguage commands; no, I don't mean functions!
Possibly a few important functions could be named too (e.g. not
)
#4 Updated by Anna Maria Bigatti about 10 years ago
- Status changed from New to In Progress
You mean something like
/**/ ? Commands and Functions for ideals
That should be easy (kind of copy and paste)
... and together with all the relative syntax?
That is a bit trickier...
#5 Updated by John Abbott about 10 years ago
Return
exprIf
bool-exprThen
cmdEndIf
If
bool-exprThen
cmdElse
cmdEndIf
If
bool-exprThen
cmdElif
bool-exprThen
cmdEndIf
While
bool-epxrDo
cmdEndWhile
And so on.
#6 Updated by Anna Maria Bigatti about 10 years ago
- Target version set to CoCoA-5.1.0 Easter14
- % Done changed from 0 to 10
Added entry "All CoCoA Commands".
It only gives the list of entries with type "command".
Fairly easy to add (still have to check whether all commands are tagged with type "command")
More difficult to add all the syntax entries.
#7 Updated by John Abbott about 10 years ago
- Target version changed from CoCoA-5.1.0 Easter14 to CoCoA-5.1.1 Seoul14
#8 Updated by Anna Maria Bigatti almost 10 years ago
- Subject changed from Manual: add entry summarising syntax of all CoCoA-5 commands to CoCoAManual: add entry summarising syntax of all CoCoA-5 commands
#9 Updated by John Abbott over 9 years ago
- Target version changed from CoCoA-5.1.1 Seoul14 to CoCoA-5.1.2 summer 2015
#10 Updated by Anna Maria Bigatti almost 9 years ago
- Description updated (diff)
- Status changed from In Progress to Feedback
- Assignee set to Anna Maria Bigatti
- % Done changed from 10 to 90
- Estimated time set to 2.00 h
Anna Maria Bigatti wrote:
Added entry "All CoCoA Commands".
It only gives the list of entries with type "command".
Fairly easy to add (still have to check whether all commands are tagged with type "command")More difficult to add all the syntax entries.
I made some refinements:
/**/ ? All CoCoA commands --============[ All CoCoA commands ]=============-- This is a (work in progress) complete list of all CoCoA commands: ? break -- break out of a loop ? for -- loop command ? foreach -- loop command ? if -- conditional statement ? repeat -- loop command ? return -- exit from a function ? while -- loop command --==================<>===================--
#11 Updated by Anna Maria Bigatti over 8 years ago
- Status changed from Feedback to Closed
- % Done changed from 90 to 100