Win32 GNU Common Lisp Development Environment

Source: Internet
Author: User

In Win32 GNU Common Lisp development environment, after GNU Common Lisp is installed in Win32 environment, a shortcut is generated in the Start menu to view its attributes,
The start position is blank. After the shortcut is copied to any directory for running, the running directory will be used as the current path. I create a lispworks folder on the desktop as the project directory for practice, and then use the GNU Common Lisp 2.6.1 folder
Copy the shortcut to run it. Www.2cto.com to be honest, the interactive environment of GCL is actually a console program with no indentation and syntax highlighting. You may not like it either,
My solution is to use the VIM editor. Currently, I do not know how to set up the environment. It can only be said that after being edited and saved using VIM, it can be loaded in GCL. For example, create a hello under the lispworks directory. lisp: The above is a hello-world Program, and defun is a function declaration. Syntax: (defun function name (parameter *) (function subject) in the example program, the function name is hello-world. The parameter list is (), that is, the parameter is null. The main body of the function is to call format.
Output string "hello, world ". Save www.2cto.com and enter (load "hello. lisp "), load the source file, and the result is as follows: Of course, you can also enter the above Code in interactive mode. If a running error occurs, it will be interrupted under the debugger: Okay, I admit that I will only: q is returned from the debugging mode, re-enter the code, and finally introduce a VIM shortcut key di (delete the code matching the brackets.
Author: lisper

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.