Disappearing Cryptography: Information Hiding: Steganography & Watermarking, Second Edition

Appendix C: Reversible Grammar Generator

Here is the LISP source code for the reversible grammar generator described in Chapter 8. It was written for XLISP, a version of LISP that can be found in many archives throughout the Internet. The structure is very basic, however, and so it should be useful.

;;; Reversible Grammar Machine;;; Copyright 1996 Peter Wayner;;; All rights reserved.;;; Permission is granted to copy the file as long as no charge;;; is made. Permission is also granted to make changes as long as;;; the author of the changes is indicated in the comments.;;;;;;;;; This code is designed to implement a reversible computer. If;;; it can be reversed, then the data used to create it can be extracted.;;;;;;;;; constant-list contains constant values that are left unchanged.;;; var-list contains variables that are changed by the person.;;; procedure-list includes all of the procedures that are executed.(setq constant-list        '(                (c1 ("Bob " "Ray " "Loraine " "Carol " "Gilda "))                (c2 ("Lucy " "Ricky " "Ethel " "Fred "))                (c3 ("Fred " "Barney " "Wilma " "Betty "))                (v1 ("considered insubordination "       ...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Temperature Indicating Coatings and Materials
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.