The Fabl Manual
Function Index
Class Index
Globals Index
Libraries
Contents

Title Page
Introduction
Sample Code
Architecture
Syntax
Strong Typing
Polymorphism
Operators
Help
Errors
Configuration
RDF
Namespaces
Owl
Datatypes
Resources
Dot ops
Coercion
Type Casting
nil

Types
string
id
int
double
boolean
Literal
Containers
Functions
void

Home
Regarding
The Path
Classes
Delegation
Functional Values
Read/Write
Load/Store
Libraries
Imports
CGI
Sample Code

Often, when encountering a new language, it is interesting to look at sample code, even if the code in question is not fully comprehensible at first. Here are a few links:

Brief samples are provided with the online expression evaluator.

A simple illustrative CGI script for displaying the titles of an RSS 1.0 feed: http://fabl.net/examples/rsstitles.fbl

A sample run of this script:
http://fabl.net/examples/rsstitles.fsp?src=http://www.mapbureau.com/userdata/donalda/worstplacesforjournalists/data.xml

Definitions of RDF geometry vocabularies: http://fabl.net/lib/geometry/1.1/revision1.fbl and http://fabl.net/lib/geometry2d/1.1/revision1.fbl

A few geometric utilities:
http://fabl.net/lib/libgeom2d/1.1/point.v0.fbl
http://fabl.net/lib/libgeom2d/1.1/box.v1.fbl
http://fabl.net/lib/libgeom2d/1.1/matrix.v0.fbl
http://fabl.net/lib/libgeom2d/1.1/polyline.v0.fbl
http://fabl.net/lib/libgeom2d/1.1/group.v0.fbl

RDFMapper is a web service implemented in Fabl for mapping geo-annotated RDF content. RDFMapper provides parameters that allow users to define their own Fabl functions for extraction of location data and generation of HTML content.

Utilities for use with RDFMapper: http://fabl.net/examples/rdfmapper_utils-2.0.fbl

The Fabl parser: http://fabl.net/fimp/parse.fbl

The rest of the self-implemented portion of Fabl can be found in the directory <installDir>/fimp (fimp stands for Fabl IMPlementation).