source: project/release/4/jbogenturfahi/trunk/tamgau.peg @ 22189

Last change on this file since 22189 was 22189, checked in by Alan Post, 10 years ago

jbogenturfa'i: add (commented out) switches for debug and profiling mode.

File size: 1.4 KB
Line 
1;;;;
2;;;; jbogenturfahi - lo lojbo ke pe'a jajgau ratcu ke'e genturfa'i
3;;;;            `-> A Scheme packrat parser.
4;;;;
5;;;; Copyright (c) 2010 ".alyn.post." <alyn.post@lodockikumazvati.org>
6;;;;
7;;;; Permission to use, copy, modify, and/or distribute this software for any
8;;;; purpose with or without fee is hereby granted, provided that the above
9;;;; copyright notice and this permission notice appear in all copies.
10;;;;
11;;;; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12;;;; WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13;;;; MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14;;;; ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15;;;; WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16;;;; ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17;;;; OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18;;;;
19
20;; The variable defining the morphology and full grammar.
21;;
22{(define-name '("jborafske" "jbogerna"))}
23
24;; The non-terminal rules in the grammar for the morphology
25;; and grammar.
26;;
27{(start-production '("morphology" "text"))}
28
29;; The Chicken Scheme compiler generates better code if I define all
30;; of the grammar rules at the top-level, rather than in a let.
31;;
32{(define-toplevel #t)}
33
34;; Enable debugging
35;;
36{(debug #f)}
37
38;; Enable profiling
39;;
40{(profile #f)}
Note: See TracBrowser for help on using the repository browser.