Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/tests/nofib/real/ebnf2ps/AbstractSyntax.hs

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


module AbstractSyntax (Production (..)) where
-- Copyright 1994 by Peter Thiemann

data Production
	= ProdFile [Production]
	| ProdProduction String [String] Production	    -- optional print name
	| ProdTerm [Production]				    -- an alternative of terms
	| ProdFactor [Production]			    -- a sequence of factors
	| ProdNonterminal String
	| ProdTerminal String
	| ProdOption Production
	| ProdRepeat Production
	| ProdRepeatWithAtom Production Production
	| ProdRepeat1 Production
	| ProdPlus					    -- a helper
	| ProdSlash Production				    -- another helper
	deriving Eq


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.