Implement pest CSV demo

https://pest.rs/book/examples/csv.html
This commit is contained in:
Elnu 2023-05-19 12:56:38 -07:00
parent 23dfa06d15
commit 359c46d776
5 changed files with 51 additions and 3 deletions

5
demo/demo.csv Normal file
View file

@ -0,0 +1,5 @@
65279,1179403647,1463895090
3.1415927,2.7182817,1.618034
-40,-273.15
13,42
65537
1 65279,1179403647,1463895090
2 3.1415927,2.7182817,1.618034
3 -40,-273.15
4 13,42
5 65537

View file

@ -1,5 +1,5 @@
use renrs;
fn main() {
renrs::hello();
renrs::parse("demo.csv");
}