Scanf is the C-style of io-stream formatted reading.
This version provides most features of standard scanf C function family.
Scanf.jl
example usage:
julia> using Scanf
julia> r, a, b, c, d = @scanf "42 -infABCDE hello" "%d%f%5c%s" 0 0f0 String ""
(4, 42, -Inf32, "ABCDE", "hello")
Discussions and improvement requests are welcome.
- Documentation should copy relevant part of the C++ standard description?
- argument specifications with
Ref
wrappers maybe not useful, remove?