File: nowhere.1

package info (click to toggle)
smlnj 110.79-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 82,508 kB
  • ctags: 117,516
  • sloc: ansic: 32,532; asm: 6,314; sh: 2,303; makefile: 1,821; perl: 1,170; pascal: 295; yacc: 190; cs: 78; python: 77; lisp: 19
file content (59 lines) | stat: -rw-r--r-- 1,272 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
.TH nowhere 1 "July 21, 2004"
.SH NAME
nowhere \- a tree parser generator for Standard ML
.SH SYNOPSIS
.B nowhere
.I file
.br
.SH DESCRIPTION
This manual page documents briefly the
.B nowhere
command.
This manual page was written for the Debian distribution
because the original program does not have a manual page.

The
.B nowhere
program is a simple source to source translation tool that expands out
case expressions with conditional patterns.

Conditional patterns use the "where" keyword.  For example:

 case l of
   [x,y,z] where x=1 => 1
 | _ => 2

means the same as:

 case l of
   [1,y,z] => 1
 | _ => 2

Currently, the input file must be of the following form:

 local
   <definitions>
 in
   <body>
 end
   <definitions>

should include all datatypes definitions that are used inside the
.IR body .
It is only for the tool's benefit and does not appear in the output.
Only
.I body
appears at the output.  You can use the special declaration

     include "filename"

to import extra definitions.

The tool translates all case expressions with guards into the appropriate code.

.SH SEE ALSO
.I /usr/share/doc/nowhere/README
.br
.SH AUTHOR
This manual page was written by Aaron Read <amread@nyx.net>. for the
Debian GNU/Linux system (but may be used by others)