https://github.com/diku-dk/sml-cstring
Standard ML library for catenable strings
https://github.com/diku-dk/sml-cstring
smlpkg
Last synced: 4 months ago
JSON representation
Standard ML library for catenable strings
- Host: GitHub
- URL: https://github.com/diku-dk/sml-cstring
- Owner: diku-dk
- License: mit
- Created: 2023-09-21T16:18:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-22T07:09:02.000Z (over 2 years ago)
- Last Synced: 2025-08-24T19:46:08.451Z (10 months ago)
- Topics: smlpkg
- Language: Standard ML
- Homepage:
- Size: 4.88 KB
- Stars: 5
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sml-cstring [](https://github.com/diku-dk/sml-cstring/actions)
Standard ML package for catenable strings.
## Overview of MLB files
- `lib/github.com/diku-dk/sml-cstring/cstring.mlb`:
- **signature** [`CSTRING`](lib/github.com/diku-dk/sml-cstring/cstring.sig)
- **structure** `CString`
## Use of the package
This library is set up to work well with the SML package manager
[smlpkg](https://github.com/diku-dk/smlpkg). To use the package, in
the root of your project directory, execute the command:
```
$ smlpkg add github.com/diku-dk/sml-cstring
```
This command will add a _requirement_ (a line) to the `sml.pkg` file in your
project directory (and create the file, if there is no file `sml.pkg`
already).
To download the library into the directory
`lib/github.com/diku-dk/sml-cstring`, execute the command:
```
$ smlpkg sync
```
You can now reference the `mlb`-file using relative paths from within
your project's `mlb`-files.
Notice that you can choose either to treat the downloaded package as
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.