Bootstrap changes

5 views
Skip to first unread message

Timmy Douglas

unread,
Mar 28, 2009, 7:55:22 PM3/28/09
to slate-language
I added a "rebootstrap.slate" slate file to the end of the bootstrap
process to use the new compiler to build all the slate libraries over
again that were precompiled by the bootstrap. This has the benefit of
storing more information in the compiled method object to aid in
debugging. The debugger takes advantage of this by putting the source
locations next to frames in the backtrace:


Slate 2> [1 + b] do.
We are entering the debugger...
Defining function 'frame' on: NoRole
Defining function 'True' on: NoRole
Defining function 'False' on: NoRole
Defining function 'frame:' on: NoRole, NoRole
Defining function 'arg:' on: NoRole, NoRole
Defining function 'arg:put:' on: NoRole, NoRole, NoRole
Defining function 'backtrace' on: NoRole
Defining function 'bt' on: NoRole
Defining function 'restarts' on: NoRole
Defining function 'restart:' on: NoRole, NoRole
Defining function ':' on: NoRole, NoRole
Defining function 'help' on: NoRole
<0> [defaultHandler] @ src/lib/condition.slate:291
<1> [tryHandlers] @ src/lib/condition.slate:79
<2> [signal] @ src/lib/condition.slate:31
<3> [notFoundOn: &optionals:] @ src/lib/condition-epilogue.slate:70
<4> [(arity: 0)] @ stdin:-1
<5> [do] @ src/lib/method.slate:2
<6> [evaluateIn: &optionals:] @ src/mobius/syntax.slate:180
<7> [(arity: 0)] @ src/lib/repl.slate:155
<8> [on:do:] @ src/lib/condition.slate:43
<9> [(arity: 0)] @ src/lib/repl.slate:147
<10> [handlingCases:] @ src/lib/condition.slate:64
<11> [interpretHook:] @ src/lib/repl.slate:42
<12> [(arity: 0)] @ src/lib/repl.slate:139
<13> [enter] @ src/lib/repl.slate:135
<14> [start &resource:] @ src/lib/repl.slate:185
<15> [start] @ src/mobius/prelude.slate:37
<16> [(arity: 0)] @ Nil
The following condition was signaled:
The method #b was not found for the following arguments:
{lobby}

The following restarts are available:
0) Abort evaluation of expression
1) Quit Slate

Enter 'help.' for instructions.
Debug [0..1]:

Reply all
Reply to author
Forward
0 new messages