Orangesoda Index
Sitemap and License. Everything on this site falls under the license unless otherwise noted.
Recent Changes
Javascript
Fluid Bindings (aka Dynamic Scoping, aka Parameters)
Fluid bindings follow the flow of control rather than the lexical order of a program. See wikipedia on Dynamic Scoping.
The code: fluid.js.
jquery.dataset: HTML5 Dataset jQuery Plugin
Posted by Ben on .
The HTML5 specification allows custom data attributes to be added to any DOM element. This jQuery plugin provides methods to retrieve and manipulate custom attributes.
Read More: The jquery.dataset Plugin
Download: jquery.dataset.js
Squash: SQL Manipulation with Native Expressions
Scheme
A REQUIRE special form for Gambit-C
Posted by Ben on .
The REQUIRE special form includes libraries only once. It is
implemented using Gambit-C's INCLUDE and LOAD forms with
COND-EXPAND to prevent a library from being loaded again (which is
an error) or re-evaluated.
REQUIRE accepts a sequence of requirement specifications that
identify libraries. The specifications are mapped onto the filesystem
to find the corresponding source files or compiled modules. For
example:
(require (srfi 1)
(lib util))
;; Library code here...
See require#.scm for additional documentation. An easy way to
integrate REQUIRE into a project is to include require#.scm from
`.gambcini' or `~/.gambcini'. For more details, see Customization in
the Gambit-C documentation.
Source: require#.scm _require.scm