Skip to content

alex-daley/fir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌲 fir

Build Status

A single header, C++ 17 library designed to simplify console input parsing.

Please note that fir is currently a work in progress and is likely to be subject to breaking changes!

example

// Copy on write fluent interface.
fir::parse_result<int> choice = fir::console::read_line()
	.trim()
	.parse_int()
	.between(0, 3);

// Implicilty convertible to bool. 
if (choice)
{
    fir::console::write_line("You selected %i!", *choice);
}

About

🌲 A single header, C++ 17 library designed to simplify console input parsing.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published