Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199512_2.adf » !Regulars » Regulars/StarInfo/Seery/h/parser

Regulars/StarInfo/Seery/h/parser

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199512_2.adf » !Regulars
Filename: Regulars/StarInfo/Seery/h/parser
Read OK:
File size: 0348 bytes
Load address: 0000
Exec address: 0000
File contents
#ifndef _parser_h
#  define _parser_h

/** parser.h *****************************************************************
 *
 *  Syntactic and semantic routines called in-line by the parser
 *
 *  (c) David Seery 1995
 *
 *****************************************************************************/

extern void remember_video_type(void);
extern void new_video(void);
extern void new_category(void);
extern void new_programme(void);
extern void end_programme(void);
extern void attach_name(void);
extern void attach_source(void);
extern void starts_hr(void);
extern void starts_mins(void);
extern void starts_secs(void);
extern void ends_hr(void);
extern void ends_mins(void);
extern void ends_secs(void);
extern void attach_category(void);
extern void attach_precedes(void);
extern void attach_follows(void);

extern Lexeme c_lexeme;
#endif
00000000  23 69 66 6e 64 65 66 20  5f 70 61 72 73 65 72 5f  |#ifndef _parser_|
00000010  68 0a 23 20 20 64 65 66  69 6e 65 20 5f 70 61 72  |h.#  define _par|
00000020  73 65 72 5f 68 0a 0a 2f  2a 2a 20 70 61 72 73 65  |ser_h../** parse|
00000030  72 2e 68 20 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |r.h ************|
00000040  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
*
00000070  2a 2a 2a 2a 2a 0a 20 2a  0a 20 2a 20 20 53 79 6e  |*****. *. *  Syn|
00000080  74 61 63 74 69 63 20 61  6e 64 20 73 65 6d 61 6e  |tactic and seman|
00000090  74 69 63 20 72 6f 75 74  69 6e 65 73 20 63 61 6c  |tic routines cal|
000000a0  6c 65 64 20 69 6e 2d 6c  69 6e 65 20 62 79 20 74  |led in-line by t|
000000b0  68 65 20 70 61 72 73 65  72 0a 20 2a 0a 20 2a 20  |he parser. *. * |
000000c0  20 28 63 29 20 44 61 76  69 64 20 53 65 65 72 79  | (c) David Seery|
000000d0  20 31 39 39 35 0a 20 2a  0a 20 2a 2a 2a 2a 2a 2a  | 1995. *. ******|
000000e0  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
*
00000120  2a 2a 2a 2a 2a 2a 2a 2f  0a 0a 65 78 74 65 72 6e  |*******/..extern|
00000130  20 76 6f 69 64 20 72 65  6d 65 6d 62 65 72 5f 76  | void remember_v|
00000140  69 64 65 6f 5f 74 79 70  65 28 76 6f 69 64 29 3b  |ideo_type(void);|
00000150  0a 65 78 74 65 72 6e 20  76 6f 69 64 20 6e 65 77  |.extern void new|
00000160  5f 76 69 64 65 6f 28 76  6f 69 64 29 3b 0a 65 78  |_video(void);.ex|
00000170  74 65 72 6e 20 76 6f 69  64 20 6e 65 77 5f 63 61  |tern void new_ca|
00000180  74 65 67 6f 72 79 28 76  6f 69 64 29 3b 0a 65 78  |tegory(void);.ex|
00000190  74 65 72 6e 20 76 6f 69  64 20 6e 65 77 5f 70 72  |tern void new_pr|
000001a0  6f 67 72 61 6d 6d 65 28  76 6f 69 64 29 3b 0a 65  |ogramme(void);.e|
000001b0  78 74 65 72 6e 20 76 6f  69 64 20 65 6e 64 5f 70  |xtern void end_p|
000001c0  72 6f 67 72 61 6d 6d 65  28 76 6f 69 64 29 3b 0a  |rogramme(void);.|
000001d0  65 78 74 65 72 6e 20 76  6f 69 64 20 61 74 74 61  |extern void atta|
000001e0  63 68 5f 6e 61 6d 65 28  76 6f 69 64 29 3b 0a 65  |ch_name(void);.e|
000001f0  78 74 65 72 6e 20 76 6f  69 64 20 61 74 74 61 63  |xtern void attac|
00000200  68 5f 73 6f 75 72 63 65  28 76 6f 69 64 29 3b 0a  |h_source(void);.|
00000210  65 78 74 65 72 6e 20 76  6f 69 64 20 73 74 61 72  |extern void star|
00000220  74 73 5f 68 72 28 76 6f  69 64 29 3b 0a 65 78 74  |ts_hr(void);.ext|
00000230  65 72 6e 20 76 6f 69 64  20 73 74 61 72 74 73 5f  |ern void starts_|
00000240  6d 69 6e 73 28 76 6f 69  64 29 3b 0a 65 78 74 65  |mins(void);.exte|
00000250  72 6e 20 76 6f 69 64 20  73 74 61 72 74 73 5f 73  |rn void starts_s|
00000260  65 63 73 28 76 6f 69 64  29 3b 0a 65 78 74 65 72  |ecs(void);.exter|
00000270  6e 20 76 6f 69 64 20 65  6e 64 73 5f 68 72 28 76  |n void ends_hr(v|
00000280  6f 69 64 29 3b 0a 65 78  74 65 72 6e 20 76 6f 69  |oid);.extern voi|
00000290  64 20 65 6e 64 73 5f 6d  69 6e 73 28 76 6f 69 64  |d ends_mins(void|
000002a0  29 3b 0a 65 78 74 65 72  6e 20 76 6f 69 64 20 65  |);.extern void e|
000002b0  6e 64 73 5f 73 65 63 73  28 76 6f 69 64 29 3b 0a  |nds_secs(void);.|
000002c0  65 78 74 65 72 6e 20 76  6f 69 64 20 61 74 74 61  |extern void atta|
000002d0  63 68 5f 63 61 74 65 67  6f 72 79 28 76 6f 69 64  |ch_category(void|
000002e0  29 3b 0a 65 78 74 65 72  6e 20 76 6f 69 64 20 61  |);.extern void a|
000002f0  74 74 61 63 68 5f 70 72  65 63 65 64 65 73 28 76  |ttach_precedes(v|
00000300  6f 69 64 29 3b 0a 65 78  74 65 72 6e 20 76 6f 69  |oid);.extern voi|
00000310  64 20 61 74 74 61 63 68  5f 66 6f 6c 6c 6f 77 73  |d attach_follows|
00000320  28 76 6f 69 64 29 3b 0a  0a 65 78 74 65 72 6e 20  |(void);..extern |
00000330  4c 65 78 65 6d 65 20 63  5f 6c 65 78 65 6d 65 3b  |Lexeme c_lexeme;|
00000340  0a 23 65 6e 64 69 66 0a                           |.#endif.|
00000348