// Copyright (c) 2021 Soni L. //! Iosonism is a command parsing library. It parses commands from strings, in //! contrast with an argument parsing library, which parses arrays of strings. //! //! Iosonism is based on [Brigadier](https://github.com/Mojang/brigadier). // quick overview of brigadier vs iosonism: // // - brigadier.StringReader -> iosonism::strcursor::StringReader + Cursor<&str> // - brigadier.context.StringRange -> Range // - brigadier.suggestion.Suggestion -> iosonism::suggestion::Suggestion; pub mod strcursor; pub mod suggestion; #[cfg(test)] mod tests { #[test] fn it_works() { let result = 2 + 2; assert_eq!(result, 4); } }