Changeset 31463 in project


Ignore:
Timestamp:
09/19/14 23:01:39 (5 years ago)
Author:
arthurmaciel
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/notes-on-chicken.h

    r31462 r31463  
    1010
    1111As stated at its beginning, [[http://code.call-cc.org/cgi-bin/gitweb.cgi?p=chicken-core.git;a=blob;f=chicken.h;h=f5a103ee14314f7c679e01dd8e11c0404043791a;hb=HEAD|{{chicken.h}}]] is a general headerfile for compiler generated executables.
    12 
    13 === License and copyright
    14 
    15 The file is licensed under the [[http://opensource.org/licenses/BSD-3-Clause|3-clause BSD license]] and nowadays The CHICKEN Team retains its copyright.
    16 
    17 === Language
    18 
    19 [[http://code.call-cc.org/cgi-bin/gitweb.cgi?p=chicken-core.git;a=blob;f=chicken.h;h=f5a103ee14314f7c679e01dd8e11c0404043791a;hb=HEAD|{{chicken.h}}]] is implemented in {{C}} programming language. If you don't know {{C}}, it is strongly advised to study it before proceeding. On {{#chicken}} some resources were pointed out:
    20 * {{##C}} IRC channel wiki: [[http://www.iso-9899.info/wiki/Main_Page]]
    21 * {{C syntax}} topic on wikipedia: [[http://en.wikipedia.org/wiki/C_syntax]]
    2212
    2313=== Coding conventions
     
    3424; p : {{p}} at the end of function names generally means {{predicate}} as in [[http://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node69.html|Common Lisp]].We can see a bunch of examples from line [[http://code.call-cc.org/cgi-bin/gitweb.cgi?p=chicken-core.git;a=blob;f=chicken.h;h=f5a103ee14314f7c679e01dd8e11c0404043791a;hb=HEAD#l1163|1163]] to 1198. Ex.: {{C_truep(x)}} would be in Scheme equivalent to {{true?}} in {{(define (true? x) (if x #t #f))}}. All predicates return Scheme values, but {{C_truep}} is an exception: it returns a C "boolean", ie {{1}} if the value is non-{{#f}} and {{0}} if it is {{#f}}.
    3525
    36 
    3726=== External configuration
    3827
Note: See TracChangeset for help on using the changeset viewer.