Skip to content

JCPedroza/algorithms-and-data-structures-sml

Repository files navigation

SML Algorithms and Data Structures

license MIT linux build & tests

Algorithms and data structures implemented in Standard ML.

SML Implementations

Online SML

Style and Conventions

Usage

Before running a script, you might need to set its executable permission. In linux you can use chmod:

chmod +x <path-to-script>

PolyML

Visit the PolyML GitHub repository for information about how to install PolyML in your system.

Here are some options:

apt install polyml  # Debian / Ubuntu
brew install polyml # OS X and brew

Running Files

You can run specific sml files, including test files, from the file's directory, with:

poly --script <file-name>.sml

Running All Unit Tests

To run all unit tests, you can use the bash script:

./scripts/bash/test-poly.sh

Or you can use this command in unixy systems:

find . -name "*.spec.sml" -execdir poly --script \{\} +;

Contributing

contributors commit activity issues issues closed issues pr issues pr closed

Code reviews, pull requests, issues, and discussions are always welcome!

This project is intended to be a safe, welcoming space for collaboration. Everyone interacting in this project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

You can see the full contribution guidelines, workflows, and examples in the CONTRIBUTING.md document of this repository, or here online.

License

This repository is available as open source under the terms of the MIT License, that you can see in the LICENSE.md document of this repository.

General SML Resources

Similar Resources


total lines code size repo size