User Tools

Site Tools


using_chicken_on_sdf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revisionBoth sides next revision
using_chicken_on_sdf [2021/03/17 20:41] – created hc9using_chicken_on_sdf [2021/03/17 20:42] – [Install Eggs] hc9
Line 64: Line 64:
 If the install was successful, we can check whether everything's working. Start the Chicken interpreter with csi and run this Scheme program to load the readline egg: If the install was successful, we can check whether everything's working. Start the Chicken interpreter with csi and run this Scheme program to load the readline egg:
  
-  (use readline)+''(use readline)''
  
 Then run this program to use readline in this interpreter session: Then run this program to use readline in this interpreter session:
  
-  (current-input-port (make-gnu-readline-port))+''(current-input-port (make-gnu-readline-port))''
  
 Now check if you have readline support in the interpreter. Run a trivial program like 42 and then hit the Up key and check if "42" gets entered at the prompt. If so, the readline egg is installed and working. You can put the first two Scheme programs (the ones that load the egg and make it work) into a ~/.csirc file and the interpreter will run those programs at the beginning of each session. Now check if you have readline support in the interpreter. Run a trivial program like 42 and then hit the Up key and check if "42" gets entered at the prompt. If so, the readline egg is installed and working. You can put the first two Scheme programs (the ones that load the egg and make it work) into a ~/.csirc file and the interpreter will run those programs at the beginning of each session.
Line 75: Line 75:
  
 $Id: chicken.html,v 1.15 2011/08/29 06:43:41 ab9 Exp $ [[http://sdf.org/?tutorials/chicken|Using Chicken on SDF]] - traditional link (using [[wp>Revision_Control_System|RCS]]) $Id: chicken.html,v 1.15 2011/08/29 06:43:41 ab9 Exp $ [[http://sdf.org/?tutorials/chicken|Using Chicken on SDF]] - traditional link (using [[wp>Revision_Control_System|RCS]])
- 
  
using_chicken_on_sdf.txt · Last modified: 2021/03/17 20:52 by hc9