(*********************************************************************************** * Copyright (c) 2005-2021 Achim D. Brucker * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * * * Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the following disclaimer in the documentation * and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * SPDX-License-Identifier: BSD-2-Clause * Repository: https://git.logicalhacking.com/adbrucker/isabelle-hacks/ * Dependencies: None ***********************************************************************************) (*********************************************************************************** # Changelog This comment documents all notable changes to this file in a format inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] ## [1.0.0] - 2021-04-29 - Initial release as part of "Isabelle Hacks". ***********************************************************************************) chapter\ML Yacc Library for Isabelle\ theory "Ml_Yacc_Lib" imports Main begin ML_file "ml-yacc-lib/base.sig" ML_file "ml-yacc-lib/join.sml" ML_file "ml-yacc-lib/lrtable.sml" ML_file "ml-yacc-lib/stream.sml" ML_file "ml-yacc-lib/parser2.sml" (* The files in the directory "ml-yacc-lib" are part of the sml/NJ language processing tools. It was modified to work with Isabelle/ML by Achim D. Brucker. It was downloaded from http://smlnj.cs.uchicago.edu/dist/working Upstream Authors: The SML/NJ Team Copyright: 2003-2008 The SML/NJ Fellowship 1989-2002 Lucent Technologies 1991-2003 John Reppy 1996-1998,2000 YALE FLINT PROJECT 1992 Vrije Universiteit, The Netherlands 1989-1992 Andrew W. Appel, James S. Mattson, David R. Tarditi 1988 Evans & Sutherland Computer Corporation, Salt Lake City, Utah STANDARD ML OF NEW JERSEY COPYRIGHT NOTICE, LICENSE AND DISCLAIMER. Copyright (c) 1989-2002 by Lucent Technologies Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both the copyright notice and this permission notice and warranty disclaimer appear in supporting documentation, and that the name of Lucent Technologies, Bell Labs or any Lucent entity not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. Lucent disclaims all warranties with regard to this software, including all implied warranties of merchantability and fitness. In no event shall Lucent be liable for any special, indirect or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortious action, arising out of or in connection with the use or performance of this software. The SML/NJ distribution also includes code licensed under the same terms as above, but with "David R. Tarditi Jr. and Andrew W. Appel", "Vrije Universiteit" or "Evans & Sutherland" instead of "Lucent". *) end