#1208 translator bugs: no mnot mprogn

closed
nobody
5
2007-12-28
2007-05-31
Barton Willis
No

The missing 'modin' function was reported bug #1646525.
The problems with 'mnot' and 'mprogn' being illegal might
be unreported bugs:

(%i1) f(e,v) := block([vi], for vi in v while not(emptyp(e)) do (print(vi), e : rest(e)))$
(%i2) translate(f)$
(%i3) f([1,2,3],[a,b]);
...The function MDOIN is undefined.

(%i4) compile(f)$

;;; The function (MNOT) is illegal.
;;; The function (MPROGN) is illegal.

Discussion

  • Robert Dodier
    Robert Dodier
    2007-12-28

    • status: open --> closed
     
  • Robert Dodier
    Robert Dodier
    2007-12-28

    Logged In: YES
    user_id=501686
    Originator: NO

    Resolved by r1.37 src/transl.lisp. The problem was the incorrect translation of "for x in L while ... do", not a problem with mnot or mprogn.