Skip to content

Commit afd7936

Browse files
committed
Copyright.
1 parent 7901bf3 commit afd7936

File tree

216 files changed

+1328
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

216 files changed

+1328
-2
lines changed

Diff for: LICENCE

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
Copyright © 2008-2017 Katherine Flavel <[email protected]>
3+
All rights reserved.
4+
5+
Redistribution and use in source and binary forms, with or without
6+
modification, are permitted provided that the following conditions are met:
7+
8+
1. Redistributions of source code must retain the above copyright notice,
9+
this list of conditions and the following disclaimer.
10+
11+
2. Redistributions in binary form must reproduce the above copyright notice,
12+
this list of conditions and the following disclaimer in the documentation
13+
and/or other materials provided with the distribution.
14+
15+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
17+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18+
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
19+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
20+
EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
21+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22+
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
23+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
24+
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
25+
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26+

Diff for: bin/foldcase2sets.pl

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
#!/usr/bin/perl -w
22

3+
#
4+
# Copyright 2008-2017 Katherine Flavel
5+
#
6+
# See LICENCE for the full copyright terms.
7+
#
8+
39
use strict;
410
use warnings;
511

Diff for: bin/unicode2lx.pl

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
#!/usr/bin/perl -w
22

3+
#
4+
# Copyright 2008-2017 Katherine Flavel
5+
#
6+
# See LICENCE for the full copyright terms.
7+
#
8+
39
use strict;
410
use warnings;
511

Diff for: examples/fsm/a.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
1 -> 2 "a";
28
2 -> 3 "b";
39
3 -> 4 "c";

Diff for: examples/fsm/adjacent.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
0 -> 1 '0';
28
1 -> 2 'x';
39

Diff for: examples/fsm/alts.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
1 -> 2 'a';
28
1 -> 3 'a';
39
1 -> 2 'b';

Diff for: examples/fsm/b.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
1 -> 2 "abc";
28
2 -> 1 "def";
39

Diff for: examples/fsm/c.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
5 -> 1 "a";
28
1 -> 2 "b";
39
1 -> 4 "c";

Diff for: examples/fsm/c4.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
# http://www.nikkostrom.com/publications/phd_thesis/thesis_c4.html
28

39
1 -> 2 's';

Diff for: examples/fsm/d.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
1 -> 2 "a";
28
2 -> 3 "a";
39
3 -> 4 "b";

Diff for: examples/fsm/dup.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
1 -> 2 'a';
28
1 -> 3 'a';
39

Diff for: examples/fsm/e.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
1 -> 2 'a';
28
1 -> 3 'b';
39
3 -> 4 'c';

Diff for: examples/fsm/el.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
1 -> 2 'a';
28
1 -> 2;
39

Diff for: examples/fsm/epsilon.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
1 -> 2;
28

39
start: 1;

Diff for: examples/fsm/float.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
0 -> 1 '+';
28
0 -> 1 '-';
39
0 -> 1;

Diff for: examples/fsm/gvfsm.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
# Adapted from http://graphviz.org/Gallery/directed/fsm.html
28

39
9 -> 2 "S(B)";

Diff for: examples/fsm/id.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
1->2;
28
a->'b';
39

Diff for: examples/fsm/la3.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
# An example from LexicalPart3.pdf
28

39
11 -> 1;

Diff for: examples/fsm/labels.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
#1 -> 2 '\\';
28
1 -> 2 '.';
39
1 -> 2 '|';

Diff for: examples/fsm/lindyhop.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
closed -> open 'swingout';
28
open -> closed 'lindycircle';
39
open -> open 'lindyturn';

Diff for: examples/fsm/min.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
1 -> 2 'a';
28
2 -> 2 'a';
39

Diff for: examples/fsm/min2.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
1 -> 2 'a';
28
2 -> 2 'a';
39
2 -> 3 'b';

Diff for: examples/fsm/min3.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
# a state introduced by reversal
28

39
3 -> 3 'a';

Diff for: examples/fsm/stray.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
1 -> 3 ;
28
4 -> 5 ;
39
6 -> 2 ;

Diff for: examples/fsm/todfa.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
# test case for NFA->DFA
28
# from a*|b
39

Diff for: examples/fsm/wulf.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
# courtesy wulf, ##c
28

39
1 -> 2 'h';

Diff for: examples/fsm/wulf2.fsm

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
0 -> 1 'h';
28
1 -> 2 'x';
39

Diff for: examples/glob/main.c

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2008-2017 Katherine Flavel
3+
*
4+
* See LICENCE for the full copyright terms.
5+
*/
6+
17
/*
28
* An example illustrating glob(3)-like matching for strings by internally
39
* constructing a DFA from the given globing string. A similar technique

Diff for: examples/iprange/main.c

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2008-2017 Katherine Flavel
3+
*
4+
* See LICENCE for the full copyright terms.
5+
*/
6+
17
#define _GNU_SOURCE
28
#include <arpa/inet.h>
39

Diff for: examples/lx/a.lx

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
# Three types of pattern:
28
# 'literal' - no escaping
39
# "string" - with C-style escaped characters \r, \n etc

Diff for: examples/lx/scheme.lx

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
/[ \t\n]+/;
28
';' .. '\n';
39
'#|' .. '#|';

Diff for: examples/rpn/lexer.lx

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright 2008-2017 Katherine Flavel
3+
#
4+
# See LICENCE for the full copyright terms.
5+
#
6+
17
/[ \t\n]+/;
28

39
'#' .. "\n";

Diff for: examples/rpn/main.c

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2008-2017 Katherine Flavel
3+
*
4+
* See LICENCE for the full copyright terms.
5+
*/
6+
17
#include <assert.h>
28
#include <stdio.h>
39
#include <stdlib.h>

Diff for: examples/words/main.c

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2008-2017 Katherine Flavel
3+
*
4+
* See LICENCE for the full copyright terms.
5+
*/
6+
17
#include <stdio.h>
28
#include <string.h>
39

Diff for: include/adt/bitmap.h

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2008-2017 Katherine Flavel
3+
*
4+
* See LICENCE for the full copyright terms.
5+
*/
6+
17
#ifndef BITMAP_H
28
#define BITMAP_H
39

Diff for: include/adt/path.h

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2008-2017 Katherine Flavel
3+
*
4+
* See LICENCE for the full copyright terms.
5+
*/
6+
17
#ifndef PATH_H
28
#define PATH_H
39

Diff for: include/adt/priq.h

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2008-2017 Katherine Flavel
3+
*
4+
* See LICENCE for the full copyright terms.
5+
*/
6+
17
#ifndef PRIQ_H
28
#define PRIQ_H
39

0 commit comments

Comments
 (0)