2022-04-23 02:08:02 +00:00
|
|
|
% This file is a very poorly formatted example file, which contains all sorts of garbage
|
2022-04-23 09:47:55 +00:00
|
|
|
% This was written to stress-test the parser
|
2022-04-23 02:08:02 +00:00
|
|
|
|
2022-04-23 09:47:55 +00:00
|
|
|
this is horrible to read!
|
|
|
|
nv249hvbwer8oysbvdofuvbfdzwsdfabsvnum_processesbgskjhdfd=lbahfbzjhxbc,4gsv4wf5fewf6, 7, 8
|
|
|
|
^^^^ Believe it or not, this is a num_processes line! ^^^^
|
|
|
|
// Gee, this isn't actually a comment is it? As long as I don't include a number, it won't care.
|
2022-04-23 02:08:02 +00:00
|
|
|
[][][][]\\\\\';./` num_resources= 4ibeoifbavdivbkdhbz
|
2022-04-23 09:47:55 +00:00
|
|
|
% lines containing % are comments
|
|
|
|
for example: num_processes = 128314%
|
|
|
|
% The first non-comment line containing a list of numbers will be interpreted as resource_counts
|
2022-04-23 02:08:02 +00:00
|
|
|
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.
|
2022-04-23 09:47:55 +00:00
|
|
|
~~~1~~~2~~~3~~~4~~~5~~~6~~~7~~~8~~~
|
|
|
|
1a 2b 3c, 4d 5e 6f, 7g 8h
|
|
|
|
^^^^ Testing mixed letters and numbers ^^^^
|
|
|
|
@Xx_1_2_3_4_5_6_7_8_()_xX#
|
|
|
|
words, words, words!
|
|
|
|
|
|
|
|
vvvv testing negative numbers vvvv
|
|
|
|
1,-2,3,4,5,6,-7,8
|
|
|
|
-1,2,3,4,5,6,7,-8
|