summaryrefslogtreecommitdiffhomepage
path: root/doc/mdk_emixvm.texi
blob: 6a6efb49b12d97f16f8eb62622e88c3bd0da486c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@c -*-texinfo-*-
@c This is part of the GNU MDK Reference Manual.
@c Copyright (C) 2000, 2001
@c   Free Software Foundation, Inc.
@c See the file mdk.texi for copying conditions.

@node mixvm.el, mixvm, Getting started, Top
@comment  node-name,  next,  previous,  up
@chapter mixvm.el

If you are an Emacs user and write your MIXAL programs using this
editor, you will find the elisp program @file{mixvm.el} quite
useful@footnote{@file{mixvm.el} has been kindly contributed by
@value{PHILIP}. @file{mixvm.el} is based on a study of gdb, perldb, and
pdb as found in @file{gud.el}, and @file{rubydb3x.el} distributed with
the source code to the Ruby language.}. @file{mixvm.el} allows running
the MIX virtual machine @code{mixvm} (@pxref{mixvm}) inside an Emacs
@acronym{GUD} buffer, while visiting the MIXAL source file in another
buffer.

After installing @file{mixvm.el} (@pxref{Emacs support}), you can
initiate an @sc{mdk}/@acronym{GUD} session inside Emacs with the command

@example
M-x mixvm
@end example

@noindent
and you will have a @code{mixvm} prompt inside a newly created
@acronym{GUD} buffer. @acronym{GUD} will reflect the current line in the
corresponding source file buffer.