Section B:
Using Wagalang

Wagalang is the standard formatting language for the Week-at-a-Glance tables. Though these files are usually created by HyperWAG itself, you can also manually create your own files if you prefer by following the rules below. Additionally, HyperWAG can import and read YAWL (Yet Another Wag Language) files. This sections discusses the basics of using these two languages; extensions to both types of files are discussed in Section C.

1. Creating a Wagalang file manually
Wagalang is a very user-friendly format for users who want to manually create their own files. The standard format for an appointment looks like this:

days     starttime,endtime     title

where days are letter corresponding to the days of the week on which the appointment takes place ([S]unday, [M]onday, [T]uesday, [W]ednesday, t[H]ursday, [F]riday, and s[A]turday), starttime,endtime is two stardard 24-hour format times separated by a comma (such as 11, 13:15 or 23:30), and title is a descriptive name (up to 64 characters, including spaces) for the appointment. Any line that begins with a # is deemed a comment and ignored.

2. YAWL - Yet Another Wag Language
The main difference between Wagalang and YAWL is that YAWL appointments span many lines, with each bit of information on a separate line, whereas appointments in Wagalang must take only up one line. The standard format for an appointment looks like this:

day
starttime-endtime
title
%%END-YAWL%%

where day is the single day of the week on which the appointment takes place (Sunday-Saturday), starttime-endtime is two stardard 24-hour format times separated by a dash, and title is a descriptive name for the appointment. The end of the appointment is designated by the line %%END-YAWL%%. As with Wagalang files, any line that begins with a # is deemed a comment and ignored.

Previous Section: Introduction to HyperWAG     Next Section: Extenstions to Wagalang & YAWL

Back to Table of Contents