Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Construction of lisp Environment on window platform

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Download lisp in a box package and install emacs: enter lispbox-x.x/emacs-x.xx/bin and click run addpm.exe to install it automatically for you. Start emacs, press Cmurx Cmurf, enter ~, find the default home directory, create a new _ emacs file in this directory, and set it in the file (add-to-list 'load-path "C:/lispbox-0.7/slime-20110205.092829"); your SLIME directory

(setq inferior-lisp-program "C:/lispbox-0.7/ccl-1.6-windowsx86/wx86cl.exe"); your Lisp system

(require 'slime)

(slime-setup) restart emacs, press Mmurx, enter slime, can you get a lisp interactive environment? Good luck:)

Lispbox is the integrated development environment of Common Lisp. The truth is that Lispbox is only configured with a combination of Emacs editor, SLIME (Emacs's advanced Lisp interaction mode), Quicklisp library management tools, and CCL Lisp compiler.

Together, these tools give you the set of features you expect an ide to give you, and more. Lispbox allows you to put it into use quickly and easily.

Lispbox allows new Lisp programmers to start almost painlessly in a first-class development environment. Therefore, it is strongly recommended that beginners download and install Lispbox as the beginning of learning Common Lisp. It's easy to use Lispbox, just download and extract the version of your operating system. No installation required! You can start using Lispbox by running lispbox.bat (Windows) / lispbox.sh (Linux) / Emacs (OS X).

The default Emacs does not enable UTF-8 character set support, so it does not support Chinese, or even Chinese annotations. If you enter Chinese, the following error will occur:

CL-USER > 'Chinese support

Slime-net-send: Coding system iso-latin-1-unix not suitable for "00004c (: emacs-rex (swank:listener-eval\" 'Chinese support)

\ ")\" COMMON-LISP-USER\ ": repl-thread 4)

To support Chinese language, you need to modify the file emacs-23.2\ site-lisp\ lispbox.el in the decompressed folder.

Add a line after the line (require 'slime):

(setq slime-net-coding-system 'utf-8-unix)

You can also set it to other codes and restart Lispbox.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report