Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-08-13 | Add possibility of using ':' and '=' as values | ||
2024-07-24 | Trim the key of a property | ||
2024-07-24 | Re-align the lexer code | ||
2024-07-24 | Edit lexer rule to insert spaces after a key | ||
2024-07-24 | Add rules to the lexer to ignore comments | ||
2024-07-24 | Add a comment | ||
2024-07-24 | Ignore single line ending with newline | ||
2024-07-24 | Add a reference | ||
2024-07-24 | Ignore lines with only spaces or tabs | ||
2024-07-24 | Ignore newline lines | ||
In the properties file you can separeta blocks of properties using the newline character. | |||
2024-07-24 | Remove the Lex rule to ignore tabs and spaces | ||
Those characters must be read inside the value. With that rule, I had properties without spaces or tabs, for example: key1=value with a space Became: key1=valuewithaspace So, this commit resolves that issue. | |||
2024-07-24 | Add grammar rules to parse the value of a property | ||
In the lexer, I've done a string duplication, 'cause the value wasn't transfered to the parser. The VALUE token keep a single character, so, in the parser I need to concatenate every single character to a string. | |||
2024-07-24 | Remove the main function from properties.l | ||
The next step is to define the whole grammar inside the parser. | |||
2024-07-22 | Add a first draft of the parser | ||
2024-07-22 | Initial commit | ||