Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
melsman committed Jan 10, 2024
1 parent ea5cb1b commit c90cb0a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ added Standard ML API for the library.

## Overview of MLB files

- `lib/github.com/diku-dk/sml-regexp/regexp.mlb`:
- `lib/github.com/diku-dk/sml-tigr/tigr.mlb`:

- **signature** [`TIGR`](lib/github.com/diku-dk/sml-tigr/tigr.sig)
- **structure** `TIGR`
- **structure** `Tigr` : [`TIGR`](lib/github.com/diku-dk/sml-tigr/tigr.sig)

## Use of the package

Expand Down Expand Up @@ -51,6 +51,15 @@ part of your own project sources (vendoring) or you can add the
`sml.pkg` file to your project sources and make the `smlpkg sync`
command part of your build process.

Before compiling a project that uses `tigr.mlb`, the compilation
process must be set up first to generate a dynamic library for TIGR
(the file `libtigr.so`) and then to link with the dynamic library at
program launch. You may use the target `lib` in
[`Makefile`](./lib/github.com/diku-dk/sml-tigr/clib/Makefile) to
generate the `libtigr.so` dynamic library. To see an example of how to
setup MLKit to link with the dynamic library, consult
[`Makefile`](./sml-examples/mandel/Makefile).

## Standard ML Examples

Standard ML examples include the [hello](sml-examples/hello/hello.sml)
Expand Down

0 comments on commit c90cb0a

Please sign in to comment.