Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/matthewelse/og

grep in OCaml
https://github.com/matthewelse/og

Last synced: about 1 month ago
JSON representation

grep in OCaml

Awesome Lists containing this project

README

        

# `og`

`og` is an implementation of `grep` in OCaml. The goal is to write a
high-performance tool in pure, safe OCaml.

## Ideas

- [x] Backtracking NFA implementation.
- [x] Hybrid NFA (lazy DFA) implementation.
- [x] Use SIMD directly from OCaml to remove the need for C stubs.
- [x] Full implementation of Boyer-Moore for string matching.
- [ ] Parallelize directory tree walking.
- [ ] Support for globs.
- [ ] Support for ignoring .gitignore'd files.
- [x] If matching "^{literal}" just do Slice.is_prefix, rather than full string matching.