

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


The George Washington University School of Engineering and Applied Science Department of Computer Science CSci 169 – Software Paradigms – Fall 2006 Programming Assignment # 3: Logic Expression Simplifier Due Date: Wednesday, November 29, 2006 Instructor: A. Bellaachia
Send the electronic version of your assignment to: [email protected]
Part I: Consider the problem of simplifying an algebraic expression, such as the symbolic differentiation. In this project, we would like to develop a Logic Expression Simplifier ( LES ) using the following simplification rules:
C can be either a constant or an unknown variable.
Write a scheme function that implements the above rules.
Notes:
o Space is a delimiter. o You assume that the expression is syntactically correct. o You need to read a logical expression in infix format and apply your LES o You can assume that the input expression is fully parenthesized
Examples:
Part II:
Jatha is a Common LISP library implemented in Java. It implements a large subset of Common LISP functions. It enables programmatic access to LISP from Java, either using an eval() method or using Java methods. You can find more information about Jatha in: http://jatha.sourceforge.net/
In this second part of the project, you need to implement LES using Jatha.
Part III: Compare the performance of the implementations in Part I and Part II.