ct-austin / Ifmt
Licence: other
Inline expression interpolation for Rust.
Stars: ✭ 197
Projects that are alternatives of or similar to Ifmt
L10n Swift
Localization of the application with ability to change language "on the fly" and support for plural form in any language.
Stars: ✭ 177 (-10.15%)
Mutual labels: strings
Guide To Swift Strings Sample Code
Xcode Playground Sample Code for the Flight School Guide to Swift Strings
Stars: ✭ 136 (-30.96%)
Mutual labels: strings
Flare Floss
FLARE Obfuscated String Solver - Automatically extract obfuscated strings from malware.
Stars: ✭ 2,020 (+925.38%)
Mutual labels: strings
Java Ds Algorithms
Data Structures and Algorithms in Java
Stars: ✭ 125 (-36.55%)
Mutual labels: strings
String Similarity
Finds degree of similarity between two strings, based on Dice's Coefficient, which is mostly better than Levenshtein distance.
Stars: ✭ 2,254 (+1044.16%)
Mutual labels: strings
Lightscript
JavaScript, with cleaned-up syntax and a few conveniences.
Stars: ✭ 141 (-28.43%)
Mutual labels: syntax
Udify
A single model that parses Universal Dependencies across 75 languages. Given a sentence, jointly predicts part-of-speech tags, morphology tags, lemmas, and dependency trees.
Stars: ✭ 147 (-25.38%)
Mutual labels: syntax
Elf Strings
elf-strings will programmatically read an ELF binary's string sections within a given binary. This is meant to be much like the strings UNIX utility, however is purpose built for ELF binaries.
Stars: ✭ 127 (-35.53%)
Mutual labels: strings
Vue Highlight.js
📜 Highlight.js syntax highlighter component for Vue.
Stars: ✭ 180 (-8.63%)
Mutual labels: syntax
Stringz
💯 Super fast unicode-aware string manipulation Javascript library
Stars: ✭ 181 (-8.12%)
Mutual labels: strings
Command
A library to build command line applications using PHP
Stars: ✭ 164 (-16.75%)
Mutual labels: syntax
ifmt
A small crate which brings inline string interpolation to rust's standard formatting macros.
Getting started
To use ifmt in your project, add
[dependencies]
ifmt = "0.3.3"
to your Cargo.toml.
Examples
let four = 4;
iprintln!("four plus four is: " four + 4);
// four plus four is: 8
iprintln!("here's a hex number: 0x" 0xb0bi64 * 1321517i64 ;x);
// here's a hex number: 0xdeadbeef
iprintln!("here's a debugging value: " Some(four);?);
// here's a debugging value: Some(4)
Supported macros
format! -> iformat!
print! -> iprint!
println! -> iprintln!
eprint! -> ieprint!
eprintln! -> ieprintln!
write! -> iwrite!
writeln! -> iwriteln!
panic! -> ipanic!
format_args! -> iformat_args!
License
This project is licensed under the MIT license or the Apache 2.0 license at your option.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].