Project

General

Profile

Feature #466

CoCoAManual: add entry summarising syntax of all CoCoA-5 commands

Added by John Abbott about 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Manual/documentation
Start date:
11 Mar 2014
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:

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

Related to CoCoA-5 - Support #176: CoCoAManual: Doc for new commandsClosed2012-06-01

Related to CoCoA-5 - Support #456: CoCoAManual: New structure for manual?Closed2014-03-05

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

What I mean is just the keywords and syntax of CoCoA language:
  • Return expr
  • If bool-expr Then cmd EndIf
  • If bool-expr Then cmd Else cmd EndIf
  • If bool-expr Then cmd Elif bool-expr Then cmd EndIf
  • While bool-epxr Do cmd EndWhile

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

Also available in: Atom PDF