https://github.com/diku-dk/sml-regexp
Standard ML package for regular expressions
https://github.com/diku-dk/sml-regexp
regular-expressions sml smlpkg standard-ml
Last synced: 7 months ago
JSON representation
Standard ML package for regular expressions
- Host: GitHub
- URL: https://github.com/diku-dk/sml-regexp
- Owner: diku-dk
- License: mit
- Created: 2020-04-07T13:20:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-09-30T19:30:57.000Z (about 2 years ago)
- Last Synced: 2025-01-31T23:57:56.580Z (8 months ago)
- Topics: regular-expressions, sml, smlpkg, standard-ml
- Language: Standard ML
- Size: 35.2 KB
- Stars: 6
- Watchers: 8
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sml-regexp [](https://github.com/diku-dk/sml-regexp/actions)
Standard ML package for regular expressions.
## Overview of MLB files
- `lib/github.com/diku-dk/sml-regexp/regexp.mlb`:
- **signature** [`REG_EXP`](lib/github.com/diku-dk/sml-regexp/REG_EXP.sig)
- **structure** `RegExp`## 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-regexp
```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-regexp`, 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.