source: project/release/4/genturfahi/trunk/chicken-csi.scm @ 27313

Last change on this file since 27313 was 27313, checked in by Alan Post, 9 years ago

genturfahi: false-failured in {}-expressions.

{} expressions can appear at the top of a .peg file, and are
executed before the main grammar to set global parsing options.

For the set of tokens not to memoize, the return value was not
properly set resulting in parse failure.

File size: 1.9 KB
Line 
1;;;;
2;;;; genturfahi - lo la .ckim. 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(use utf8)
21(use srfi-1)
22(use srfi-9)
23(use utf8-srfi-13) ; String Libraries
24(use utf8-srfi-14) ; Character Classes
25(use srfi-28)      ; Basic Format Strings
26(use srfi-37)      ; args-fold
27(use srfi-39)      ; parameter objects
28(use srfi-69)      ; hash tables
29(use extras)       ; format, pretty-print
30(use moremacros)   ; for type-case
31(use matchable)
32(use ports)
33(use stack)
34(use sandbox)      ; safe-eval
35(use test)         ; test environment.
36
37(include "chicken-platform.scm")
38
39; genturfahi (lib)
40;
41(include "lerfu-porsi.scm")
42(include "javni-valsi.scm")
43(include "secuxna.scm")
44(include "nunjavni.scm")
45(include "morji.scm")
46(include "nunvalsi.scm")
47(include "cfisisku.scm")
48(include "junla.scm")
49(include "genturfahi.scm")
50(include "version.scm")
51
52; genturfahi-peg
53;
54(include "eval.scm")
55(include "samselpla.scm")
56(include "bootstrap.scm")
57(include "peg.scm")
58
59; genturfahi (bin)
60;
61(include "license.scm")
62(include "main-srfi-37.scm")
63
64(main)
65(exit (secuxna-exit-status))
Note: See TracBrowser for help on using the repository browser.