diff options
| author | veradec <glitchmill.dyj3d@simplelogin.co> | 2026-09-11 20:42:34 +0530 |
|---|---|---|
| committer | veradec <glitchmill.dyj3d@simplelogin.co> | 2026-09-11 20:42:34 +0530 |
| commit | a060f1983fc5901c1fbf876cb499244d16e64432 (patch) | |
| tree | 39eac83845e7aaf3da090c49062377917b5e2281 /README.md | |
| parent | ef4bce5a1d9c63f9ae8b1eba2796fa99c2d85ab2 (diff) | |
add: readme
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..1a10858 --- /dev/null +++ b/README.md @@ -0,0 +1,34 @@ +# okaml-rs + +okaml-rs is a Rust library for parsing [okaml](github.com/lang-okaml). + +## Installation + +Use the package manager [cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) to install foobar. + +```bash +cargo add okaml +``` + +## Usage + +```rust +use okaml; + +fn main() { + let file_path = "../example/syntax.okml"; + let parsed_tree:Vec<Okml> = Okml::read_from_file(file_path); + println!("{:?}", parsed_ast); +} +``` + +## Contributing + +Pull requests are welcome. For major changes, please open an issue first +to discuss what you would like to change. + +Please make sure to update tests as appropriate. + +## License + +[MIT](https://choosealicense.com/licenses/mit/) |
