Changeset 9106 in project


Ignore:
Timestamp:
02/29/08 02:47:15 (12 years ago)
Author:
etatoby
Message:

Changes applied for etatoby (82.56.123.171) through svnwiki:

Done a few TODOs, improved a few parts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/new-chapter1

    r9001 r9106  
    235235
    236236The simplest development environment is a text editor and terminal
    237 window (Windows: Command Prompt, OSX: Terminal, Linux/Unix: xterm). If
    238 you install the {{readline}} egg (TODO: insert xref), you have all the
    239 benefits of command history and reentry, Emacs or vi-compatible line
     237window (Windows: Command Prompt, OSX: Terminal, Linux/Unix: xterm) for
     238using the interpreter and/or calling the compiler. If
     239you [[readline#examples|install the {{readline}} egg]], you have all the
     240benefits of command history in the interpreter, Emacs or vi-compatible line
    240241editing, and customization.
    241242
     
    252253might satisfy your needs.
    253254
    254 * Emacs ([[http://www.gnu.org/software/emacs]]) is available for Linux/Unix, Macintosh, and Windows systems; CHICKEN provides Emacs support out of the box, with the {{hen.el}} Emacs Lisp file. Consult the `Emacs Guide for Chicken Users' (TODO: this document doesn't exist yet) for information on setting up and using Emacs with Chicken.
    255 
    256 * Epsilon ([[http://www.lugaru.com]]) is a commercial text editor whose design was   inspired by Emacs. Although Scheme support isn't provided, a Lisp mode is available on Lugaru's FTP site, and could with some work be made to duplicate the Emacs support.
    257 
    258 * {{vim}} ([[http://www.vim.org]]) is a descendant of the venerable {{vi}} editor first included with Berkeley versions of Unix.  TODO: say more about using vim with Chicken, all I know about vi is that you can get out by typing :q! .
     255; [[http://www.gnu.org/software/emacs|Emacs]] : Emacs is an extensible, customizable, self-documenting editor available for Linux/Unix, Macintosh, and Windows systems; CHICKEN provides Emacs support out of the box, with the {{hen.el}} Emacs Lisp file. Consult the `Emacs Guide for Chicken Users' (TODO: this document doesn't exist yet) for information on setting up and using Emacs with Chicken.
     256
     257; [[http://www.lugaru.com|Epsilon]] : Epsilon is a commercial text editor whose design was inspired by Emacs. Although Scheme support isn't provided, a Lisp mode is available on Lugaru's FTP site, and could with some work be made to duplicate the Emacs support.
     258
     259; [[http://www.vim.org|Vim]] : Vim is a highly configurable text editor built to enable efficient and fast text editing. It is an improved version of the vi editor distributed with most UNIX systems. Vim comes with generic Lisp (and therefore Scheme) editing capabilities out of the box. [[http://cybertiggyr.com/gene/15-vim/|Here are a few tips on the matter]]. TODO: the chicken community is in the process of putting together a common set of extensions for editing Chicken with Vim
    259260
    260261TODO: other editors? Slick? Multi-Edit? Visual Studio? Eclipse? TextMate?  jEdit? some other editor? Please fill in anything you know about. Has somebody done a SchemeScript for Chicken?
     262
     263TODO: any decent editor with proportional font and automatic Scheme-style indenting? I know it sounds insane, but proportional font Scheme code in printed books looks so nice
    261264
    262265=== Using the interpreter
     
    306309The REPL also supports debugging commands:
    307310input lines beginning with a {{,}} (comma) are treated as special
    308 commands. (TODO: insert cross-reference to full list) We can
     311commands. (See the [[Using the interpreter#toplevel-commands|full list]].) We can
    309312'''trace''' {{fact}} to see how it works.
    310313
     
    342345The {{-ss}} option sets several options that work smoothly together to
    343346execute a script. You can make the command directly executable from
    344 the shell by inserting a `shebang line' at the beginning of the
    345 program (TODO: insert xref).
     347the shell by inserting a `[[Using the interpreter#writing-scheme-scripts|shebang line]]' at the beginning of the
     348program.
    346349
    347350{{regex}}, the regular expression library, is one of the libraries
     
    371374There are several reasons you might want to compile your code.
    372375
    373 * Compiled code executes substantially more quickly than interpreted
     376* Compiled code executes substantially faster than interpreted
    374377  code.
    375378* You might want to deploy an application onto machines where the
     
    384387with Visual Studio, you may find that {{csc}} refers to Microsoft's
    385388C# compiler. There are a number of ways of sorting this out, of which
    386 the simplest is to make a Windows batch file named {{cshc.bat}} which
    387 invokes {{csc}} using its absolute path name, and
    388 organize your {{PATH}} accordingly.)
     389the simplest is to rename one of the two tools, and/or to
     390organize your {{PATH}} according to the task at hand.)
    389391
    390392Compiled code can be intermixed with interpreted code on systems that
     
    551553defining a {{foreign-lambda}} for it, in this case saying that the
    552554function takes one integer argument (the {{int}} after the function
    553 name), and that it returns an integer result. Now we can invoke
     555name), and that it returns an integer result (the {{int}} before.) Now we can invoke
    554556{{xfib}} as though it were an ordinary Scheme function.
    555557
Note: See TracChangeset for help on using the changeset viewer.