Test Files for Java Polya Library
echoSexp.java
echoes S expression as S expression
echoRexp.java
echoes R expression as S expression
analyzeSexp.java
analyzes S expressions
analyzeRexp.java
analyzes R expressions
cube.java
mapping a function 'cube'
integers.java
infinite list of integers
squares.java
mapping a function 'square' over infinite list
primes.java
infinite list of primes
Note: An R expression uses [ ] instead of ( ) and has comma separators.
Examples of S expressions:
()
foo
123
456.78
1.23e-04
(foo bar)
(123 foo (bar baz))