Previous: , Up: Lisp Libraries   [Contents][Index]

22.3.3 Converting Mocklisp to Lisp

SXEmacs can run Mocklisp files by converting them to Emacs Lisp first. To convert a Mocklisp file, visit it and then type M-x convert-mocklisp-buffer. Then save the resulting buffer of Lisp file in a file whose name ends in .el and use the new file as a Lisp library.

You cannot currently byte-compile converted Mocklisp code. The reason is that converted Mocklisp code uses some special Lisp features to deal with Mocklisp’s incompatible ideas of how arguments are evaluated and which values signify “true” or “false”.