-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathp.h
More file actions
39 lines (34 loc) · 1.75 KB
/
p.h
File metadata and controls
39 lines (34 loc) · 1.75 KB
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
/* ----------------------------------------------------------------------- */
/* J-Source Version 7 - COPYRIGHT 1993 Iverson Software Inc. */
/* 33 Major Street, Toronto, Ontario, Canada, M5S 2K9, (416) 925 6096 */
/* */
/* J-Source is provided "as is" without warranty of any kind. */
/* */
/* J-Source Version 7 license agreement: You may use, copy, and */
/* modify the source. You have a non-exclusive, royalty-free right */
/* to redistribute source and executable files. */
/* ----------------------------------------------------------------------- */
/* */
/* Definitions for the Parser and Translators */
#define ACTION(f) A f(b,e,stack)I b,e;A *stack;
#define TACT(f) AA f(b,e,stack)I b,e;AA*stack;
typedef struct{A a,t;} AA;
typedef AA(*AAF)();
typedef struct{I c[4];AF f;AAF vf,cf;I b,e,k;} PT;
extern AA vadv(), cadv();
extern AA vconj(), cconj();
extern AA vcurry(), ccurry();
extern AA vdyad(), cdyad();
extern AA vforkv(), cforkv();
extern AA vhookv(), chookv();
extern AA vformo(), cformo();
extern AA vis();
extern AA vmonad(), cmonad();
extern AA vpunc();
extern PT cases[];
extern I ncases;
extern B tfail;
extern A tname;
extern A tparse();
extern A ttokens();
extern A tval;