Add comment parsing

This commit is contained in:
Elnu 2023-05-19 17:54:25 -07:00
parent 359c46d776
commit 46acbce60e
7 changed files with 40 additions and 30 deletions

View file

@ -1,5 +0,0 @@
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

9
demo/demo.rpy Normal file
View file

@ -0,0 +1,9 @@
show black amogus # this is a comment
# this is a full line comment
what the heck
"this is a string with a # comment"
"this is a string over
multiple lines"
this is cool # comment
huh

View file

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