Project

General

Profile

Design #782

BuiltinFunctions -- getting too long again!

Added by Anna Maria Bigatti over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Parser/Interpreter
Target version:
Start date:
01 Oct 2015
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:

Description

Separate into two files functions proper of the cocoa language, and cocoalib functions.
E.g. functions about RECORD and functions about IDEAL.
Unfortunately the distinction is not so neat: "sum" is a language function (because works on LIST) or an algebraic function?
In fact we want to have a substantial set of functions "out of the way" when we modify the ever-increasing BuiltinFunctions file (so we should not be too picky on what can be moved out...)


Related issues

Related to CoCoA-5 - Feature #193: BuiltinFunctions.C getting too long (2000 lines)Closed2012-06-21

History

#1 Updated by Anna Maria Bigatti over 8 years ago

(First attempt works, not yet cvs-ed)
Indeed the "cocoa language" file uses directly from CoCoALib just "BigInt".
(indirectly "RightValue")

How should the two files be called?
BuiltInFunction.C and BuiltInFunctions-CoCoALib.C?
What about BuiltinOneLiners? should it be renamed BuiltInOneLiners-CoCoALib?

#2 Updated by Anna Maria Bigatti over 8 years ago

  • Status changed from New to In Progress

checked in:
BuiltInFunction.C and BuiltInFunctions-CoCoALib.C

#3 Updated by John Abbott about 8 years ago

  • % Done changed from 0 to 50

Anna, do you regard this as resolved? Can you close the issue?

#4 Updated by Anna Maria Bigatti about 8 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100
  • Estimated time set to 2.00 h

Also available in: Atom PDF