Changeset 37119 in project


Ignore:
Timestamp:
01/22/19 00:17:21 (3 months ago)
Author:
svnwiki
Message:

Anonymous wiki edit for IP [140.253.78.164]:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/shen

    r37118 r37119  
    3434(0-)
    3535</enscript>
     36
    3637=== Embedding in Chicken
    3738
    3839
    3940=== Example Shen Code
     41
     42==== Calling native Scheme code
     43<enscript highlight="bash">
     44$ chicken-shen
     45</enscript>
     46
     47Calling native Chicken procedures is done by prefixing 'lisp' to the procedure name. An example of calling Chicken's print is given below.
     48
     49<enscript highlight="bash">
     50Shen, copyright (C) 2010-2015 Mark Tarver
     51www.shenlanguage.org, Shen 21.1
     52running under Scheme, implementation: Chicken
     53port 0.1 ported by David Ireland
     54
     55(0-) (lisp.print "Hello World")
     56Hello World
     57#<unspecified>
     58
     59(1-)
     60</enscript>
    4061
    4162==== Basic List processing
Note: See TracChangeset for help on using the changeset viewer.