DataMuseum.dk

Presents historical artifacts from the history of:

Commodore CBM-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Commodore CBM-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦49428b976⟧ TextFile

    Length: 505 (0x1f9)
    Types: TextFile
    Notes: UNIX file
    Names: »lextype.h«

Derivation

└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code
    └─⟦f4b8d8c84⟧ UNIX V7 Filesystem
        └─ ⟦this⟧ »cmd/lex/lextype.h« 

TextFile

/*
 * lextype.h, used by lex and by library routines
 */

/*
 * form of packed nfa states:
 * opcode sits in low four bits
 * data in high twelve bits
 */
#define	LR_MASK	017
#define	LR_SHFT	4

/*
 * opcodes
 */
#define	LX_STOP	000
#define	LX_LINK	001
#define	LX_JUMP	002
#define	LX_LOOK	003
#define	LX_ACPT	004
#define	LX_CHAR	005
#define	LX_CLAS	006
#define	LX_BLIN	007
#define	LX_ELIN	010
#define	LX_ANYC	011
#define	LX_SCON	012

/*
 * not used in automaton
 */
#define	LX_TERM	016
#define	LX_OPER	017