bugAxiom Computer Algebra System - Bugs: bug #6903, Category compiles with the...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #6903: Category compiles with the compiler but not within the interpreter

Submitted by:  David MentrĂ© <dmentre>
Submitted on:  Mon 01 Dec 2003 09:38:44 PM UTC  
 
Category: interpreterSeverity: 2 - Minor
Item Group: code bugStatus: Wont Fix
Privacy: PublicAssigned to: None
Originator Name: Stefan DirnstorferOpen/Closed: Closed
Release: October 31st binary releaseReproducibility: None
Fixed Release: 
Error message: 

Internal Error
Unexpected error in call to system function pf2Sex1

Example of code trigerring the bug: 

)abbrev category MYCAT MyCat
MyCat:Category == with { new: ()->% }

Internal cause: 

Mon 01 Dec 2003 09:38:44 PM UTC, original submission:

You can correctly compile this code by making a file (say, f.spad) thus:

)abbrev category MYCAT MyCat
MyCat:Category == with { new: ()->% }

The system needs the ")abbrev" line.
Then do:

)co f.spad

The code compiles within a file (with above procedure), but not under the interpreter.

Additionnal explanation from Tim:
Yes, the code can compile from a file.
No, the code cannot be compiled from the interpreter.
Is this a bug?

ummm, yes, no, maybe? Yes, in theory the interpreter should accept
the function and compile it. No, the interpreter won't accept the
function and compile it. Maybe that's a bug or it's a design flaw.
The problem is that the compiler and the interpreter have different
parsers. Since they have different goals they have different constraints.
So unifying the two parsers is not a simple problem. I'll look at the
specific error but I'm not certain what the fix will be.

David Mentré <dmentre>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by axiom (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 25 Nov 2008 06:24:08 AM UTCaxiomStatusNone=>Wont Fix
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1