diff --git a/test1.txt b/test1.txt new file mode 100644 index 0000000..a9a6fba --- /dev/null +++ b/test1.txt @@ -0,0 +1,23 @@ +% This file is a very poorly formatted example file, which contains all sorts of garbage +% This was written to ensure the parser is as robust as possible, and won't crash on malformed input + +nv249hvbwer8oysbvdofuvbfdz wsdfabsv num_processes = 4 +// Gee, this isn't actually a comment is it? +# but most of that is there to distract the program! +[][][][]\\\\\';./` num_resources= 4ibeoifbavdivbkdhbz +% lines beginning with % are comments + % for example: num_processes = 128314 +% The first line containing a list of numbers will be interpreted as resource_counts + 12 ,14,16 , 18 +% this line is missing a comma +1,2 3,4,5,6,7,8 +% this line has an absurd number of spaces after the comma +1, 2, 3, 4, 5, 6, 7,8 +% and this one, before the comma +1 ,2 ,3 ,4 ,5 ,6 ,7,8 +% nevertheless, it keeps on chugging. + 1,2,3,4,5,6,7,8 +1,2,3,4,5,6,7,8 +1,2,3,4,5,6,7,8 +1,2,3,4,5,6,7,8 +1,2,3,4,5,6,7,8 \ No newline at end of file