Skip to content

Commit 6b6992d

Browse files
committed
Added run sample.
1 parent 5e04eb0 commit 6b6992d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,21 @@ Load the `main` namespace:
3232
(use 'blancas.tinypost.main)
3333
```
3434

35-
Use `runf` to run a ps file and get as result the operand stack.
35+
Use `runf` to run a ps file and get the resulting operand stack.
3636

3737
```Clojure
3838
(runf "src/main/resources/fact.ps")
3939
;; 720
4040
;; [3628800]
4141
```
4242

43+
Use `run` to run ps code and get the resulting operand stack.
44+
45+
```Clojure
46+
(run "3 4 +")
47+
;; [7]
48+
```
49+
4350
## To Do
4451

4552
* Make host program data available to ps code.

0 commit comments

Comments
 (0)