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

⟦74c18f7c7⟧ TextFile

    Length: 454 (0x1c6)
    Types: TextFile
    Notes: UNIX file
    Names: »dragon.h«

Derivation

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

TextFile



/*
 * DFA state
 *	The egrep DFA is composed of these structs.  Operation of the DFA
 * requires the use of d_success and d_p, only.
 */
struct dragon {
	bool		d_success;	/* this is an accepting state */
	struct newt	**d_s;		/* set of NFA states (newts) */
	char		*d_b;		/* bitmap of d_s */
	int		d_hash;		/* hash of d_s */
	struct dragon	*d_next,	/* next dragon (or 0) */
			*d_last,	/* previous dragon (or 0) */
			**d_p;		/* transition vector */
};