-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlibrary.dylan
47 lines (39 loc) · 1.13 KB
/
library.dylan
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
module: dylan-user
author: David Lichteblau ([email protected])
copyright: See LICENSE in this distribution for details.
define library meta
use common-dylan;
use io;
export meta;
end library;
define module meta-base
use common-dylan;
use streams;
export \with-meta-syntax, \with-collector;
export \meta-parse-aux, \process-meta, \call-meta-subroutine;
end module meta-base;
define module meta-syntax
use common-dylan;
use meta-base;
use streams;
use standard-io;
use format-out;
export *debug-meta-functions?*, \meta-definer, \collector-definer;
// internal-macro exports for gwydion d2c
export \scan-helper, \scanner-builder, \meta-builder;
end module meta-syntax;
define module meta-types
use common-dylan;
export
$space, $digit, $letter, $num-char, $any-char,
$punctuation, $graphic-char, $graphic-digit;
end module meta-types;
define module meta
use common-dylan;
use streams;
use format-out;
use meta-base, export: all;
use meta-syntax, export: all;
use meta-types, export: all;
export scan-s, scan-word, scan-int, scan-number, scan-single-float, scan-double-float;
end module meta;