Feb. 26th, 2014

billroper: (Default)
I had just about finished rearranging the parser logic in Java, when I realized that I could substantially improve my life by adding a helper class that keeps track of the current bit of the string that's being parsed, the position of that string relative to the original string (for error messaging), and the operator to apply to the bit of string once the parsing is complete.

So I'm refactoring. The resulting code will be much easier to live with and quite likely much easier to convert to some "standard" parsing system in the future, if that proves to be helpful.

Profile

billroper: (Default)
billroper

July 2025

S M T W T F S
   1 2 3 4 5
6789101112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 6th, 2025 04:53 am
Powered by Dreamwidth Studios