diff --git a/docs/API.md b/docs/API.md index 92e48ed8..61c0e7d4 100644 --- a/docs/API.md +++ b/docs/API.md @@ -10,6 +10,7 @@ title: API - [SRFI Libraries](#srfi-libraries) - [Cyclone Libraries](#cyclone-libraries) - [Cyclone Compiler API](#cyclone-compiler-api) +- [C API](#c-api) - [Index](#index) # Standard Libraries @@ -57,6 +58,7 @@ Cyclone supports the following [Scheme Requests for Implementation (SRFI)](http: These libraries are provided by Cyclone with a stable API that is unlikely to change. +- [`scheme cyclone array-list`](api/scheme/cyclone/array-list) - [`scheme cyclone pretty-print`](api/scheme/cyclone/pretty-print) - [`scheme cyclone test`](api/scheme/cyclone/test) @@ -74,6 +76,10 @@ These libraries are used by the Cyclone compiler. Some of these are stable and u - [`scheme cyclone transforms`](api/scheme/cyclone/transforms) - [`scheme cyclone util`](api/scheme/cyclone/util) +# C API + +[This documentation](http://justinethier.github.io/cyclone/c-api/modules.html) covers the C API provided by Cyclone Scheme. It is intended both to help understand how the Cyclone runtime works as well as to provide a useful reference manual when working with the Cyclone FFI. + # Index This section is an alphabetic listing of all the functions, objects, and macros provided by the previous libraries. @@ -205,6 +211,13 @@ This section is an alphabetic listing of all the functions, objects, and macros [`append`](api/scheme/base#append) [`apply `](api/primitives#apply) [`arithmetic-shift`](api/srfi/60#ash) +[`array-list`](api/scheme/cyclone/array-list#array-list) +[`array-list?`](api/scheme/cyclone/array-list#array-list1) +[`array-list-delete!`](api/scheme/cyclone/array-list#array-list-delete) +[`array-list-empty?`](api/scheme/cyclone/array-list#array-list-empty) +[`array-list-length`](api/scheme/cyclone/array-list#array-list-length) +[`array-list-ref`](api/scheme/cyclone/array-list#array-list-ref) +[`array-list-set!`](api/scheme/cyclone/array-list#array-list-set) [`ash`](api/srfi/60#ash) [`asin`](api/scheme/inexact#asin) [`assoc`](api/scheme/base#assoc) @@ -793,6 +806,7 @@ This section is an alphabetic listing of all the functions, objects, and macros [`macro:load-env!`](api/scheme/cyclone/macros#macroload-env) [`macro:macro?`](api/scheme/cyclone/macros#macromacro) [`magnitude`](api/scheme/complex#magnitude) +[`make-array-list`](api/scheme/cyclone/array-list#make-array-list) [`make-bytevector `](api/primitives#make-bytevector) [`make-client-socket`](api/srfi/106#make-client-socket) [`make-comparator `](api/srfi/128#make-comparator) diff --git a/docs/api/scheme/base.md b/docs/api/scheme/base.md index 11152800..2491f2cf 100644 --- a/docs/api/scheme/base.md +++ b/docs/api/scheme/base.md @@ -157,6 +157,7 @@ For more information see the [R7RS Scheme Specification](../../r7rs.p - [`vector-map`](#vector-map) - [`when`](#when) - [`with-exception-handler`](#with-exception-handler) +- [`with-handler`](#with-handler) - [`write-char`](#write-char) - [`write-string`](#write-string) - [`zero?`](#zero) @@ -1112,6 +1113,10 @@ Semantics: The `test` is evaluated, and if it evaluates to a true value, the exp (with-exception-handler handler thunk) +# with-handler + + (with-handler handler body) + # write-char (write-char char)