I’ve been playing around with parsing numeric literals and I have some code that I want to test out. I was hoping folks here would have some Ada source files in their repos that use a lot of numeric literals (real and integer, based and non based) either for constants or as part as making some custom numeric types.
If anyone has any good files to look at for potential parsing data, I would appreciate it. Just toss up a link to the file. The only requirement on them is that they were valid Ada files and that they stick to ASCII character subset (for now). Any compiler is fine and any language version is fine, I’m not compiling them (but assuming they correctly compile in their build environment).
I am making my own test cases, but want to hammer my code with as many test cases as I can (it’s also good to test with inputs that I didn’t create to avoid testing bias). I found that parsing numeric literals was more intricate than I had realized based on what the RM allows, so I am looking to hammer out my edge cases.
I’ll be on vacation for the next two weeks or so, so anything after today I’ll try out when I get back.
Thanks in advance!