File: readme

package info (click to toggle)
styx 1.7-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 13,324 kB
  • ctags: 5,329
  • sloc: ansic: 96,480; sh: 7,972; cpp: 1,572; makefile: 227; xml: 107; pascal: 15
file content (12 lines) | stat: -rw-r--r-- 413 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
[README] Example 01

This example implements a simple calculator. It reads expressions of
the form "Int op=+|-|*|/ Int" from stdin. 
An empty line as well as the input "<ctrl>c" stops the process.

Use the shell script 'mx' to create the executable. 
Don't forget 
1) to check the setting of the environment variable STYXDIR in 'mx'
2) to add $STYXDIR/lib to your library path.

Execute the program by 'calctut'.