File:  [Research Unix] / researchv10no / cmd / sml / lib / mlyacc / README
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

ML-Yacc Distribution 1.0     February 1, 1989

Copyright (c) 1989 by Andrew W. Appel, David R. Tarditi

This software comes with ABSOLUTELY NO WARRANTY.
This software is subject only to the PRINCETON STANDARD ML SOFTWARE LIBRARY
COPYRIGHT NOTICE, LICENSE AND DISCLAIMER, (in the file "COPYRIGHT",
distributed with this software). You may copy and distribute this software;
see the COPYRIGHT NOTICE for details and restrictions.

Files of interest:

mlyacc.doc		- User's manual for ML-Yacc
mlyacc.sml		- ML version of yacc.

sample.grm		\
sample.lex		 >   Sample interactive calculator program.
sample.sml		/
sample.input

pascal.grm		- Grammar for Berkeley Pascal, hacked to be SLR,
			    though that is no longer necessary because
			    ML-Yacc now supports LALR(1).
pascal.lex

ml.grm			- grammar for ML.  Not debugged.

Source files for building mlyacc.sml:
mlyacc.hdr.sml		- code that must be loaded before loading mpc.grm.sml.
mlyacc.grm		- grammar for ML version of yacc.
mlyacc.lex		- lexer for ML version of yacc
mlyacc.main.sml		- ties the above together

To build mlyacc.sml (necessary only if you edit one of the four files above):
parseGen "mlyacc.grm"  produces "mlyacc.grm.sml"
lexGen "mlyacc.lex"    produces "mlyacc.lex.sml"
cat mlyacc.hdr.sml mlyacc.grm.sml mlyacc.lex.sml mlyacc.main.sml >mlyacc.sml


unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.