Menu

#743 numericalio with gcl

closed
5
2005-06-07
2005-05-20
No

The cvs version of numericalio does not work with gcl:

(%i2) A : read_matrix("data.dat", csv);
Maxima encountered a Lisp error:
Error in SETF [or a callee]: Cannot expand the SETF
form (READTABLE-CASE

LOCAL-TABLE).
Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.
(%i3) build_info()$
Maxima version: 5.9.1.1cvs
Maxima build date: 8:6 5/20/2005
host type: i686-pc-linux-gnu
lisp-implementation-type: Kyoto Common Lisp
lisp-implementation-version: GCL 2.6.5

Discussion

  • Robert Dodier

    Robert Dodier - 2005-05-21
    • labels: --> Share Libraries
    • assigned_to: nobody --> robert_dodier
     
  • Robert Dodier

    Robert Dodier - 2005-05-21

    Logged In: YES
    user_id=501686

    The problem is caused by the lack of readtable-case in GCL.
    I will work on a fix.

     
  • Robert Dodier

    Robert Dodier - 2005-05-21

    Logged In: YES
    user_id=501686

    I'm attaching a diff of numericalio.lisp which removes the
    use of readtable-case. If the data file does not contain any
    symbolic atoms then the patched version should work OK. (The
    patched version will read symbols OK, but it converts them
    all to lowercase.) I'm still planning to figure out a way to
    get GCL to respect input case (without making use of
    readtable-case).

     
  • Robert Dodier

    Robert Dodier - 2005-06-01

    Logged In: YES
    user_id=501686

    I've committed a new revision of numericalio.lisp to CVS
    that should work OK with gcl. I've tested it with my own
    copy of Maxima/gcl, and I'll close this bug after I get a
    confirmation from someone else that it works.

     
  • Robert Dodier

    Robert Dodier - 2005-06-07

    Logged In: YES
    user_id=501686

    I've gotten a response from someone else that the current
    revision of numericalio.lisp works on GCL Maxima. Closing
    this bug report.

     
  • Robert Dodier

    Robert Dodier - 2005-06-07
    • status: open --> closed
     

Log in to post a comment.