// // lexis: Generates human-readable sequences from numeric values using a predefined word list // examples/num2words.rs: Example to generate words using given numbers on the command line // // Copyright (c) 2024 Ali Polatel // // SPDX-License-Identifier: GPL-3.0-or-later use lexis::ToWordSequence; fn main() { for num in std::env::args().skip(1) { let num = num.parse::().expect("invalid number"); println!("{}", num.to_word_sequence()); } }