aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: b30ce715ef2a5b7bff76d7fe0fb4c98caa39c096 (about) (plain)
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
# Infix-to-Prefix

Infix-to-Prefix is an R7RS library for converting infix formula to Prefix expression.

## Usage

### Import `(infix-to-prefix)` library

```prefix
(import (infix-to-prefix))
```

#### `(infix->prefix expr) → <sexpr>`

Returns converted prefix expression if `expr` is a valid infix formula expression; otherwise, it returns`#f`.

#### `(prefix->infix expr) → <sexpr>`

Returns converted infix formula expression if `expr` is a valid prefix expression; otherwise, it returns`#f`.

## Downloading code with git

Use git command.

```shell
git clone https://git.tojo.tokyo/infix-to-prefix.git
```

## License

This library is released under the GPLv3+ License.
See the COPYING file for more details.

## Copyright

Copyright (c) 2024 Masaya Tojo <masaya@tojo.tokyo>