Changeset 35323 in project


Ignore:
Timestamp:
03/22/18 15:59:20 (4 months ago)
Author:
felix
Message:

manual: more links changed, added R5RS page (or should it be R7RS?)

Location:
wiki/man/5
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • wiki/man/5/TODO/Extensions to the standard

    r34685 r35323  
    5858Previous: [[Deviations from the standard]]
    5959
    60 Next: [[Non-standard read syntax]]
     60Next: [[Non-standard macros and special forms]]
  • wiki/man/5/TODO/Macros

    r35116 r35323  
    304304
    305305---
    306 Previous: [[Non-standard macros and special forms]]
     306Previous: [[Non-standard read syntax]]
    307307
    308308Next: [[Modules]]
  • wiki/man/5/TODO/Non-standard macros and special forms

    r35281 r35323  
    9494
    9595---
    96 Previous: [[Non-standard read syntax]]
     96Previous: [[Extensions to the standard]]
    9797
    98 Next: [[Macros]]
     98Next: [[Non-standard read syntax]]
  • wiki/man/5/TODO/Non-standard read syntax

    r34052 r35323  
    192192
    193193---
    194 Previous: [[Extensions to the standard]]
     194Previous: [[Non-standard macros and special forms]]
    195195
    196 Next: [[Non-standard macros and special forms]]
     196Next: [[Macros]]
  • wiki/man/5/TODO/Supported language

    r35319 r35323  
    44XXX
    55
     6* [[The R5RS standard]]
    67* [[Deviations from the standard]]
    78* [[Extensions to the standard]]
  • wiki/man/5/faq

    r34716 r35323  
    6464parameter {{case-sensitivity}} to {{#t}}.
    6565
    66 
    67 ==== Why doesn't CHICKEN support the full numeric tower by default?
    68 
    69 As of Chicken 5, it does!  The {{numbers}} egg is no longer necessary
    70 or supported.
    71 
    72 Note that unlike some other Schemes, Chicken does not support complex
    73 numbers with mixed exactness.  If either argument to {{make-rectangular}}
    74 is inexact, the resulting complex number will be inexact in both its
    75 real and imaginary parts.  Either behavior is allowed by the various
    76 Scheme standards.
    7766
    7867==== Does CHICKEN support native threads?
     
    156145is not running under control of a terminal and doesn't print the prompt and does not flush the output stream properly.
    157146
    158 ==== On Windows, {{csc.exe}} seems to be doing something wrong.
     147==== On Windows, {{csc.exe}} seems to be doing something else entirely.
    159148
    160149The Windows development tools include a C# compiler with the same name. Either invoke {{csc.exe}} with a full
     
    187176extern void C_toplevel(C_word,C_word,C_word) C_noret;
    188177</enscript>
    189 
    190 ==== How can I add compiled user passes?
    191 
    192 To add a compiled user pass instead of an interpreted one, create a library unit and recompile
    193 the main unit of the compiler (in the file {{chicken.scm}}) with an additional {{uses}}
    194 declaration. Then link all compiler modules and your (compiled) extension to create a new version of
    195 the compiler, like this (assuming all sources are in the
    196 current directory):
    197 
    198 <enscript highlight=scheme>
    199   % cat userpass.scm
    200   ;;;; userpass.scm - My very own compiler pass
    201 
    202   (declare (unit userpass))
    203 
    204   ;; Perhaps more user passes/extensions are added:
    205   (let ([old (user-pass)])
    206     (user-pass
    207       (lambda (x)
    208         (let ([x2 (do-something-with x)])
    209            (if old
    210                (old x2)
    211                x2) ) ) ) )
    212 </enscript>
    213 
    214  % csc -c -x userpass.scm
    215  % csc chicken.scm -c -o chicken-extended.o -uses userpass
    216  % gcc chicken-extended.o support.o easyffi.o compiler.o optimizer.o batch-driver.o c-platform.o \
    217  c-backend.o userpass.o `csc -ldflags -libs` -o chicken-extended
    218 
    219 On platforms that support it (Linux ELF, Solaris, Windows + VC++), compiled code can be loaded via {{-extend}}
    220 just like source files (see {{load}} in the User's Manual).
    221 
    222178
    223179=== Macros
     
    295251
    296252<enscript highlight=scheme>
    297  (eval-when (compile)
    298  (define-reader-ctor 'integer->char integer->char) )
     253 (define-reader-ctor 'integer->char integer->char)
    299254 (print #,(integer->char 33))
    300255</enscript>
     
    305260
    306261<enscript highlight=scheme>
    307  (eval-when (compile)
    308  (define-reader-ctor 'integer->char integer->char) )
    309  
     262 (define-reader-ctor 'integer->char integer->char)
    310263 (include "other-file")
    311264</enscript>
     
    341294(unless your executable was compiled with the {{-no-trace}} option.
    342295By default, only 16 entries will be shown.
    343 To increase this number pass the {{-:aN}} parameter to your executable.
     296To increase this number pass the {{-:aN}} runtime option to your executable.
    344297
    345298
     
    347300
    348301==== How can I obtain smaller executables?
     302
     303XXX still valid?
    349304
    350305If you don't need {{eval}} or the stuff in the {{extras}} library unit,
     
    813768=== Extensions
    814769
    815 ==== Where is "chicken-setup" ?
    816 
    817 {{chicken-setup}} has been rewritten from scratch and its functionality is now
    818 contained in the three tools {{chicken-install}}, {{chicken-uninstall}} and {{chicken-status}}.
    819 See the [[Extensions]] chapter for more information.
    820 
    821770==== How can I install CHICKEN eggs to a non-default location?
    822771
Note: See TracChangeset for help on using the changeset viewer.