Did you know ... Search Documentation:
Pack ical -- prolog/ical/core.pl
PublicShow source

iCalendar core DCGs and validators.

Standards

This is an implementation of the RFC 5545:

The following standards are or will be supported in other libraries:

 iana_token(-Val:codes)//
ABNF: iana-token = 1*(ALPHA / DIGIT / "-")
 x_name(-Token:codes)//
ABNF: x-name = "X-" [vendorid "-"] 1*(ALPHA / DIGIT / "-")
 param_value(-Text:codes)//
ABNF: param-value = paramtext / quoted-string.
 param_name(-Name:codes)//
ABNF: name = iana-token / x-name
 param(-Param:pred)//
ABNF: param = param-name "=" param-value *("," param-value)
Arguments:
Param- A param/2 predicate: param(Name: codes, Values: list). Values is a list of codes.
 name(-Name:codes)//
ABNF: name = iana-token / x-name
 value(-Val:codes)//
ABNF: value = *VALUE-CHAR

ABNF: VALUE-CHAR = WSP / %x21-7E / NON-US-ASCII

 params(-Params:list)//
ABNF: *(";" param )
Arguments:
Params- A list of codes.
 content_line(-Content:pred)//
ABNF: contentline = name *(";" param ) ":" value CRLF
Arguments:
Content- A content/3 predicate: content(Name: codes, Params: list, Val:codes) where Params is a list of codes.