full_eval_and_store now ends by applying a function of type root -> theory -> theory kept in the theory context (CEnv.Backend / OEnv.Backend), K I by default. The new command setup_backend installs another one (ML source, like setup). Tests and manual entries for both front-ends. occam2: the _reject commands are now thy_decl instead of diag; Isabelle runs diag commands in parallel with the following commands, which raced on the process-wide lexer state and made occam2 units fail sporadically. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .bin | ||
| C11 | ||
| Isabelle_Lex-Yacc | ||
| occam2 | ||
| .envrc | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
Lex and Yacc for Isabelle/ML
This repository provides a deep integration of ml-lex and ml-yacc into Isabelle/ML (and, hence, Isabelle/HOL).
ml-lex and ml-yacc
The work is based on the port of ml-lex and ml-yacc of the sml/nj project to Poly/ML:
These tools have been modified in several ways. In particular, they have been modified to work "in memory", i.e., taking the lex and yacc specifications as strings and returning the generated lexer and parser as string. They also have been modified to report errors using the error reporting provided by Isabelle/PIDE.
Authors
License
This project is licensed under a 3-clause BSD-style license.
SPDX-License-Identifier: BSD-3-Clause
Upstream Repository
The upstream git repository, i.e., the single source of truth, for this project is hosted by the Software Assurance & Security Research Team at https://git.logicalhacking.com/adbrucker/isabelle_lex-yacc/.