-- -*- M2-comint -*- hash: 17527454053739497377

i1 : load "Macaulay2Doc/demos/demo1.m2"

i2 : code g

o2 = /usr/share/Macaulay2/
     Macaulay2Doc/demos/demo1.m2:11:4-14:9: --source code:
     g = y -> (
          c := f(y-1);
          d := f(y-2);
          c+d)

i3 : g 2
/usr/share/Macaulay2/Macaulay2Doc/demos/demo1.m2:8:11:(3):[2]: error: division by zero
/usr/share/Macaulay2/Macaulay2Doc/demos/demo1.m2:8:11:(3): entering debugger (enter 'help' to see commands)
/usr/share/Macaulay2/
Macaulay2Doc/demos/demo1.m2:8:10-8:13: --source code:
     b := 1/x;

ii4 : code current

oo4 = /usr/share/Macaulay2/
      Macaulay2Doc/demos/demo1.m2:8:10-8:13: --source code:
           b := 1/x;

ii5 : current

oo5 = 2-OP / 1
             local-fetch 0 0

oo5 : PseudocodeClosure

ii6 : disassemble current

oo6 = (2-OP / 1 (local-fetch 0 0))

ii7 : value current
/usr/share/Macaulay2/Macaulay2Doc/demos/demo1.m2:8:11:(3): error: division by zero

ii8 : x = 11

oo8 = 11

ii9 : value current

       1
oo9 = --
      11

oo9 : QQ

ii10 : continue

      34
o10 = --
      11

o10 : QQ

i11 : 
