Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 0ae038fa30
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (16 sloc) 0.525 kB
module ToDo
{
language Tasks2 {
syntax Main = TaskLine+;
// Separators and newline removed since
// we are using interleave.
syntax TaskLine = "task" Title DueDate;
syntax DueDate = Month "-" Day "-" Year;
token Title = '"' ^('"' | '\n' | '\r')* '"';
token Digit = "0".."9";
token Month = Digit#1..2;
token Day = Digit#1..2;
token Year = Digit#2..4;
interleave Whitespace = '\r' | ' ' | '\n';
}
}
Jump to Line
Something went wrong with that request. Please try again.